Searched refs:max_optbuf_len (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/uts/common/inet/ |
H A D | optcom.c | 188 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 D | tcp_socket.c | 378 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 D | rts.c | 1355 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 D | icmp.c | 5488 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 D | udp.c | 6470 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()
|