/Linux-v5.10/net/ipv4/netfilter/ |
D | nf_log_ipv4.c | 73 if (ntohs(ih->frag_off) & IP_OFFSET) in dump_ipv4_packet() 74 nf_log_buf_add(m, "FRAG:%u ", ntohs(ih->frag_off) & IP_OFFSET); in dump_ipv4_packet() 100 ntohs(ih->frag_off) & IP_OFFSET, in dump_ipv4_packet() 107 ntohs(ih->frag_off) & IP_OFFSET, in dump_ipv4_packet() 135 if (ntohs(ih->frag_off) & IP_OFFSET) in dump_ipv4_packet() 202 if (ntohs(ih->frag_off) & IP_OFFSET) in dump_ipv4_packet() 228 if (ntohs(ih->frag_off) & IP_OFFSET) in dump_ipv4_packet()
|
D | nf_reject_ipv4.c | 21 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) in nf_reject_ip_tcphdr_get() 193 if (iph->frag_off & htons(IP_OFFSET)) in nf_send_unreach()
|
/Linux-v5.10/include/net/netfilter/ |
D | nf_tables_ipv4.h | 17 pkt->xt.fragoff = ntohs(ip->frag_off) & IP_OFFSET; in nft_set_pktinfo_ipv4() 44 pkt->xt.fragoff = ntohs(iph->frag_off) & IP_OFFSET; in __nft_set_pktinfo_ipv4_validate() 81 pkt->xt.fragoff = ntohs(iph->frag_off) & IP_OFFSET; in nft_set_pktinfo_ipv4_ingress()
|
/Linux-v5.10/samples/bpf/ |
D | parse_ldabs.c | 19 #define IP_OFFSET 0x1FFF macro 24 & (IP_MF | IP_OFFSET); in ip_is_fragment()
|
D | sockex2_kern.c | 11 #define IP_OFFSET 0x1FFF macro 49 & (IP_MF | IP_OFFSET); in ip_is_fragment()
|
D | sockex3_kern.c | 18 #define IP_OFFSET 0x1FFF macro 80 & (IP_MF | IP_OFFSET); in ip_is_fragment()
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | bpf_flow.c | 39 #define IP_OFFSET 0x1FFF macro 286 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) { in PROG() 288 if (iph->frag_off & bpf_htons(IP_OFFSET)) { in PROG()
|
/Linux-v5.10/net/sched/ |
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()
|
D | act_csum.c | 396 switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) { in tcf_csum_ipv4()
|
/Linux-v5.10/net/netfilter/ipset/ |
D | ip_set_getport.c | 109 if (ntohs(iph->frag_off) & IP_OFFSET) in ip_set_get_ip4_port()
|
/Linux-v5.10/net/bridge/netfilter/ |
D | ebt_ip.c | 66 if (ntohs(ih->frag_off) & IP_OFFSET) in ebt_ip_mt()
|
D | nft_reject_bridge.c | 119 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) in nft_reject_br_send_v4_unreach()
|
/Linux-v5.10/net/ipv4/ |
D | ip_fragment.c | 294 flags = offset & ~IP_OFFSET; in ip_frag_queue() 295 offset &= IP_OFFSET; in ip_frag_queue()
|
D | icmp.c | 644 if (iph->frag_off & htons(IP_OFFSET)) in __icmp_send()
|
/Linux-v5.10/net/netfilter/ipvs/ |
D | ip_vs_proto.c | 226 else if (ih->frag_off & htons(IP_OFFSET)) in ip_vs_tcpudp_debug_packet_v4()
|
D | ip_vs_core.c | 981 if (unlikely(cih->frag_off & htons(IP_OFFSET) && in ip_vs_out_icmp() 1701 if (unlikely(cih->frag_off & htons(IP_OFFSET))) in ip_vs_in_icmp() 1723 if (unlikely(cih->frag_off & htons(IP_OFFSET))) in ip_vs_in_icmp() 1755 if (unlikely(cih->frag_off & htons(IP_OFFSET) && in ip_vs_in_icmp()
|
/Linux-v5.10/include/net/ |
D | ip.h | 136 #define IP_OFFSET 0x1FFF /* "Fragment Offset" part */ macro 384 return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0; in ip_is_fragment()
|
/Linux-v5.10/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 185 #ifndef IP_OFFSET 187 #define IP_OFFSET IPOPT_OFFSET macro 189 #define IP_OFFSET 2 macro 1532 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) { in hamachi_rx()
|
/Linux-v5.10/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_map_data.c | 53 ((ntohs(ip4h->frag_off) & IP_OFFSET) > 0)) { in rmnet_map_ipv4_dl_csum_trailer()
|
/Linux-v5.10/security/ |
D | lsm_audit.c | 56 if (ntohs(ih->frag_off) & IP_OFFSET) in ipv4_skb_to_auditdata()
|
/Linux-v5.10/net/openvswitch/ |
D | flow.c | 560 offset = nh->frag_off & htons(IP_OFFSET); in key_extract_l3l4()
|
D | actions.c | 348 if (nh->frag_off & htons(IP_OFFSET)) in update_ip_l4_checksum()
|
/Linux-v5.10/security/selinux/ |
D | hooks.c | 4198 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4() 4214 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4() 4230 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4() 4247 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4()
|
/Linux-v5.10/drivers/staging/qlge/ |
D | qlge_main.c | 1531 htons(IP_MF | IP_OFFSET))) { in ql_process_mac_rx_page() 1638 htons(IP_MF | IP_OFFSET))) { in ql_process_mac_rx_skb() 1927 htons(IP_MF | IP_OFFSET))) { in ql_process_mac_split_rx_intr()
|
/Linux-v5.10/net/core/ |
D | flow_dissector.c | 1056 if (iph->frag_off & htons(IP_OFFSET)) { in __skb_flow_dissect()
|