Home
last modified time | relevance | path

Searched refs:IP_OFFMASK (Results 1 – 13 of 13) sorted by relevance

/openbsd-src/sys/netinet/
H A Dip.h63 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
H A Dip_ipip.c418 ipo->ip_off &= ~(IP_DF | IP_MF | IP_OFFMASK); in ipip_output()
H A Dip_icmp.c176 if (oip->ip_off & htons(IP_OFFMASK)) in icmp_do_error()
H A Dtcp_output.c1225 if (ISSET(ip->ip_off, htons(IP_OFFMASK | IP_MF)) || in tcp_chopper()
H A Dip_input.c648 if (ISSET(ip->ip_off, htons(IP_OFFMASK | IP_MF))) { in ip_fragcheck()
/openbsd-src/sbin/dhcpleased/
H A Dbpf.c171 dhcp_bpf_wfilter[7].k = htons(IP_MF|IP_OFFMASK); in get_bpf_sock()
/openbsd-src/usr.sbin/npppd/npppd/
H A Dnpppd_subr.c316 if ((ip_off & IP_MF) || ((ip_off & IP_OFFMASK) != 0)) in ip_is_idle_packet()
496 (ip_off & IP_OFFMASK) != 0) in adjust_tcp_mss()
/openbsd-src/sys/net/
H A Dpf_norm.c799 frent->fe_off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; in pf_reassemble()
833 ip->ip_off &= ~(IP_MF|IP_OFFMASK); in pf_reassemble()
1043 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_normalize_ip()
H A Dpf_osfp.c137 if ((ip->ip_off & htons(IP_OFFMASK)) != 0) in pf_osfp_fingerprint_hdr()
H A Dif_ethersubr.c1174 if (ISSET(ntohs(ext->ip4->ip_off), IP_MF|IP_OFFMASK)) in ether_extract_headers()
H A Dpipex.c2865 (ip_off & IP_MF) != 0 || (ip_off & IP_OFFMASK) != 0) in adjust_tcp_mss()
2952 if ((ip_off & IP_MF) || ((ip_off & IP_OFFMASK) != 0)) in ip_is_idle_packet()
H A Dpf.c5748 if (h2.ip_off & htons(IP_OFFMASK)) { in pf_test_state_icmp()
6421 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_pull_hdr()
6982 if ((h->ip_off & htons(IP_OFFMASK)) != 0) in pf_walk_header()
6989 if ((h->ip_off & htons(IP_MF | IP_OFFMASK)) != 0 && in pf_walk_header()
7322 pd->virtual_proto = (h->ip_off & htons(IP_MF | IP_OFFMASK)) ? in pf_setup_pdesc()
/openbsd-src/usr.sbin/pppd/
H A Dipcp.c1472 #define IP_OFFMASK 0x1fff
1499 if ((get_ipoff(pkt) & IP_OFFMASK) != 0)
1512 #define IP_OFFMASK global() macro