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()
1147 NTOHS(ip->ip_off); in ip_input_first_pass()
1235 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input_first_pass()
1547 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input_second_pass()
1792 ip->ip_off = ntohs(ip->ip_off); in ip_input()
1814 ip->ip_p, ip->ip_off, ip->ip_len); in ip_input()
1912 NTOHS(ip->ip_off); in ip_input()
2042 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input()
2272 HTONS(ip->ip_off); in ip_reass()
2284 NTOHS(ip->ip_off); in ip_reass()
2312 if (ip->ip_off & IP_MF) { in ip_reass()
2334 ip->ip_off = (u_short)(ip->ip_off << 3); in ip_reass()
2403 if (GETIP(q)->ip_off > ip->ip_off) { in ip_reass()
2418 i = GETIP(p)->ip_off + GETIP(p)->ip_len - ip->ip_off; in ip_reass()
2425 ip->ip_off += i; in ip_reass()
2439 for (; q != NULL && ip->ip_off + ip->ip_len > GETIP(q)->ip_off; in ip_reass()
2441 i = (ip->ip_off + ip->ip_len) - GETIP(q)->ip_off; in ip_reass()
2444 GETIP(q)->ip_off += i; in ip_reass()
2481 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()