Home
last modified time | relevance | path

Searched refs:max_optbuf_len (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/uts/common/inet/
H A Doptcom.c188 t_uscalar_t max_optbuf_len; in svr4_optcom_req() local
239 max_optbuf_len = optcom_max_optbuf_len(opt_arr, in svr4_optcom_req()
241 mp = allocb(max_optbuf_len, BPRI_MED); in svr4_optcom_req()
250 bzero((char *)toa, max_optbuf_len); in svr4_optcom_req()
401 max_optbuf_len = optcom_max_optbuf_len(opt_arr, in svr4_optcom_req()
403 mp1 = allocb_tmpl(max_optbuf_len, mp); in svr4_optcom_req()
1797 t_uscalar_t max_optbuf_len = sizeof (struct T_info_ack); in optcom_max_optbuf_len() local
1801 max_optbuf_len += (t_uscalar_t)sizeof (struct T_opthdr) + in optcom_max_optbuf_len()
1804 return (max_optbuf_len); in optcom_max_optbuf_len()
1821 t_uscalar_t max_optbuf_len = sizeof (struct T_info_ack); in optcom_max_optsize() local
[all …]
/titanic_50/usr/src/uts/common/inet/tcp/
H A Dtcp_socket.c378 t_uscalar_t max_optbuf_len; in tcp_getsockopt() local
384 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in tcp_getsockopt()
395 optvalp_buf = kmem_alloc(max_optbuf_len, KM_SLEEP); in tcp_getsockopt()
399 kmem_free(optvalp_buf, max_optbuf_len); in tcp_getsockopt()
407 kmem_free(optvalp_buf, max_optbuf_len); in tcp_getsockopt()
419 kmem_free(optvalp_buf, max_optbuf_len); in tcp_getsockopt()
/titanic_50/usr/src/uts/common/inet/ip/
H A Drts.c1355 t_uscalar_t max_optbuf_len; in rts_getsockopt() local
1359 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in rts_getsockopt()
1369 optvalp_buf = kmem_alloc(max_optbuf_len, KM_SLEEP); in rts_getsockopt()
1374 kmem_free(optvalp_buf, max_optbuf_len); in rts_getsockopt()
1385 kmem_free(optvalp_buf, max_optbuf_len); in rts_getsockopt()
H A Dicmp.c5488 t_uscalar_t max_optbuf_len; in rawip_getsockopt() local
5495 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in rawip_getsockopt()
5507 optvalp_buf = kmem_alloc(max_optbuf_len, KM_SLEEP); in rawip_getsockopt()
5510 kmem_free(optvalp_buf, max_optbuf_len); in rawip_getsockopt()
5522 kmem_free(optvalp_buf, max_optbuf_len); in rawip_getsockopt()
/titanic_50/usr/src/uts/common/inet/udp/
H A Dudp.c6470 t_uscalar_t max_optbuf_len; in udp_getsockopt() local
6477 error = proto_opt_check(level, option_name, *optlen, &max_optbuf_len, in udp_getsockopt()
6487 optvalp_buf = kmem_alloc(max_optbuf_len, KM_SLEEP); in udp_getsockopt()
6490 kmem_free(optvalp_buf, max_optbuf_len); in udp_getsockopt()
6502 kmem_free(optvalp_buf, max_optbuf_len); in udp_getsockopt()