Lines Matching refs:ntohs
223 ip_plength = ntohs(I->ipha_length) -
232 ip_plength = ntohs(I->ip6_ctlun.ip6_un1.ip6_un1_plen);
241 ntohs(((ipha_t *)I)->ipha_length) -
244 ntohs(((ip6_t *)I)->ip6_ctlun.ip6_un1.ip6_un1_plen) : 0) : 0;
272 ntohs(((ipha_t *)I)->ipha_length) -
275 ntohs(((ip6_t *)I)->ip6_ctlun.ip6_un1.ip6_un1_plen) :
311 ipv4_length = I != NULL ? ntohs(I->ipha_length) : 0;
312 ipv4_ident = I != NULL ? ntohs(I->ipha_ident) : 0;
313 ipv4_flags = I != NULL ? ntohs(I->ipha_fragment_offset_and_flags) >>
315 ipv4_offset = I != NULL ? ntohs(I->ipha_fragment_offset_and_flags) &
335 ipv4_checksum = I != NULL ? ntohs(I->ipha_hdr_checksum) : 0;
350 ipv6_plen = I != NULL ? ntohs(I->ip6_ctlun.ip6_un1.ip6_un1_plen) : 0;