Home
last modified time | relevance | path

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

/titanic_44/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_44/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c5014 struct T_opthdr *toh; in tcp_input_add_ancillary() local
5128 toh = (struct T_opthdr *)optptr; in tcp_input_add_ancillary()
5129 toh->level = IPPROTO_IPV6; in tcp_input_add_ancillary()
5130 toh->name = IPV6_PKTINFO; in tcp_input_add_ancillary()
5131 toh->len = sizeof (*toh) + sizeof (*pkti); in tcp_input_add_ancillary()
5132 toh->status = 0; in tcp_input_add_ancillary()
5133 optptr += sizeof (*toh); in tcp_input_add_ancillary()
5144 toh = (struct T_opthdr *)optptr; in tcp_input_add_ancillary()
5145 toh->level = IPPROTO_IPV6; in tcp_input_add_ancillary()
5146 toh->name = IPV6_HOPLIMIT; in tcp_input_add_ancillary()
[all …]
/titanic_44/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_44/usr/src/uts/common/rpc/
H A Dsvc_clts.c333 struct T_opthdr *toh = (struct T_opthdr *)dstopt; in svc_clts_krecv() local
335 if (toh->level == IPPROTO_IPV6 && toh->status == 0 && in svc_clts_krecv()
336 toh->name == IPV6_PKTINFO) { in svc_clts_krecv()
345 } else if (toh->level == IPPROTO_IP && toh->status == 0 && in svc_clts_krecv()
346 toh->name == IP_RECVDSTADDR) { in svc_clts_krecv()
/titanic_44/usr/src/uts/common/inet/udp/
H A Dudp.c1108 struct T_opthdr *toh; in udp_icmp_error_ipv6() local
1149 toh = (struct T_opthdr *)&sin6[1]; in udp_icmp_error_ipv6()
1150 toh->level = IPPROTO_IPV6; in udp_icmp_error_ipv6()
1151 toh->name = IPV6_PATHMTU; in udp_icmp_error_ipv6()
1152 toh->len = opt_length; in udp_icmp_error_ipv6()
1153 toh->status = 0; in udp_icmp_error_ipv6()
1155 mtuinfo = (struct ip6_mtuinfo *)&toh[1]; in udp_icmp_error_ipv6()