Searched refs:ip_off (Results 1 – 16 of 16) sorted by relevance
78 ip->ip_off &= IP_DF; in ip_output()99 ip->ip_off = htons((u_int16_t)ip->ip_off); in ip_output()111 if (ip->ip_off & IP_DF) { in ip_output()152 mhip->ip_off = ((off - hlen) >> 3) + (ip->ip_off & ~IP_MF); in ip_output()153 if (ip->ip_off & IP_MF) in ip_output()154 mhip->ip_off |= IP_MF; in ip_output()158 mhip->ip_off |= IP_MF; in ip_output()166 mhip->ip_off = htons((u_int16_t)mhip->ip_off); in ip_output()180 ip->ip_off = htons((u_int16_t)(ip->ip_off | IP_MF)); in ip_output()
123 NTOHS(ip->ip_off); in ip_input()185 if (ip->ip_off &~ IP_DF) { in ip_input()209 if (ip->ip_off & IP_MF) in ip_input()214 ip->ip_off <<= 3; in ip_input()221 if (ip->ip_tos & 1 || ip->ip_off) { in ip_input()311 if (q->ipf_off > ip->ip_off) in ip_reass()321 i = pq->ipf_off + pq->ipf_len - ip->ip_off; in ip_reass()326 ip->ip_off += i; in ip_reass()336 ip->ip_off + ip->ip_len > q->ipf_off) { in ip_reass()337 i = (ip->ip_off + ip->ip_len) - q->ipf_off; in ip_reass()
88 u_int16_t ip_off; /* fragment offset field */ member236 #define ipf_off ipf_ip.ip_off
230 if(ip->ip_off & IP_OFFMASK) goto end_error; /* Only reply to fragment 0 */ in icmp_error()278 HTONS(icp->icmp_ip.ip_off); in icmp_error()
86 u_int16_t ip_off; /* fragment offset field */ member234 #define ipf_off ipf_ip.ip_off
228 if(ip->ip_off & IP_OFFMASK) goto end_error; /* Only reply to fragment 0 */ in icmp_error()276 HTONS(icp->icmp_ip.ip_off); in icmp_error()
57 u_int16_t ip_off; /* fragment offset field */ member
432 if (EXTRACT_16BITS(&ip->ip_off) & IP_MF) in esp_print()
618 ipds->off = EXTRACT_16BITS(&ipds->ip->ip_off); in ip_print()
161 if (pip->ip_p == IPPROTO_TCP && (ntohs(pip->ip_off) & IP_OFFMASK) == 0 && in tcpmss_Check()
177 if ((ip->ip_off & htons(0x3fff)) || m->m_len < 40) { in sl_compress_tcp()179 ip->ip_off, (unsigned long)m->m_len); in sl_compress_tcp()
257 len = ntohs(pip->ip_off) & IP_OFFMASK; /* fragment offset */ in FilterCheck()605 frag = ntohs(pip->ip_off) & IP_OFFMASK; in PacketCheck()
210 ip.ip_off = htons(0x4000); /* don't fragment */ in send_via_bpf()
800 packet.ip.ip_off = 0; in valid_udp_packet()