Searched defs:toh (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dconn_opt.c264 struct T_opthdr *toh; local
267 toh = (struct T_opthdr *)ancil_buf;
268 toh->level = IPPROTO_IP;
269 toh->name = IP_RECVDSTADDR;
270 toh->len = sizeof (struct T_opthdr) + sizeof (ipaddr_t);
271 toh->status = 0;
276 ancil_size -= toh->len;
286 struct T_opthdr *toh; local
291 toh = (struct T_opthdr *)ancil_buf;
292 toh
320 struct T_opthdr *toh; local
336 struct T_opthdr *toh; local
379 struct T_opthdr *toh; local
400 struct T_opthdr *toh; local
422 struct T_opthdr *toh; local
435 struct T_opthdr *toh; local
453 struct T_opthdr *toh; local
475 struct T_opthdr *toh; local
492 struct T_opthdr *toh; local
507 struct T_opthdr *toh; local
521 struct T_opthdr *toh; local
535 struct T_opthdr *toh; local
562 struct T_opthdr *toh; local
[all...]
H A Dicmp.c1318 struct T_opthdr *toh; local
1359 toh = (struct T_opthdr *)&sin6[1];
1360 toh->level = IPPROTO_IPV6;
1361 toh->name = IPV6_PATHMTU;
1362 toh->len = opt_length;
1363 toh->status = 0;
1365 mtuinfo = (struct ip6_mtuinfo *)&toh[1];
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_clts.c335 struct T_opthdr *toh = (struct T_opthdr *)dstopt; local
337 if (toh->level == IPPROTO_IPV6 && toh->status == 0 &&
338 toh->name == IPV6_PKTINFO) {
347 } else if (toh->level == IPPROTO_IP && toh->status == 0 &&
348 toh->name == IP_RECVDSTADDR) {
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksubr.c1067 struct T_opthdr toh; local
1091 toh.level = cmsg->cmsg_level;
1092 toh.name = cmsg->cmsg_type;
1093 toh.len = len + (t_uscalar_t)sizeof (struct T_opthdr);
1094 toh.status = 0;
1096 soappendmsg(mp, &toh, sizeof (toh));
H A Dsocktpi.c2517 struct T_opthdr toh; local
2519 toh.level = SOL_SOCKET;
2520 toh.name = SO_SRCADDR;
2521 toh.len = (t_uscalar_t)(srclen + sizeof (struct T_opthdr));
2522 toh.status = 0;
2524 (t_scalar_t)(sizeof (toh) + _TPI_ALIGN_TOPT(srclen));
2531 soappendmsg(mp, &toh, sizeof (toh));
2809 struct T_opthdr toh; local
2824 toh
3665 struct T_opthdr toh; local
3849 struct T_opthdr toh; local
4077 struct T_opthdr toh; local
[all...]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c4985 struct T_opthdr *toh; local
5099 toh = (struct T_opthdr *)optptr;
5100 toh->level = IPPROTO_IPV6;
5101 toh->name = IPV6_PKTINFO;
5102 toh->len = sizeof (*toh) + sizeof (*pkti);
5103 toh->status = 0;
5104 optptr += sizeof (*toh);
5115 toh = (struct T_opthdr *)optptr;
5116 toh
[all...]
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c1108 struct T_opthdr *toh; local
1149 toh = (struct T_opthdr *)&sin6[1];
1150 toh->level = IPPROTO_IPV6;
1151 toh->name = IPV6_PATHMTU;
1152 toh->len = opt_length;
1153 toh->status = 0;
1155 mtuinfo = (struct ip6_mtuinfo *)&toh[1];

Completed in 112 milliseconds