Home
last modified time | relevance | path

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

12

/linux/include/net/netfilter/
A Dnf_tables_ipv4.h16 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 Dparse_ldabs.c19 #define IP_OFFSET 0x1FFF macro
24 & (IP_MF | IP_OFFSET); in ip_is_fragment()
A Dsockex2_kern.c11 #define IP_OFFSET 0x1FFF macro
49 & (IP_MF | IP_OFFSET); in ip_is_fragment()
A Dsockex3_kern.c18 #define IP_OFFSET 0x1FFF macro
80 & (IP_MF | IP_OFFSET); in ip_is_fragment()
/linux/net/netfilter/
A Dnf_log_syslog.c332 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 Dnf_reject_ipv4.c90 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 Dip_tables.c254 acpar.fragoff = ntohs(ip->frag_off) & IP_OFFSET; in ipt_do_table()
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_flow.c38 #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 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()
A Dact_csum.c397 switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) { in tcf_csum_ipv4()
/linux/net/netfilter/ipset/
A Dip_set_getport.c109 if (ntohs(iph->frag_off) & IP_OFFSET) in ip_set_get_ip4_port()
/linux/net/bridge/netfilter/
A Debt_ip.c66 if (ntohs(ih->frag_off) & IP_OFFSET) in ebt_ip_mt()
/linux/net/ipv4/
A Dip_fragment.c294 flags = offset & ~IP_OFFSET; in ip_frag_queue()
295 offset &= IP_OFFSET; in ip_frag_queue()
A Dicmp.c644 if (iph->frag_off & htons(IP_OFFSET)) in __icmp_send()
A Dip_output.c648 state->offset = (ntohs(iph->frag_off) & IP_OFFSET) << 3; in ip_frag_init()
/linux/drivers/net/ethernet/packetengines/
A Dhamachi.c185 #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 Dip_vs_proto.c226 else if (ih->frag_off & htons(IP_OFFSET)) in ip_vs_tcpudp_debug_packet_v4()
A Dip_vs_core.c969 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 Dip.h138 #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 Dlsm_audit.c56 if (ntohs(ih->frag_off) & IP_OFFSET) in ipv4_skb_to_auditdata()
/linux/net/openvswitch/
A Dflow.c566 offset = nh->frag_off & htons(IP_OFFSET); in key_extract_l3l4()
A Dactions.c349 if (nh->frag_off & htons(IP_OFFSET)) in update_ip_l4_checksum()
/linux/security/selinux/
A Dhooks.c4356 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 Dqlge_main.c1526 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 Dflow_dissector.c1073 if (iph->frag_off & htons(IP_OFFSET)) { in __skb_flow_dissect()

Completed in 62 milliseconds

12