/linux-master/net/ipv6/netfilter/ |
H A D | ip6t_frag.c | 56 pr_debug("INFO %04X ", fh->frag_off); 57 pr_debug("OFFSET %04X ", ntohs(fh->frag_off) & ~0x7); 58 pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6); 59 pr_debug("MF %04X ", fh->frag_off & htons(IP6_MF)); 69 ntohs(fh->frag_off) & 0x6, 71 (fh->reserved || (ntohs(fh->frag_off) & 0x06)))); 74 ntohs(fh->frag_off) & ~0x7, 76 (ntohs(fh->frag_off) & ~0x7))); 79 ntohs(fh->frag_off) & IP6_MF, 81 !((ntohs(fh->frag_off) [all...] |
/linux-master/include/net/netfilter/ |
H A D | nf_tables_ipv6.h | 13 unsigned short frag_off; local 15 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); 24 pkt->fragoff = frag_off; 33 unsigned short frag_off; local 49 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); 56 pkt->fragoff = frag_off; 74 unsigned short frag_off; local 95 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); 102 pkt->fragoff = frag_off;
|
H A D | nf_tables_ipv4.h | 16 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/xfrm/ |
H A D | xfrm_inout.h | 15 XFRM_MODE_SKB_CB(skb)->frag_off = iph->frag_off; 30 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); 66 iph->frag_off = XFRM_MODE_SKB_CB(skb)->frag_off;
|
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_getport.c | 109 if (ntohs(iph->frag_off) & IP_OFFSET) 137 __be16 frag_off = 0; local 143 &frag_off); 144 if (protoff < 0 || (frag_off & htons(~0x7)) != 0)
|
/linux-master/samples/bpf/ |
H A D | parse_ldabs.c | 23 return load_half(ctx, nhoff + offsetof(struct iphdr, frag_off))
|
/linux-master/include/net/ |
H A D | ipv6_frag.h | 120 __be16 frag_off; local 123 offset = ipv6_skip_exthdr(skb, start, &nexthdr, &frag_off); 124 if (offset < 0 || (frag_off & htons(IP6_OFFSET)))
|
/linux-master/net/netfilter/ |
H A D | nf_conntrack_ovs.c | 42 __be16 frag_off; local 46 &frag_off); 47 if (ofs < 0 || (frag_off & htons(~0x7)) != 0) {
|
H A D | nf_nat_ovs.c | 34 __be16 frag_off; local 38 &nexthdr, &frag_off);
|
H A D | nf_log_syslog.c | 330 if (ntohs(ih->frag_off) & IP_CE) 332 if (ntohs(ih->frag_off) & IP_DF) 334 if (ntohs(ih->frag_off) & IP_MF) 338 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) [all...] |
H A D | xt_TCPOPTSTRIP.c | 101 __be16 frag_off; local 104 tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off);
|
H A D | xt_AUDIT.c | 51 __be16 frag_off; local 58 ipv6_skip_exthdr(skb, skb_network_offset(skb) + sizeof(_ip6h), &nexthdr, &frag_off);
|
/linux-master/net/ipv6/ |
H A D | mcast_snoop.c | 42 __be16 frag_off; local 51 offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off);
|
H A D | exthdrs_core.c | 92 frag_off), 244 frag_off),
|
/linux-master/net/rds/ |
H A D | ib_recv.c | 539 unsigned long frag_off = 0; local 549 if (frag_off == RDS_FRAG_SIZE) { 552 frag_off = 0; 555 RDS_FRAG_SIZE - frag_off); 561 frag->f_sg.offset + frag_off, 567 frag_off += to_copy; 791 unsigned long frag_off; local 806 frag_off = 0; 814 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); 819 src = addr + frag->f_sg.offset + frag_off; [all...] |
/linux-master/net/bridge/netfilter/ |
H A D | ebt_ip6.c | 64 __be16 frag_off; local 67 offset_ph = ipv6_skip_exthdr(skb, sizeof(_ip6h), &nexthdr, &frag_off);
|
H A D | ebt_log.c | 119 __be16 frag_off; local 130 offset_ph = ipv6_skip_exthdr(skb, sizeof(_iph), &nexthdr, &frag_off);
|
/linux-master/net/ipv4/ |
H A D | ah4.c | 134 top_iph->frag_off = iph->frag_off; 193 iph->frag_off = top_iph->frag_off; 208 top_iph->frag_off = 0; 250 top_iph->frag_off = iph->frag_off; 385 iph->frag_off = 0;
|
H A D | ip_output.c | 171 iph->frag_off = htons(IP_DF); 174 iph->frag_off = 0; 514 iph->frag_off = htons(IP_DF); 516 iph->frag_off = 0; 583 if ((iph->frag_off & htons(IP_DF)) == 0) 614 iph->frag_off = htons(IP_MF); 636 iph->frag_off = htons(iter->offset >> 3); 638 iph->frag_off |= htons(IP_MF); 658 state->offset = (ntohs(iph->frag_off) & IP_OFFSET) << 3; 659 state->not_last_frag = iph->frag_off [all...] |
/linux-master/net/ipv4/netfilter/ |
H A D | nf_dup_ipv4.c | 81 iph->frag_off |= htons(IP_DF);
|
H A D | nf_reject_ipv4.c | 91 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) 145 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) 180 niph->frag_off = htons(IP_DF); 323 if (iph->frag_off & htons(IP_OFFSET))
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | ip_check_defrag.c | 27 offset = bpf_ntohs(iph->frag_off);
|
H A D | bpf_flow.c | 57 __be16 frag_off; member in struct:frag_hdr 300 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) { 302 if (iph->frag_off & bpf_htons(IP_OFFSET)) { 377 if (!(fragh->frag_off & bpf_htons(IP6_OFFSET))) {
|
/linux-master/include/uapi/linux/ |
H A D | ip.h | 100 __be16 frag_off; member in struct:iphdr
|
/linux-master/tools/testing/selftests/net/ |
H A D | nat6to4.c | 100 .frag_off = bpf_htons(IP_DF), // u16 200 if (ip4->frag_off & ~bpf_htons(IP_DF))
|