Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dparse_ldabs.c17 #define IP_MF 0x2000 macro
23 & (IP_MF | IP_OFFSET); in ip_is_fragment()
Dsockex2_kern.c9 #define IP_MF 0x2000 macro
48 & (IP_MF | IP_OFFSET); in ip_is_fragment()
Dsockex3_kern.c16 #define IP_MF 0x2000 macro
77 & (IP_MF | IP_OFFSET); in ip_is_fragment()
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c8 #ifndef IP_MF
9 #define IP_MF 0x2000 macro
197 .iph.frag_off = __bpf_constant_htons(IP_MF),
223 .iph.frag_off = __bpf_constant_htons(IP_MF),
/Linux-v5.4/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()
/Linux-v5.4/net/ipv4/netfilter/
Dnf_log_ipv4.c69 if (ntohs(ih->frag_off) & IP_MF) in dump_ipv4_packet()
/Linux-v5.4/include/net/
Dip.h134 #define IP_MF 0x2000 /* Flag: "More Fragments" */ macro
387 return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0; in ip_is_fragment()
/Linux-v5.4/net/ipv4/
Dip_output.c605 iph->frag_off = htons(IP_MF); in ip_fraglist_init()
641 iph->frag_off |= htons(IP_MF); in ip_fraglist_prepare()
662 state->not_last_frag = iph->frag_off & htons(IP_MF); in ip_frag_init()
747 iph->frag_off |= htons(IP_MF); in ip_frag_next()
Dip_fragment.c304 if ((flags & IP_MF) == 0) { in ip_frag_queue()
Daf_inet.c1361 iph->frag_off |= htons(IP_MF); in inet_gso_segment()
/Linux-v5.4/net/netfilter/
Dxt_HMARK.c283 if (ip->frag_off & htons(IP_MF | IP_OFFSET)) in hmark_pkt_set_htuple_ipv4()
/Linux-v5.4/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.4/drivers/net/ethernet/packetengines/
Dhamachi.c180 #ifndef IP_MF
181 #define IP_MF 0x2000 /* IP more frags from <netinet/ip.h> */ macro
1523 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) { in hamachi_rx()
/Linux-v5.4/net/openvswitch/
Dflow.c566 if (nh->frag_off & htons(IP_MF) || in key_extract_l3l4()
/Linux-v5.4/drivers/staging/qlge/
Dqlge_main.c1608 htons(IP_MF|IP_OFFSET))) { in ql_process_mac_rx_page()
1722 htons(IP_MF|IP_OFFSET))) { in ql_process_mac_rx_skb()
2033 htons(IP_MF|IP_OFFSET))) { in ql_process_mac_split_rx_intr()
/Linux-v5.4/net/core/
Dskbuff.c4755 if (ip_hdr(skb)->frag_off & htons(IP_OFFSET | IP_MF)) in skb_checksum_setup_ipv4()