Home
last modified time | relevance | path

Searched refs:toh (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dconn_opt.c284 toh->status = 0; in conn_recvancillary_add()
308 toh->status = 0; in conn_recvancillary_add()
339 toh->status = 0; in conn_recvancillary_add()
372 toh->status = 0; in conn_recvancillary_add()
399 toh->status = 0; in conn_recvancillary_add()
420 toh->status = 0; in conn_recvancillary_add()
441 toh->status = 0; in conn_recvancillary_add()
454 toh->status = 0; in conn_recvancillary_add()
561 ancil_buf = (uchar_t *)toh + toh->len; in conn_recvancillary_add()
579 ancil_buf = (uchar_t *)toh + toh->len; in conn_recvancillary_add()
[all …]
H A Dicmp.c1325 struct T_opthdr *toh; in icmp_icmp_error_ipv6() local
1366 toh = (struct T_opthdr *)&sin6[1]; in icmp_icmp_error_ipv6()
1367 toh->level = IPPROTO_IPV6; in icmp_icmp_error_ipv6()
1368 toh->name = IPV6_PATHMTU; in icmp_icmp_error_ipv6()
1369 toh->len = opt_length; in icmp_icmp_error_ipv6()
1370 toh->status = 0; in icmp_icmp_error_ipv6()
1372 mtuinfo = (struct ip6_mtuinfo *)&toh[1]; in icmp_icmp_error_ipv6()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c5279 toh->len = sizeof (*toh) + in tcp_input_add_ancillary()
5281 toh->status = 0; in tcp_input_add_ancillary()
5284 optptr = (uchar_t *)toh + toh->len; in tcp_input_add_ancillary()
5302 toh->len = sizeof (*toh) + sizeof (*pkti); in tcp_input_add_ancillary()
5303 toh->status = 0; in tcp_input_add_ancillary()
5318 toh->len = sizeof (*toh) + sizeof (uint_t); in tcp_input_add_ancillary()
5332 toh->len = sizeof (*toh) + sizeof (uint_t); in tcp_input_add_ancillary()
5345 toh->len = sizeof (*toh) + ipp->ipp_hopoptslen; in tcp_input_add_ancillary()
5360 toh->len = sizeof (*toh) + ipp->ipp_rthdrdstoptslen; in tcp_input_add_ancillary()
5376 toh->len = sizeof (*toh) + ipp->ipp_rthdrlen; in tcp_input_add_ancillary()
[all …]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c2453 toh.status = 0; in sotpi_connect()
2462 soappendmsg(mp, &toh, sizeof (toh)); in sotpi_connect()
2759 toh.status = 0; in so_unix_close()
2772 &toh, sizeof (toh), 0, _ALLOC_SLEEP, CRED()); in so_unix_close()
2828 soappendmsg(mp, &toh, sizeof (toh)); in so_unix_close()
2851 soappendmsg(mp, &toh, sizeof (toh)); in so_unix_close()
3608 toh.status = 0; in sosend_dgramcmsg()
3609 soappendmsg(mp, &toh, sizeof (toh)); in sosend_dgramcmsg()
3622 soappendmsg(mp, &toh, sizeof (toh)); in sosend_dgramcmsg()
3750 soappendmsg(mp, &toh, sizeof (toh)); in sosend_svccmsg()
[all …]
H A Dsocksubr.c1094 struct T_opthdr toh; in so_cmsg2opt() local
1118 toh.level = cmsg->cmsg_level; in so_cmsg2opt()
1119 toh.name = cmsg->cmsg_type; in so_cmsg2opt()
1120 toh.len = len + (t_uscalar_t)sizeof (struct T_opthdr); in so_cmsg2opt()
1121 toh.status = 0; in so_cmsg2opt()
1123 soappendmsg(mp, &toh, sizeof (toh)); in so_cmsg2opt()
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_clts.c340 struct T_opthdr *toh = (struct T_opthdr *)dstopt; in svc_clts_krecv() local
342 if (toh->level == IPPROTO_IPV6 && toh->status == 0 && in svc_clts_krecv()
343 toh->name == IPV6_PKTINFO) { in svc_clts_krecv()
352 } else if (toh->level == IPPROTO_IP && toh->status == 0 && in svc_clts_krecv()
353 toh->name == IP_RECVDSTADDR) { in svc_clts_krecv()
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c1191 struct T_opthdr *toh; in udp_icmp_error_ipv6() local
1232 toh = (struct T_opthdr *)&sin6[1]; in udp_icmp_error_ipv6()
1233 toh->level = IPPROTO_IPV6; in udp_icmp_error_ipv6()
1234 toh->name = IPV6_PATHMTU; in udp_icmp_error_ipv6()
1235 toh->len = opt_length; in udp_icmp_error_ipv6()
1236 toh->status = 0; in udp_icmp_error_ipv6()
1238 mtuinfo = (struct ip6_mtuinfo *)&toh[1]; in udp_icmp_error_ipv6()