Home
last modified time | relevance | path

Searched refs:optsize (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/lib/libwrap/
H A Dfix_options.c48 int optsize = sizeof(optbuf), ipproto; local
60 if (getsockopt(fd, ipproto, IP_OPTIONS, (char *) optbuf, &optsize) == 0
61 && optsize != 0) {
88 for (cp = optbuf + ADDR_LEN; cp < optbuf + optsize; cp += optlen) {
108 for (cp = optbuf; optsize > 0; cp++, optsize--, lp += 3)
113 if (setsockopt(fd, ipproto, IP_OPTIONS, (char *) 0, optsize) != 0) {
/titanic_41/usr/src/lib/libnsl/nsl/
H A Dt_alloc.c69 t_scalar_t optsize; in _tx_alloc() local
134 optsize = info.OPT_size + in _tx_alloc()
137 optsize = info.OPT_size; in _tx_alloc()
138 if (_alloc_buf(&p.call->opt, optsize, in _tx_alloc()
158 optsize = info.OPT_size + in _tx_alloc()
161 optsize = info.OPT_size; in _tx_alloc()
162 if (_alloc_buf(&p.opt->opt, optsize, in _tx_alloc()
191 optsize = info.OPT_size + in _tx_alloc()
194 optsize = info.OPT_size; in _tx_alloc()
195 if (_alloc_buf(&p.udata->opt, optsize, in _tx_alloc()
[all …]
H A D_utility.c508 t_scalar_t optsize; in _t_alloc_bufs() local
533 optsize = tsap->OPT_size + TX_XTI_LEVEL_MAX_OPTBUF; in _t_alloc_bufs()
535 optsize = tsap->OPT_size; in _t_alloc_bufs()
536 osize = _t_setsize(optsize, B_TRUE); in _t_alloc_bufs()
/titanic_41/usr/src/common/net/dhcp/
H A Ddhcpinfo.c53 dhcp_getinfo_pl(PKT_LIST *pl, uchar_t optcat, uint16_t code, uint16_t optsize, in dhcp_getinfo_pl() argument
91 if (code + optsize > sizeof (PKT)) in dhcp_getinfo_pl()
94 if (*vallenp < optsize) { in dhcp_getinfo_pl()
95 *vallenp = optsize; in dhcp_getinfo_pl()
99 *vallenp = optsize; in dhcp_getinfo_pl()
100 bcopy((caddr_t)pl->pkt + code, value, optsize); in dhcp_getinfo_pl()
/titanic_41/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c88 int optsize = 0; in main() local
122 optsize = strlen(optbuf); in main()
126 optsize, optbuf); in main()
161 if (optsize) in main()
167 if (optsize) { in main()
198 if (optsize && !qflg) in main()
/titanic_41/usr/src/cmd/lp/filter/postscript/font/devpost/charlib/
H A D1425 /optsize ptsize def
29 optsize 2 div dup R exch R f
34 optsize R f
39 optsize ofont f
H A D3425 /optsize ptsize def
29 optsize 2 div dup R exch R f
34 optsize R f
39 optsize ofont f
H A D1225 /optsize ptsize def
29 optsize 2 div dup R exch R f
34 optsize R f
39 optsize ofont f
/titanic_41/usr/src/cmd/fs.d/udfs/mount/
H A Dmount.c50 static int optsize = 0; variable
98 optsize = strlen(optbuf); in main()
123 if (optsize > 0) { in main()
215 if (optsize && !qflag) in do_mount()
/titanic_41/usr/src/cmd/fs.d/lofs/mount/
H A Dmount.c55 static int optsize = 0; variable
97 optsize = strlen(optbuf); in main()
135 if (optsize && !qflg) in main()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c105 int optsize = ROUTE_SIZE; in set_IPv4_options() local
118 if (optsize < req_size) { in set_IPv4_options()
134 optsize -= srp->ipsr_len; in set_IPv4_options()
139 if (optsize < IPOPT_MINOFF) { in set_IPv4_options()
148 tsp->ipt_len = optsize; in set_IPv4_options()
161 if (optsize < req_size) { in set_IPv4_options()
177 optsize -= tsp->ipt_len; in set_IPv4_options()
182 if (optsize < IPOPT_MINOFF) { in set_IPv4_options()
195 srp->ipsr_len = optsize; in set_IPv4_options()
198 optsize -= srp->ipsr_len; in set_IPv4_options()
[all …]
/titanic_41/usr/src/cmd/fs.d/ctfs/
H A Dmount.c50 static int optsize = 0; variable
112 optsize = strlen(optbuf); in main()
152 if (optsize && !q_flag) in main()
/titanic_41/usr/src/cmd/fs.d/objfs/
H A Dmount.c50 static int optsize = 0; variable
112 optsize = strlen(optbuf); in main()
152 if (optsize && !q_flag) in main()
/titanic_41/usr/src/cmd/fs.d/sharefs/
H A Dmount.c50 static int optsize = 0; variable
112 optsize = strlen(optbuf); in main()
152 if (optsize && !q_flag) in main()
/titanic_41/usr/src/cmd/fs.d/fd/
H A Dmount.c50 static int optsize = 0; variable
113 optsize = strlen(optbuf); in main()
213 if (optsize && !qflg) in do_mount()
/titanic_41/usr/src/cmd/fs.d/mntfs/
H A Dmount.c55 static int optsize = 0; variable
110 optsize = strlen(optbuf); in main()
207 if (optsize && !qflg) in do_mount()
/titanic_41/usr/src/cmd/fs.d/proc/
H A Dmount.c55 static int optsize = 0; variable
113 optsize = strlen(optbuf); in main()
214 if (optsize && !qflg) in do_mount()
/titanic_41/usr/src/cmd/fs.d/pcfs/mount/
H A Dmount.c47 static int optsize = 0; variable
214 optsize = strlen(optbuf); in main()
248 if (optsize && !qflg) in main()
/titanic_41/usr/src/lib/libwanboot/common/
H A Dbootinfo_aux.c515 bi_get_dhcp_info(uchar_t optcat, uint16_t optcode, uint16_t optsize, in bi_get_dhcp_info() argument
519 optcat, optcode, optsize, valbuf, vallenp)); in bi_get_dhcp_info()
/titanic_41/usr/src/uts/common/inet/
H A Doptcom.c1332 t_scalar_t optsize; in do_opt_check_or_negotiate() local
1422 ((optsize = (*deffn)(q, reqopt->level, in do_opt_check_or_negotiate()
1430 optsize = optd->opdes_size; in do_opt_check_or_negotiate()
1436 reqopt->level, optd->opdes_name, optsize, in do_opt_check_or_negotiate()
/titanic_41/usr/src/stand/lib/inet/
H A Ddhcpv4.c1238 dhcp_getinfo(uchar_t optcat, uint16_t code, uint16_t optsize, void *value, in dhcp_getinfo() argument
1244 optsize, value, &len)) { in dhcp_getinfo()
/titanic_41/usr/src/cmd/syslogd/
H A Dsyslogd.c3793 size_t optsize, bsize = 256 * 1024; in set_udp_buffer() local
3800 optsize = sizeof (struct opthdr) + sizeof (int); in set_udp_buffer()
3801 if ((opt = malloc(optsize)) == NULL) { in set_udp_buffer()
3811 req.opt.len = optsize; in set_udp_buffer()
3815 resp.opt.maxlen = optsize; in set_udp_buffer()