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

/linux-master/samples/bpf/
H A Dparse_ldabs.c18 #define IP_MF 0x2000 macro
24 & (IP_MF | IP_OFFSET);
H A Dsockex2_kern.c10 #define IP_MF 0x2000 macro
49 & (IP_MF | IP_OFFSET);
H A Dsockex3_kern.c17 #define IP_MF 0x2000 macro
45 & (IP_MF | IP_OFFSET);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dip_check_defrag.c11 #define IP_MF 0x2000 macro
32 return (flags & IP_MF) || offset;
H A Dbpf_flow.c39 #define IP_MF 0x2000 macro
300 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) {
H A Dtest_cls_redirect.c38 #define IP_MF (0x2000) macro
213 return (ip->frag_off & bpf_htons(IP_MF)) != 0 || frag_off > 0;
H A Dtest_cls_redirect_dynptr.c32 #define IP_MF (0x2000) macro
122 return (ip->frag_off & bpf_htons(IP_MF)) != 0 || frag_off > 0;
H A Dxdp_synproxy_kern.c24 #define IP_MF 0x2000 macro
444 if ((hdr->ipv4->frag_off & bpf_htons(IP_DF | IP_MF | IP_OFFSET)) != bpf_htons(IP_DF))
/linux-master/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),
/linux-master/net/ipv4/
H A Dip_output.c614 iph->frag_off = htons(IP_MF);
638 iph->frag_off |= htons(IP_MF);
659 state->not_last_frag = iph->frag_off & htons(IP_MF);
743 iph->frag_off |= htons(IP_MF);
H A Dip_fragment.c311 if ((flags & IP_MF) == 0) {
H A Daf_inet.c1435 iph->frag_off |= htons(IP_MF);
/linux-master/include/net/
H A Dip.h141 #define IP_MF 0x2000 /* Flag: "More Fragments" */ macro
407 return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0;
/linux-master/drivers/net/ethernet/packetengines/
H A Dhamachi.c175 /* IP_MF appears to be only defined in <netinet/ip.h>, however,
180 #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))) {
/linux-master/net/openvswitch/
H A Dflow.c716 if (nh->frag_off & htons(IP_MF) ||
/linux-master/net/netfilter/
H A Dnf_log_syslog.c334 if (ntohs(ih->frag_off) & IP_MF)

Completed in 165 milliseconds