Home
last modified time | relevance | path

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

/linux-6.3-rc2/samples/bpf/
A Dparse_ldabs.c18 #define IP_MF 0x2000 macro
24 & (IP_MF | IP_OFFSET); in ip_is_fragment()
A Dsockex2_kern.c10 #define IP_MF 0x2000 macro
49 & (IP_MF | IP_OFFSET); in ip_is_fragment()
A Dsockex3_kern.c17 #define IP_MF 0x2000 macro
45 & (IP_MF | IP_OFFSET); in ip_is_fragment()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A 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.3-rc2/tools/testing/selftests/bpf/progs/
A Dbpf_flow.c39 #define IP_MF 0x2000 macro
300 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) { in PROG()
A 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()
A 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()
/linux-6.3-rc2/include/net/
A Dip.h138 #define IP_MF 0x2000 /* Flag: "More Fragments" */ macro
392 return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0; in ip_is_fragment()
/linux-6.3-rc2/net/ipv4/
A 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()
A Dip_fragment.c311 if ((flags & IP_MF) == 0) { in ip_frag_queue()
A Daf_inet.c1412 iph->frag_off |= htons(IP_MF); in inet_gso_segment()
/linux-6.3-rc2/drivers/net/ethernet/packetengines/
A 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.3-rc2/net/netfilter/
A Dnf_log_syslog.c333 if (ntohs(ih->frag_off) & IP_MF) in dump_ipv4_packet()
/linux-6.3-rc2/net/openvswitch/
A Dflow.c716 if (nh->frag_off & htons(IP_MF) || in key_extract_l3l4()
/linux-6.3-rc2/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()

Completed in 44 milliseconds