Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dparse_ldabs.c18 #define IP_MF 0x2000 macro
24 & (IP_MF | IP_OFFSET); in ip_is_fragment()
H A Dsockex2_kern.c10 #define IP_MF 0x2000 macro
49 & (IP_MF | IP_OFFSET); in ip_is_fragment()
H A Dsockex3_kern.c17 #define IP_MF 0x2000 macro
45 & (IP_MF | IP_OFFSET); in ip_is_fragment()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dip_check_defrag.c11 #define IP_MF 0x2000 macro
32 return (flags & IP_MF) || offset; in is_frag_v4()
H A Dbpf_flow.c39 #define IP_MF 0x2000 macro
300 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) { in PROG()
H A Dxdp_synproxy_kern.c22 #define IP_MF 0x2000 macro
442 if ((hdr->ipv4->frag_off & bpf_htons(IP_DF | IP_MF | IP_OFFSET)) != bpf_htons(IP_DF)) in tcp_lookup()
H A Dtest_cls_redirect_dynptr.c30 #define IP_MF (0x2000) macro
120 return (ip->frag_off & bpf_htons(IP_MF)) != 0 || frag_off > 0; in ipv4_is_fragment()
H 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()
/openbmc/qemu/net/
H A Dutil.h45 #define IP_MF 0x2000 /* more fragments flag */ macro
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H 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),
/openbmc/qemu/include/net/
H A Deth.h213 ((be16_to_cpu((ip)->ip_off) & (IP_OFFMASK | IP_MF)) != 0)
249 #define IP_MF 0x2000 /* more fragments flag */ macro
/openbmc/linux/net/ipv4/
H A Dip_output.c614 iph->frag_off = htons(IP_MF); in ip_fraglist_init()
638 iph->frag_off |= htons(IP_MF); in ip_fraglist_prepare()
659 state->not_last_frag = iph->frag_off & htons(IP_MF); in ip_frag_init()
743 iph->frag_off |= htons(IP_MF); in ip_frag_next()
H A Dip_fragment.c316 if ((flags & IP_MF) == 0) { in ip_frag_queue()
H A Daf_inet.c1434 iph->frag_off |= htons(IP_MF); in inet_gso_segment()
/openbmc/qemu/hw/net/
H A Dnet_tx_pkt.c714 orig_flags = be16_to_cpu(ip->ip_off) & ~(IP_OFFMASK | IP_MF); in net_tx_pkt_udp_fragment_fix()
715 new_ip_off = frag_off_units | orig_flags | (more_frags ? IP_MF : 0); in net_tx_pkt_udp_fragment_fix()
/openbmc/linux/include/net/
H A Dip.h141 #define IP_MF 0x2000 /* Flag: "More Fragments" */ macro
401 return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0; in ip_is_fragment()
/openbmc/linux/drivers/net/ethernet/packetengines/
H 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()
/openbmc/linux/net/netfilter/
H A Dnf_log_syslog.c334 if (ntohs(ih->frag_off) & IP_MF) in dump_ipv4_packet()
/openbmc/linux/net/openvswitch/
H A Dflow.c717 if (nh->frag_off & htons(IP_MF) || in key_extract_l3l4()
/openbmc/linux/drivers/staging/qlge/
H 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()