Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c11 #ifndef IP_MF
12 #define IP_MF 0x2000 macro
201 .iph.frag_off = __bpf_constant_htons(IP_MF),
227 .iph.frag_off = __bpf_constant_htons(IP_MF),
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dbpf_flow.c38 #define IP_MF 0x2000 macro
286 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) { in PROG()
Dtest_cls_redirect.c35 #define IP_MF (0x2000) macro
209 return (ip->frag_off & bpf_htons(IP_MF)) != 0 || frag_off > 0; in ipv4_is_fragment()
/Linux-v5.10/net/ipv4/netfilter/
Dnf_log_ipv4.c69 if (ntohs(ih->frag_off) & IP_MF) in dump_ipv4_packet()
/Linux-v5.10/include/net/
Dip.h135 #define IP_MF 0x2000 /* Flag: "More Fragments" */ macro
384 return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0; in ip_is_fragment()
/Linux-v5.10/net/ipv4/
Dip_output.c611 iph->frag_off = htons(IP_MF); in ip_fraglist_init()
647 iph->frag_off |= htons(IP_MF); in ip_fraglist_prepare()
668 state->not_last_frag = iph->frag_off & htons(IP_MF); in ip_frag_init()
753 iph->frag_off |= htons(IP_MF); in ip_frag_next()
Dip_fragment.c304 if ((flags & IP_MF) == 0) { in ip_frag_queue()
Daf_inet.c1391 iph->frag_off |= htons(IP_MF); in inet_gso_segment()
/Linux-v5.10/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_map_data.c52 if ((ntohs(ip4h->frag_off) & IP_MF) || in rmnet_map_ipv4_dl_csum_trailer()
/Linux-v5.10/drivers/net/ethernet/packetengines/
Dhamachi.c180 #ifndef IP_MF
181 #define IP_MF 0x2000 /* IP more frags from <netinet/ip.h> */ macro
1532 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) { in hamachi_rx()
/Linux-v5.10/net/openvswitch/
Dflow.c566 if (nh->frag_off & htons(IP_MF) || in key_extract_l3l4()
/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()