Lines Matching refs:ip_off
651 ip->ip_off = htons(ip->ip_off); in ip_proto_dispatch_in()
679 ip->ip_off = ntohs(ip->ip_off); in ip_proto_dispatch_in()
899 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) == 0 && in ip_input_adjust()
1017 ip->ip_off = ntohs(ip->ip_off); in ip_input_first_pass()
1044 ip->ip_p, ip->ip_off, ip->ip_len); in ip_input_first_pass()
1143 NTOHS(ip->ip_off); in ip_input_first_pass()
1230 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input_first_pass()
1542 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input_second_pass()
1787 ip->ip_off = ntohs(ip->ip_off); in ip_input()
1809 ip->ip_p, ip->ip_off, ip->ip_len); in ip_input()
1907 NTOHS(ip->ip_off); in ip_input()
2037 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input()
2267 HTONS(ip->ip_off); in ip_reass()
2279 NTOHS(ip->ip_off); in ip_reass()
2307 if (ip->ip_off & IP_MF) { in ip_reass()
2329 ip->ip_off <<= 3; in ip_reass()
2398 if (GETIP(q)->ip_off > ip->ip_off) { in ip_reass()
2413 i = GETIP(p)->ip_off + GETIP(p)->ip_len - ip->ip_off; in ip_reass()
2420 ip->ip_off += i; in ip_reass()
2434 for (; q != NULL && ip->ip_off + ip->ip_len > GETIP(q)->ip_off; in ip_reass()
2436 i = (ip->ip_off + ip->ip_len) - GETIP(q)->ip_off; in ip_reass()
2439 GETIP(q)->ip_off += i; in ip_reass()
2476 if (GETIP(q)->ip_off != next) { in ip_reass()
3287 HTONS(ip->ip_off); in ip_stripoptions()
3291 NTOHS(ip->ip_off); in ip_stripoptions()