Lines Matching refs:toh
4985 struct T_opthdr *toh;
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->level = IPPROTO_IPV6;
5117 toh->name = IPV6_HOPLIMIT;
5118 toh->len = sizeof (*toh) + sizeof (uint_t);
5119 toh->status = 0;
5120 optptr += sizeof (*toh);
5129 toh = (struct T_opthdr *)optptr;
5130 toh->level = IPPROTO_IPV6;
5131 toh->name = IPV6_TCLASS;
5132 toh->len = sizeof (*toh) + sizeof (uint_t);
5133 toh->status = 0;
5134 optptr += sizeof (*toh);
5142 toh = (struct T_opthdr *)optptr;
5143 toh->level = IPPROTO_IPV6;
5144 toh->name = IPV6_HOPOPTS;
5145 toh->len = sizeof (*toh) + ipp->ipp_hopoptslen;
5146 toh->status = 0;
5147 optptr += sizeof (*toh);
5157 toh = (struct T_opthdr *)optptr;
5158 toh->level = IPPROTO_IPV6;
5159 toh->name = IPV6_RTHDRDSTOPTS;
5160 toh->len = sizeof (*toh) + ipp->ipp_rthdrdstoptslen;
5161 toh->status = 0;
5162 optptr += sizeof (*toh);
5173 toh = (struct T_opthdr *)optptr;
5174 toh->level = IPPROTO_IPV6;
5175 toh->name = IPV6_RTHDR;
5176 toh->len = sizeof (*toh) + ipp->ipp_rthdrlen;
5177 toh->status = 0;
5178 optptr += sizeof (*toh);
5188 toh = (struct T_opthdr *)optptr;
5189 toh->level = IPPROTO_IPV6;
5190 toh->name = IPV6_DSTOPTS;
5191 toh->len = sizeof (*toh) + ipp->ipp_dstoptslen;
5192 toh->status = 0;
5193 optptr += sizeof (*toh);