Home
last modified time | relevance | path

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

12

/Linux-v5.10/net/ipv4/netfilter/
Dnf_log_ipv4.c73 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()
Dnf_reject_ipv4.c21 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/
Dnf_tables_ipv4.h17 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/
Dparse_ldabs.c19 #define IP_OFFSET 0x1FFF macro
24 & (IP_MF | IP_OFFSET); in ip_is_fragment()
Dsockex2_kern.c11 #define IP_OFFSET 0x1FFF macro
49 & (IP_MF | IP_OFFSET); in ip_is_fragment()
Dsockex3_kern.c18 #define IP_OFFSET 0x1FFF macro
80 & (IP_MF | IP_OFFSET); in ip_is_fragment()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dbpf_flow.c39 #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/
Dact_nat.c158 } 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()
Dact_csum.c396 switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) { in tcf_csum_ipv4()
/Linux-v5.10/net/netfilter/ipset/
Dip_set_getport.c109 if (ntohs(iph->frag_off) & IP_OFFSET) in ip_set_get_ip4_port()
/Linux-v5.10/net/bridge/netfilter/
Debt_ip.c66 if (ntohs(ih->frag_off) & IP_OFFSET) in ebt_ip_mt()
Dnft_reject_bridge.c119 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) in nft_reject_br_send_v4_unreach()
/Linux-v5.10/net/ipv4/
Dip_fragment.c294 flags = offset & ~IP_OFFSET; in ip_frag_queue()
295 offset &= IP_OFFSET; in ip_frag_queue()
Dicmp.c644 if (iph->frag_off & htons(IP_OFFSET)) in __icmp_send()
/Linux-v5.10/net/netfilter/ipvs/
Dip_vs_proto.c226 else if (ih->frag_off & htons(IP_OFFSET)) in ip_vs_tcpudp_debug_packet_v4()
Dip_vs_core.c981 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/
Dip.h136 #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/
Dhamachi.c185 #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/
Drmnet_map_data.c53 ((ntohs(ip4h->frag_off) & IP_OFFSET) > 0)) { in rmnet_map_ipv4_dl_csum_trailer()
/Linux-v5.10/security/
Dlsm_audit.c56 if (ntohs(ih->frag_off) & IP_OFFSET) in ipv4_skb_to_auditdata()
/Linux-v5.10/net/openvswitch/
Dflow.c560 offset = nh->frag_off & htons(IP_OFFSET); in key_extract_l3l4()
Dactions.c348 if (nh->frag_off & htons(IP_OFFSET)) in update_ip_l4_checksum()
/Linux-v5.10/security/selinux/
Dhooks.c4198 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/
Dqlge_main.c1531 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/
Dflow_dissector.c1056 if (iph->frag_off & htons(IP_OFFSET)) { in __skb_flow_dissect()

12