/linux/include/net/netfilter/ |
A D | nf_tables_ipv4.h | 16 pkt->fragoff = ntohs(ip->frag_off) & IP_OFFSET; in nft_set_pktinfo_ipv4() 42 pkt->fragoff = ntohs(iph->frag_off) & IP_OFFSET; in __nft_set_pktinfo_ipv4_validate() 77 pkt->fragoff = ntohs(iph->frag_off) & IP_OFFSET; in nft_set_pktinfo_ipv4_ingress()
|
/linux/samples/bpf/ |
A D | parse_ldabs.c | 19 #define IP_OFFSET 0x1FFF macro 24 & (IP_MF | IP_OFFSET); in ip_is_fragment()
|
A D | sockex2_kern.c | 11 #define IP_OFFSET 0x1FFF macro 49 & (IP_MF | IP_OFFSET); in ip_is_fragment()
|
A D | sockex3_kern.c | 18 #define IP_OFFSET 0x1FFF macro 80 & (IP_MF | IP_OFFSET); in ip_is_fragment()
|
/linux/net/netfilter/ |
A D | nf_log_syslog.c | 332 if (ntohs(ih->frag_off) & IP_OFFSET) in dump_ipv4_packet() 333 nf_log_buf_add(m, "FRAG:%u ", ntohs(ih->frag_off) & IP_OFFSET); in dump_ipv4_packet() 359 ntohs(ih->frag_off) & IP_OFFSET, in dump_ipv4_packet() 366 ntohs(ih->frag_off) & IP_OFFSET, in dump_ipv4_packet() 389 if (ntohs(ih->frag_off) & IP_OFFSET) in dump_ipv4_packet() 456 if (ntohs(ih->frag_off) & IP_OFFSET) in dump_ipv4_packet() 482 if (ntohs(ih->frag_off) & IP_OFFSET) in dump_ipv4_packet()
|
/linux/net/ipv4/netfilter/ |
A D | nf_reject_ipv4.c | 90 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) in nf_reject_skb_v4_unreach() 143 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) in nf_reject_ip_tcphdr_get() 316 if (iph->frag_off & htons(IP_OFFSET)) in nf_send_unreach()
|
A D | ip_tables.c | 254 acpar.fragoff = ntohs(ip->frag_off) & IP_OFFSET; in ipt_do_table()
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | bpf_flow.c | 38 #define IP_OFFSET 0x1FFF macro 285 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) { in PROG() 287 if (iph->frag_off & bpf_htons(IP_OFFSET)) { in PROG()
|
/linux/net/sched/ |
A D | act_nat.c | 158 } else if ((iph->frag_off & htons(IP_OFFSET)) || in tcf_nat_act() 166 switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) { in tcf_nat_act()
|
A D | act_csum.c | 397 switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) { in tcf_csum_ipv4()
|
/linux/net/netfilter/ipset/ |
A D | ip_set_getport.c | 109 if (ntohs(iph->frag_off) & IP_OFFSET) in ip_set_get_ip4_port()
|
/linux/net/bridge/netfilter/ |
A D | ebt_ip.c | 66 if (ntohs(ih->frag_off) & IP_OFFSET) in ebt_ip_mt()
|
/linux/net/ipv4/ |
A D | ip_fragment.c | 294 flags = offset & ~IP_OFFSET; in ip_frag_queue() 295 offset &= IP_OFFSET; in ip_frag_queue()
|
A D | icmp.c | 644 if (iph->frag_off & htons(IP_OFFSET)) in __icmp_send()
|
A D | ip_output.c | 648 state->offset = (ntohs(iph->frag_off) & IP_OFFSET) << 3; in ip_frag_init()
|
/linux/drivers/net/ethernet/packetengines/ |
A D | hamachi.c | 185 #ifndef IP_OFFSET 187 #define IP_OFFSET IPOPT_OFFSET macro 189 #define IP_OFFSET 2 macro 1536 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) { in hamachi_rx()
|
/linux/net/netfilter/ipvs/ |
A D | ip_vs_proto.c | 226 else if (ih->frag_off & htons(IP_OFFSET)) in ip_vs_tcpudp_debug_packet_v4()
|
A D | ip_vs_core.c | 969 if (unlikely(cih->frag_off & htons(IP_OFFSET) && in ip_vs_out_icmp() 1642 if (unlikely(cih->frag_off & htons(IP_OFFSET))) in ip_vs_in_icmp() 1664 if (unlikely(cih->frag_off & htons(IP_OFFSET))) in ip_vs_in_icmp() 1696 if (unlikely(cih->frag_off & htons(IP_OFFSET) && in ip_vs_in_icmp()
|
/linux/include/net/ |
A D | ip.h | 138 #define IP_OFFSET 0x1FFF /* "Fragment Offset" part */ macro 390 return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0; in ip_is_fragment()
|
/linux/security/ |
A D | lsm_audit.c | 56 if (ntohs(ih->frag_off) & IP_OFFSET) in ipv4_skb_to_auditdata()
|
/linux/net/openvswitch/ |
A D | flow.c | 566 offset = nh->frag_off & htons(IP_OFFSET); in key_extract_l3l4()
|
A D | actions.c | 349 if (nh->frag_off & htons(IP_OFFSET)) in update_ip_l4_checksum()
|
/linux/security/selinux/ |
A D | hooks.c | 4356 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4() 4372 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4() 4388 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4() 4405 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4()
|
/linux/drivers/staging/qlge/ |
A D | qlge_main.c | 1526 htons(IP_MF | IP_OFFSET))) { in qlge_process_mac_rx_page() 1633 htons(IP_MF | IP_OFFSET))) { in qlge_process_mac_rx_skb() 1920 htons(IP_MF | IP_OFFSET))) { in qlge_process_mac_split_rx_intr()
|
/linux/net/core/ |
A D | flow_dissector.c | 1073 if (iph->frag_off & htons(IP_OFFSET)) { in __skb_flow_dissect()
|