Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/inet/ip/
H A Dconn_opt.c264 struct T_opthdr *toh; in conn_recvancillary_add() local
267 toh = (struct T_opthdr *)ancil_buf; in conn_recvancillary_add()
268 toh->level = IPPROTO_IP; in conn_recvancillary_add()
269 toh->name = IP_RECVDSTADDR; in conn_recvancillary_add()
270 toh->len = sizeof (struct T_opthdr) + sizeof (ipaddr_t); in conn_recvancillary_add()
271 toh->status = 0; in conn_recvancillary_add()
276 ancil_size -= toh->len; in conn_recvancillary_add()
286 struct T_opthdr *toh; in conn_recvancillary_add() local
291 toh = (struct T_opthdr *)ancil_buf; in conn_recvancillary_add()
292 toh->level = IPPROTO_IP; in conn_recvancillary_add()
[all …]
H A Dicmp.c1318 struct T_opthdr *toh; in icmp_icmp_error_ipv6() local
1359 toh = (struct T_opthdr *)&sin6[1]; in icmp_icmp_error_ipv6()
1360 toh->level = IPPROTO_IPV6; in icmp_icmp_error_ipv6()
1361 toh->name = IPV6_PATHMTU; in icmp_icmp_error_ipv6()
1362 toh->len = opt_length; in icmp_icmp_error_ipv6()
1363 toh->status = 0; in icmp_icmp_error_ipv6()
1365 mtuinfo = (struct ip6_mtuinfo *)&toh[1]; in icmp_icmp_error_ipv6()
/titanic_50/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c4985 struct T_opthdr *toh; in tcp_input_add_ancillary() local
5099 toh = (struct T_opthdr *)optptr; in tcp_input_add_ancillary()
5100 toh->level = IPPROTO_IPV6; in tcp_input_add_ancillary()
5101 toh->name = IPV6_PKTINFO; in tcp_input_add_ancillary()
5102 toh->len = sizeof (*toh) + sizeof (*pkti); in tcp_input_add_ancillary()
5103 toh->status = 0; in tcp_input_add_ancillary()
5104 optptr += sizeof (*toh); in tcp_input_add_ancillary()
5115 toh = (struct T_opthdr *)optptr; in tcp_input_add_ancillary()
5116 toh->level = IPPROTO_IPV6; in tcp_input_add_ancillary()
5117 toh->name = IPV6_HOPLIMIT; in tcp_input_add_ancillary()
[all …]
/titanic_50/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c2508 struct T_opthdr toh; in sotpi_connect() local
2510 toh.level = SOL_SOCKET; in sotpi_connect()
2511 toh.name = SO_SRCADDR; in sotpi_connect()
2512 toh.len = (t_uscalar_t)(srclen + sizeof (struct T_opthdr)); in sotpi_connect()
2513 toh.status = 0; in sotpi_connect()
2515 (t_scalar_t)(sizeof (toh) + _TPI_ALIGN_TOPT(srclen)); in sotpi_connect()
2522 soappendmsg(mp, &toh, sizeof (toh)); in sotpi_connect()
2800 struct T_opthdr toh; in so_unix_close() local
2815 toh.level = SOL_SOCKET; in so_unix_close()
2816 toh.name = SO_UNIX_CLOSE; in so_unix_close()
[all …]
H A Dsocksubr.c1067 struct T_opthdr toh; in so_cmsg2opt() local
1091 toh.level = cmsg->cmsg_level; in so_cmsg2opt()
1092 toh.name = cmsg->cmsg_type; in so_cmsg2opt()
1093 toh.len = len + (t_uscalar_t)sizeof (struct T_opthdr); in so_cmsg2opt()
1094 toh.status = 0; in so_cmsg2opt()
1096 soappendmsg(mp, &toh, sizeof (toh)); in so_cmsg2opt()
/titanic_50/usr/src/uts/common/rpc/
H A Dsvc_clts.c335 struct T_opthdr *toh = (struct T_opthdr *)dstopt; in svc_clts_krecv() local
337 if (toh->level == IPPROTO_IPV6 && toh->status == 0 && in svc_clts_krecv()
338 toh->name == IPV6_PKTINFO) { in svc_clts_krecv()
347 } else if (toh->level == IPPROTO_IP && toh->status == 0 && in svc_clts_krecv()
348 toh->name == IP_RECVDSTADDR) { in svc_clts_krecv()
/titanic_50/usr/src/uts/common/inet/udp/
H A Dudp.c1174 struct T_opthdr *toh; in udp_icmp_error_ipv6() local
1215 toh = (struct T_opthdr *)&sin6[1]; in udp_icmp_error_ipv6()
1216 toh->level = IPPROTO_IPV6; in udp_icmp_error_ipv6()
1217 toh->name = IPV6_PATHMTU; in udp_icmp_error_ipv6()
1218 toh->len = opt_length; in udp_icmp_error_ipv6()
1219 toh->status = 0; in udp_icmp_error_ipv6()
1221 mtuinfo = (struct ip6_mtuinfo *)&toh[1]; in udp_icmp_error_ipv6()