Searched refs:IP_OFFSET (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/samples/bpf/
H A Dparse_ldabs.c19 #define IP_OFFSET 0x1FFF macro
24 & (IP_MF | IP_OFFSET);
H A Dsockex2_kern.c11 #define IP_OFFSET 0x1FFF macro
49 & (IP_MF | IP_OFFSET);
H A Dsockex3_kern.c18 #define IP_OFFSET 0x1FFF macro
45 & (IP_MF | IP_OFFSET);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dip_check_defrag.c12 #define IP_OFFSET 0x1FFF macro
28 flags = offset & ~IP_OFFSET;
29 offset &= IP_OFFSET;
H A Dbpf_flow.c40 #define IP_OFFSET 0x1FFF macro
300 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) {
302 if (iph->frag_off & bpf_htons(IP_OFFSET)) {
H A Dxdp_synproxy_kern.c25 #define IP_OFFSET 0x1fff macro
444 if ((hdr->ipv4->frag_off & bpf_htons(IP_DF | IP_MF | IP_OFFSET)) != bpf_htons(IP_DF))
/linux-master/include/net/netfilter/
H A Dnf_tables_ipv4.h16 pkt->fragoff = ntohs(ip->frag_off) & IP_OFFSET;
44 pkt->fragoff = ntohs(iph->frag_off) & IP_OFFSET;
81 pkt->fragoff = ntohs(iph->frag_off) & IP_OFFSET;
/linux-master/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c91 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET))
145 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET))
323 if (iph->frag_off & htons(IP_OFFSET))
/linux-master/net/netfilter/ipset/
H A Dip_set_getport.c109 if (ntohs(iph->frag_off) & IP_OFFSET)
/linux-master/net/netfilter/
H A Dnf_log_syslog.c338 if (ntohs(ih->frag_off) & IP_OFFSET)
339 nf_log_buf_add(m, "FRAG:%u ", ntohs(ih->frag_off) & IP_OFFSET);
365 ntohs(ih->frag_off) & IP_OFFSET,
372 ntohs(ih->frag_off) & IP_OFFSET,
395 if (ntohs(ih->frag_off) & IP_OFFSET)
462 if (ntohs(ih->frag_off) & IP_OFFSET)
488 if (ntohs(ih->frag_off) & IP_OFFSET)
H A Dnft_inner.c130 if ((ntohs(iph->frag_off) & IP_OFFSET) == 0) {
/linux-master/net/sched/
H A Dact_nat.c170 } else if ((iph->frag_off & htons(IP_OFFSET)) ||
178 switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) {
H A Dact_csum.c396 switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) {
/linux-master/net/bridge/netfilter/
H A Debt_ip.c66 if (ntohs(ih->frag_off) & IP_OFFSET)
/linux-master/net/ipv4/
H A Dip_fragment.c301 flags = offset & ~IP_OFFSET;
302 offset &= IP_OFFSET;
H A Dicmp.c640 if (iph->frag_off & htons(IP_OFFSET))
/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto.c226 else if (ih->frag_off & htons(IP_OFFSET))
H A Dip_vs_core.c969 if (unlikely(cih->frag_off & htons(IP_OFFSET) &&
1636 if (unlikely(cih->frag_off & htons(IP_OFFSET)))
1658 if (unlikely(cih->frag_off & htons(IP_OFFSET)))
1690 if (unlikely(cih->frag_off & htons(IP_OFFSET) &&
/linux-master/drivers/net/ethernet/packetengines/
H A Dhamachi.c184 /* Define IP_OFFSET to be IPOPT_OFFSET */
185 #ifndef IP_OFFSET
187 #define IP_OFFSET IPOPT_OFFSET macro
189 #define IP_OFFSET 2 macro
1536 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) {
/linux-master/security/
H A Dlsm_audit.c53 if (ntohs(ih->frag_off) & IP_OFFSET)
/linux-master/include/net/
H A Dip.h142 #define IP_OFFSET 0x1FFF /* "Fragment Offset" part */ macro
407 return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0;
/linux-master/net/openvswitch/
H A Dflow.c710 offset = nh->frag_off & htons(IP_OFFSET);
H A Dactions.c358 if (nh->frag_off & htons(IP_OFFSET))
/linux-master/net/core/
H A Dflow_dissector.c1198 if (iph->frag_off & htons(IP_OFFSET)) {
/linux-master/security/selinux/
H A Dhooks.c4305 if (ntohs(ih->frag_off) & IP_OFFSET)
4321 if (ntohs(ih->frag_off) & IP_OFFSET)
4337 if (ntohs(ih->frag_off) & IP_OFFSET)
4354 if (ntohs(ih->frag_off) & IP_OFFSET)

Completed in 284 milliseconds

12