Home
last modified time | relevance | path

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

/netbsd/external/bsd/ipf/dist/lib/
H A Dprintpacket.c13 #ifndef IP_OFFMASK
14 # define IP_OFFMASK 0x3fff macro
77 if (off & IP_OFFMASK)
80 if (!(off & IP_OFFMASK))
85 if (!(off & IP_OFFMASK)) {
/netbsd/external/mpl/dhcp/dist/includes/netinet/
H A Dip.h57 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
/netbsd/external/bsd/tcpdump/dist/
H A Dip.h58 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
H A Dprint-ip.c402 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()
408 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()
414 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()
/netbsd/sys/arch/mvme68k/stand/sboot/
H A Detherfun.h80 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
/netbsd/external/bsd/ipf/dist/tools/
H A Dipmon.c1174 off = ipoff & IP_OFFMASK; in print_ipflog()
1287 if (!(ipoff & IP_OFFMASK) && in print_ipflog()
1302 } else if (!(ipoff & IP_OFFMASK) && in print_ipflog()
1324 if (ipoff & IP_OFFMASK) { in print_ipflog()
1328 (ipoff & IP_OFFMASK) << 3, in print_ipflog()
1341 if (off & IP_OFFMASK) in print_ipflog()
1344 plen - hl, (off & IP_OFFMASK) << 3, in print_ipflog()
/netbsd/sys/netinet/
H A Dip.h68 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
H A Dip_reass.c634 off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; in ip_reass_packet()
H A Dip_output.c841 ipoff = ntohs(ip->ip_off) & IP_OFFMASK; in ip_fragment()
/netbsd/external/mpl/dhcp/dist/common/
H A Dtr.c181 || (ntohs (ip->ip_off) & IP_OFFMASK) != 0
/netbsd/sys/dist/pf/net/
H A Dpf_norm.c356 #define FR_IP_OFF(fr) ((ntohs((fr)->fr_ip->ip_off) & IP_OFFMASK) << 3)
366 u_int16_t off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; in pf_reassemble()
429 off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; in pf_reassemble()
866 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3;
H A Dpf_osfp.c136 if ((ip->ip_off & htons(IP_OFFMASK)) != 0) in pf_osfp_fingerprint_hdr()
H A Dpf.c4506 if (h2.ip_off & htons(IP_OFFMASK)) {
5025 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3;
5798 if (h->ip_off & htons(IP_MF | IP_OFFMASK)) {
/netbsd/sys/netipsec/
H A Dxform_ipip.c393 ipo->ip_off &= ~ htons(IP_DF | IP_MF | IP_OFFMASK); in ipip_output()
H A Dipsec.c878 if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) in ipsec4_get_ulp()
886 if (ih.ip_off & htons(IP_MF | IP_OFFMASK)) in ipsec4_get_ulp()
/netbsd/sys/external/bsd/ipf/netinet/
H A Dip_compat.h496 #ifndef IP_OFFMASK
497 # define IP_OFFMASK 0x1fff macro
H A Dfil.c1292 if ((ntohs(oip->ip_off) & IP_OFFMASK) != 0) { in ipf_pr_icmp()
1294 DT2(ipf_fi_bad_icmp_err, fr_info_t, fin, u_int, (ntohs(oip->ip_off) & IP_OFFMASK)); in ipf_pr_icmp()
1728 off &= IP_MF|IP_OFFMASK; in ipf_pr_ipv4hdr()
1732 off &= IP_OFFMASK; in ipf_pr_ipv4hdr()
/netbsd/external/bsd/ppp/dist/pppd/
H A Dipcp.c2247 #define IP_OFFMASK 0x1fff macro
2276 if ((get_ipoff(pkt) & IP_OFFMASK) != 0) in ip_active_pkt()
/netbsd/sys/kern/
H A Duipc_mbufdebug.c570 (*pr)("IP: Offset = %u\n", (offset & IP_OFFMASK)); in m_examine_ip()
/netbsd/sys/altq/
H A Daltq_subr.c904 if (ip_off & IP_OFFMASK) { in extract_ports4()
/netbsd/sys/dev/ic/
H A Dhme.c783 (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) != 0) in hme_get()
H A Di82557.c1268 (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) != 0) in fxp_rx_hwcksum()
H A Dgem.c1884 (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK))) in gem_rint()
/netbsd/sys/arch/sgimips/mace/
H A Dif_mec.c1782 (ntohs(ip->ip_off) & (IP_MF | IP_OFFMASK)) != 0) in mec_rxcsum()
/netbsd/sys/dev/pci/
H A Dif_ti.c2003 if ((ip->ip_off & htons(IP_MF | IP_OFFMASK)) == 0) { in ti_rxeof()