Home
last modified time | relevance | path

Searched refs:IP_MF (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/samples/bpf/
Dparse_ldabs.c18 #define IP_MF 0x2000 macro
24 & (IP_MF | IP_OFFSET); in ip_is_fragment()
Dsockex2_kern.c10 #define IP_MF 0x2000 macro
49 & (IP_MF | IP_OFFSET); in ip_is_fragment()
Dsockex3_kern.c17 #define IP_MF 0x2000 macro
80 & (IP_MF | IP_OFFSET); in ip_is_fragment()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c13 #ifndef IP_MF
14 #define IP_MF 0x2000 macro
209 .iph.frag_off = __bpf_constant_htons(IP_MF),
236 .iph.frag_off = __bpf_constant_htons(IP_MF),
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_flow.c39 #define IP_MF 0x2000 macro
300 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) { in PROG()
Dxdp_synproxy_kern.c22 #define IP_MF 0x2000 macro
422 if ((hdr->ipv4->frag_off & bpf_htons(IP_DF | IP_MF | IP_OFFSET)) != bpf_htons(IP_DF)) in tcp_lookup()
Dtest_cls_redirect.c35 #define IP_MF (0x2000) macro
210 return (ip->frag_off & bpf_htons(IP_MF)) != 0 || frag_off > 0; in ipv4_is_fragment()
/linux-6.1.9/include/net/
Dip.h138 #define IP_MF 0x2000 /* Flag: "More Fragments" */ macro
391 return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0; in ip_is_fragment()
/linux-6.1.9/net/ipv4/
Dip_output.c611 iph->frag_off = htons(IP_MF); in ip_fraglist_init()
635 iph->frag_off |= htons(IP_MF); in ip_fraglist_prepare()
656 state->not_last_frag = iph->frag_off & htons(IP_MF); in ip_frag_init()
740 iph->frag_off |= htons(IP_MF); in ip_frag_next()
Dip_fragment.c305 if ((flags & IP_MF) == 0) { in ip_frag_queue()
Daf_inet.c1414 iph->frag_off |= htons(IP_MF); in inet_gso_segment()
/linux-6.1.9/drivers/net/ethernet/packetengines/
Dhamachi.c180 #ifndef IP_MF
181 #define IP_MF 0x2000 /* IP more frags from <netinet/ip.h> */ macro
1536 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) { in hamachi_rx()
/linux-6.1.9/net/netfilter/
Dnf_log_syslog.c333 if (ntohs(ih->frag_off) & IP_MF) in dump_ipv4_packet()
/linux-6.1.9/net/openvswitch/
Dflow.c713 if (nh->frag_off & htons(IP_MF) || in key_extract_l3l4()
/linux-6.1.9/drivers/staging/qlge/
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()