/linux-4.4.14/include/net/netfilter/ |
H A D | nf_tables_ipv6.h | 13 unsigned short frag_off; nft_set_pktinfo_ipv6() local 17 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, NULL); nft_set_pktinfo_ipv6() 24 pkt->xt.fragoff = frag_off; nft_set_pktinfo_ipv6()
|
H A D | nf_tables_ipv4.h | 19 pkt->xt.fragoff = ntohs(ip->frag_off) & IP_OFFSET; nft_set_pktinfo_ipv4()
|
/linux-4.4.14/net/ipv6/netfilter/ |
H A D | ip6t_frag.c | 59 pr_debug("INFO %04X ", fh->frag_off); frag_mt6() 60 pr_debug("OFFSET %04X ", ntohs(fh->frag_off) & ~0x7); frag_mt6() 61 pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6); frag_mt6() 62 pr_debug("MF %04X ", fh->frag_off & htons(IP6_MF)); frag_mt6() 72 ntohs(fh->frag_off) & 0x6, frag_mt6() 74 (fh->reserved || (ntohs(fh->frag_off) & 0x06)))); frag_mt6() 77 ntohs(fh->frag_off) & ~0x7, frag_mt6() 79 (ntohs(fh->frag_off) & ~0x7))); frag_mt6() 82 ntohs(fh->frag_off) & IP6_MF, frag_mt6() 84 !((ntohs(fh->frag_off) & IP6_MF)))); frag_mt6() 87 ntohs(fh->frag_off) & IP6_MF, frag_mt6() 89 (ntohs(fh->frag_off) & IP6_MF))); frag_mt6() 96 (fh->reserved || (ntohs(fh->frag_off) & 0x6))) && frag_mt6() 98 (ntohs(fh->frag_off) & ~0x7)) && frag_mt6() 100 !(ntohs(fh->frag_off) & IP6_MF)) && frag_mt6() 102 (ntohs(fh->frag_off) & IP6_MF)); frag_mt6()
|
H A D | nf_conntrack_l3proto_ipv6.c | 74 __be16 frag_off; ipv6_get_l4proto() local 83 protoff = ipv6_skip_exthdr(skb, extoff, &nexthdr, &frag_off); ipv6_get_l4proto() 88 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) { ipv6_get_l4proto() 106 __be16 frag_off; ipv6_helper() local 125 &frag_off); ipv6_helper() 126 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) { ipv6_helper() 142 __be16 frag_off; ipv6_confirm() local 149 &frag_off); ipv6_confirm() 150 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) { ipv6_confirm()
|
H A D | nf_log_ipv6.c | 104 nf_log_buf_add(m, "%u ", ntohs(fh->frag_off) & 0xFFF8); dump_ipv6_packet() 107 if (fh->frag_off & htons(0x0001)) dump_ipv6_packet() 113 if (ntohs(fh->frag_off) & 0xFFF8) dump_ipv6_packet()
|
H A D | nf_nat_l3proto_ipv6.c | 84 __be16 frag_off; nf_nat_ipv6_manip_pkt() local 94 &nexthdr, &frag_off); nf_nat_ipv6_manip_pkt() 98 if ((frag_off & htons(~0x7)) == 0 && nf_nat_ipv6_manip_pkt() 276 __be16 frag_off; nf_nat_ipv6_fn() local 302 &nexthdr, &frag_off); nf_nat_ipv6_fn()
|
H A D | nf_reject_ipv6.c | 25 __be16 frag_off; nf_reject_ip6_tcphdr_get() local 30 &proto, &frag_off); nf_reject_ip6_tcphdr_get()
|
H A D | ip6t_SYNPROXY.c | 330 __be16 frag_off; ipv6_synproxy_hook() local 347 &frag_off); ipv6_synproxy_hook()
|
H A D | nf_conntrack_reasm.c | 234 offset = ntohs(fhdr->frag_off) & ~0x7; nf_ct_frag6_queue() 253 if (!(fhdr->frag_off & htons(IP6_MF))) { nf_ct_frag6_queue()
|
/linux-4.4.14/net/ipv4/netfilter/ |
H A D | nf_log_ipv4.c | 68 if (ntohs(ih->frag_off) & IP_CE) dump_ipv4_packet() 70 if (ntohs(ih->frag_off) & IP_DF) dump_ipv4_packet() 72 if (ntohs(ih->frag_off) & IP_MF) dump_ipv4_packet() 76 if (ntohs(ih->frag_off) & IP_OFFSET) dump_ipv4_packet() 77 nf_log_buf_add(m, "FRAG:%u ", ntohs(ih->frag_off) & IP_OFFSET); dump_ipv4_packet() 103 ntohs(ih->frag_off) & IP_OFFSET, dump_ipv4_packet() 110 ntohs(ih->frag_off) & IP_OFFSET, dump_ipv4_packet() 138 if (ntohs(ih->frag_off) & IP_OFFSET) dump_ipv4_packet() 205 if (ntohs(ih->frag_off) & IP_OFFSET) dump_ipv4_packet() 231 if (ntohs(ih->frag_off) & IP_OFFSET) dump_ipv4_packet()
|
H A D | nf_reject_ipv4.c | 25 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) nf_reject_ip_tcphdr_get() 57 niph->frag_off = htons(IP_DF); nf_reject_iphdr_put() 174 if (skb_in->csum_bad || iph->frag_off & htons(IP_OFFSET)) nf_send_unreach()
|
H A D | nf_dup_ipv4.c | 87 iph->frag_off |= htons(IP_DF); nf_dup_ipv4()
|
H A D | ipt_SYNPROXY.c | 31 iph->frag_off = htons(IP_DF); synproxy_build_ip()
|
H A D | nf_conntrack_l3proto_ipv4.c | 78 if (iph->frag_off & htons(IP_OFFSET)) ipv4_get_l4proto()
|
H A D | ip_tables.c | 315 acpar.fragoff = ntohs(ip->frag_off) & IP_OFFSET; ipt_do_table()
|
/linux-4.4.14/net/netfilter/ipset/ |
H A D | ip_set_getport.c | 108 if (ntohs(iph->frag_off) & IP_OFFSET) ip_set_get_ip4_port() 136 __be16 frag_off = 0; ip_set_get_ip6_port() local 142 &frag_off); ip_set_get_ip6_port() 143 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) ip_set_get_ip6_port()
|
/linux-4.4.14/net/ipv4/ |
H A D | xfrm4_state.c | 63 XFRM_MODE_SKB_CB(skb)->frag_off = iph->frag_off; xfrm4_extract_header()
|
H A D | xfrm4_mode_tunnel.c | 59 top_iph->frag_off = (flags & XFRM_STATE_NOPMTUDISC) ? xfrm4_mode_tunnel_output() 60 0 : (XFRM_MODE_SKB_CB(skb)->frag_off & htons(IP_DF)); xfrm4_mode_tunnel_output()
|
H A D | ah4.c | 135 top_iph->frag_off = iph->frag_off; ah_output_done() 194 iph->frag_off = top_iph->frag_off; ah_output() 209 top_iph->frag_off = 0; ah_output() 249 top_iph->frag_off = iph->frag_off; ah_output() 381 iph->frag_off = 0; ah_input()
|
H A D | xfrm4_mode_beet.c | 31 iph->frag_off = XFRM_MODE_SKB_CB(skb)->frag_off; xfrm4_beet_make_header()
|
H A D | xfrm4_output.c | 28 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->ignore_df) xfrm4_tunnel_check_size()
|
H A D | ip_output.c | 155 iph->frag_off = htons(IP_DF); ip_build_and_send_pkt() 158 iph->frag_off = 0; ip_build_and_send_pkt() 437 iph->frag_off = htons(IP_DF); ip_queue_xmit() 439 iph->frag_off = 0; ip_queue_xmit() 499 if ((iph->frag_off & htons(IP_DF)) == 0) ip_fragment() 605 iph->frag_off = htons(IP_MF); 623 iph->frag_off = htons(offset>>3); 625 iph->frag_off |= htons(IP_MF); 677 offset = (ntohs(iph->frag_off) & IP_OFFSET) << 3; 678 not_last_frag = iph->frag_off & htons(IP_MF); 737 iph->frag_off = htons((offset >> 3)); 740 iph->frag_off |= htons(IP_DF); 756 iph->frag_off |= htons(IP_MF); 1411 iph->frag_off = df; __ip_make_skb()
|
H A D | ipip.c | 250 p.iph.ihl != 5 || (p.iph.frag_off&htons(~IP_DF))) ipip_tunnel_ioctl() 334 parms->iph.frag_off = htons(IP_DF); ipip_netlink_parms() 341 parms->iph.frag_off = htons(IP_DF); ipip_netlink_parms() 456 !!(parm->iph.frag_off & htons(IP_DF)))) ipip_fill_info()
|
H A D | ip_tunnel.c | 618 (inner_iph->frag_off & htons(IP_DF)) && tnl_update_pmtu() 755 if (tnl_update_pmtu(dev, skb, rt, tnl_params->frag_off, inner_iph)) { ip_tunnel_xmit() 783 df = tnl_params->frag_off; ip_tunnel_xmit() 785 df |= (inner_iph->frag_off&htons(IP_DF)); ip_tunnel_xmit() 834 t->parms.iph.frag_off = p->iph.frag_off; ip_tunnel_update() 872 p->iph.frag_off |= htons(IP_DF); ip_tunnel_ioctl()
|
H A D | ip_forward.c | 47 if (unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0)) ip_exceeds_mtu()
|
H A D | ip_fragment.c | 355 offset = ntohs(ip_hdr(skb)->frag_off); ip_frag_queue() 499 if (ip_hdr(skb)->frag_off & htons(IP_DF) && ip_frag_queue() 633 iph->frag_off = htons(IP_DF); ip_frag_reasm() 635 iph->frag_off = 0; ip_frag_reasm()
|
H A D | af_inet.c | 1271 iph->frag_off = htons(offset >> 3); inet_gso_segment() 1273 iph->frag_off |= htons(IP_MF); inet_gso_segment() 1351 ((iph->frag_off ^ iph2->frag_off) & htons(IP_DF)); inet_gro_receive()
|
H A D | ip_tunnel_core.c | 74 iph->frag_off = df; iptunnel_xmit()
|
H A D | ip_gre.c | 683 p.iph.ihl != 5 || (p.iph.frag_off&htons(~IP_DF)) || ipgre_tunnel_ioctl() 998 parms->iph.frag_off = htons(IP_DF); ipgre_netlink_parms() 1156 !!(p->iph.frag_off & htons(IP_DF)))) ipgre_fill_info()
|
H A D | ipmr.c | 1661 iph->frag_off = 0; ip_encap() 1736 if (skb->len+encap > dst_mtu(&rt->dst) && (ntohs(iph->frag_off) & IP_DF)) { ipmr_queue_xmit()
|
H A D | icmp.c | 614 if (iph->frag_off & htons(IP_OFFSET)) icmp_send()
|
H A D | igmp.c | 369 pip->frag_off = htons(IP_DF); igmpv3_newpack() 723 iph->frag_off = htons(IP_DF); igmp_send_report()
|
H A D | ipconfig.c | 831 h->frag_off = htons(IP_DF); ic_bootp_send_if()
|
H A D | route.c | 1707 if (unlikely((outer_iph->frag_off & htons(IP_OFFSET)) != 0)) ip_multipath_icmp_hash()
|
/linux-4.4.14/net/netfilter/ |
H A D | nf_tables_netdev.c | 46 pkt->xt.fragoff = ntohs(iph->frag_off) & IP_OFFSET; nft_netdev_set_pktinfo_ipv4() 57 unsigned short frag_off; __nft_netdev_set_pktinfo_ipv6() local 73 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, NULL); __nft_netdev_set_pktinfo_ipv6() 79 pkt->xt.fragoff = frag_off; __nft_netdev_set_pktinfo_ipv6()
|
H A D | xt_AUDIT.c | 88 if (ntohs(ih->frag_off) & IP_OFFSET) { audit_ip4() 101 __be16 frag_off; audit_ip6() local 112 &nexthdr, &frag_off); audit_ip6()
|
H A D | xt_TCPOPTSTRIP.c | 105 __be16 frag_off; tcpoptstrip_tg6() local 108 tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off); tcpoptstrip_tg6()
|
H A D | xt_TCPMSS.c | 231 __be16 frag_off; tcpmss_tg6() local 236 tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off); tcpmss_tg6()
|
H A D | xt_HMARK.c | 284 if (ip->frag_off & htons(IP_MF | IP_OFFSET)) hmark_pkt_set_htuple_ipv4()
|
H A D | xt_osf.c | 216 df = ntohs(ip->frag_off) & IP_DF; xt_osf_match_packet()
|
H A D | xt_hashlimit.c | 545 __be16 frag_off; hashlimit_init_dst() local 562 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, &frag_off); hashlimit_init_dst()
|
/linux-4.4.14/net/rds/ |
H A D | ib_recv.c | 524 unsigned long frag_off = 0; rds_ib_inc_copy_to_user() local 534 if (frag_off == RDS_FRAG_SIZE) { rds_ib_inc_copy_to_user() 537 frag_off = 0; rds_ib_inc_copy_to_user() 540 RDS_FRAG_SIZE - frag_off); rds_ib_inc_copy_to_user() 546 frag->f_sg.offset + frag_off, rds_ib_inc_copy_to_user() 552 frag_off += to_copy; rds_ib_inc_copy_to_user() 771 unsigned long frag_off; rds_ib_cong_recv() local 786 frag_off = 0; rds_ib_cong_recv() 794 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); rds_ib_cong_recv() 799 src = addr + frag_off; rds_ib_cong_recv() 817 frag_off += to_copy; rds_ib_cong_recv() 818 if (frag_off == RDS_FRAG_SIZE) { rds_ib_cong_recv() 821 frag_off = 0; rds_ib_cong_recv()
|
H A D | iw_recv.c | 311 unsigned long frag_off = 0; rds_iw_inc_copy_to_user() local 321 if (frag_off == RDS_FRAG_SIZE) { rds_iw_inc_copy_to_user() 324 frag_off = 0; rds_iw_inc_copy_to_user() 327 RDS_FRAG_SIZE - frag_off); rds_iw_inc_copy_to_user() 333 frag->f_offset + frag_off, rds_iw_inc_copy_to_user() 339 frag_off += to_copy; rds_iw_inc_copy_to_user() 560 unsigned long frag_off; rds_iw_cong_recv() local 575 frag_off = 0; rds_iw_cong_recv() 583 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); rds_iw_cong_recv() 588 src = addr + frag_off; rds_iw_cong_recv() 606 frag_off += to_copy; rds_iw_cong_recv() 607 if (frag_off == RDS_FRAG_SIZE) { rds_iw_cong_recv() 610 frag_off = 0; rds_iw_cong_recv()
|
/linux-4.4.14/net/bridge/netfilter/ |
H A D | ebt_ip6.c | 60 __be16 frag_off; ebt_ip6_mt() local 63 offset_ph = ipv6_skip_exthdr(skb, sizeof(_ip6h), &nexthdr, &frag_off); ebt_ip6_mt()
|
H A D | ebt_ip.c | 56 if (ntohs(ih->frag_off) & IP_OFFSET) ebt_ip_mt()
|
H A D | ebt_log.c | 120 __be16 frag_off; ebt_log_packet() local 131 offset_ph = ipv6_skip_exthdr(skb, sizeof(_iph), &nexthdr, &frag_off); ebt_log_packet()
|
H A D | nft_reject_bridge.c | 93 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) nft_reject_br_send_v4_unreach()
|
/linux-4.4.14/net/openvswitch/ |
H A D | flow.c | 257 __be16 frag_off; parse_ipv6hdr() local 275 payload_ofs = ipv6_skip_exthdr(skb, payload_ofs, &nexthdr, &frag_off); parse_ipv6hdr() 277 if (frag_off) { parse_ipv6hdr() 278 if (frag_off & htons(~0x7)) parse_ipv6hdr() 287 * always sets frag_off to a valid value which may be parse_ipv6hdr() 522 offset = nh->frag_off & htons(IP_OFFSET); key_extract() 527 if (nh->frag_off & htons(IP_MF) || key_extract()
|
H A D | conntrack.c | 281 __be16 frag_off; ovs_ct_helper() local 285 &frag_off); ovs_ct_helper() 286 if (ofs < 0 || (frag_off & htons(~0x7)) != 0) { ovs_ct_helper()
|
H A D | actions.c | 293 if (nh->frag_off & htons(IP_OFFSET)) update_ip_l4_checksum()
|
/linux-4.4.14/security/ |
H A D | lsm_audit.c | 58 if (ntohs(ih->frag_off) & IP_OFFSET) ipv4_skb_to_auditdata() 117 __be16 frag_off; ipv6_skb_to_auditdata() local 130 offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); ipv6_skb_to_auditdata()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | ip.h | 98 __be16 frag_off; member in struct:iphdr
|
/linux-4.4.14/net/sched/ |
H A D | act_nat.c | 145 } else if ((iph->frag_off & htons(IP_OFFSET)) || tcf_nat() 153 switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) { tcf_nat()
|
H A D | act_csum.c | 334 switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) { tcf_csum_ipv4()
|
/linux-4.4.14/net/ipv6/ |
H A D | exthdrs_core.c | 91 frag_off), ipv6_skip_exthdr() 245 frag_off), ipv6_find_hdr()
|
H A D | ip6_input.c | 316 __be16 frag_off; ip6_mc_input() local 330 &nexthdr, &frag_off); ip6_mc_input()
|
H A D | ip6_offload.c | 126 fptr->frag_off = htons(offset); ipv6_gso_segment() 128 fptr->frag_off |= htons(IP6_MF); ipv6_gso_segment()
|
H A D | mcast_snoop.c | 52 __be16 frag_off; ipv6_mc_check_exthdrs() local 61 offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); ipv6_mc_check_exthdrs()
|
H A D | icmp.c | 151 __be16 frag_off; is_ineligible() local 156 ptr = ipv6_skip_exthdr(skb, ptr, &nexthdr, &frag_off); is_ineligible() 638 __be16 frag_off; icmpv6_notify() local 649 &nexthdr, &frag_off); icmpv6_notify()
|
H A D | reassembly.c | 221 offset = ntohs(fhdr->frag_off) & ~0x7; ip6_frag_queue() 229 ((u8 *)&fhdr->frag_off - ip6_frag_queue() 244 if (!(fhdr->frag_off & htons(IP6_MF))) { ip6_frag_queue() 544 if (!(fhdr->frag_off & htons(0xFFF9))) { ipv6_frag_rcv()
|
H A D | xfrm6_state.c | 162 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); xfrm6_extract_header()
|
H A D | ip6_output.c | 284 __be16 frag_off; ip6_forward_proxy_check() local 288 offset = ipv6_skip_exthdr(skb, sizeof(*hdr), &nexthdr, &frag_off); ip6_forward_proxy_check() 663 fh->frag_off = htons(IP6_MF); 688 fh->frag_off = htons(offset); 690 fh->frag_off |= htons(IP6_MF); 810 fh->frag_off = htons(offset); 812 fh->frag_off |= htons(IP6_MF);
|
H A D | sit.c | 813 __be16 df = tiph->frag_off; ipip6_tunnel_xmit() 1200 p.iph.ihl != 5 || (p.iph.frag_off&htons(~IP_DF))) ipip6_tunnel_ioctl() 1203 p.iph.frag_off |= htons(IP_DF); ipip6_tunnel_ioctl() 1454 parms->iph.frag_off = htons(IP_DF); ipip6_netlink_parms() 1461 parms->iph.frag_off = htons(IP_DF); ipip6_netlink_parms() 1675 !!(parm->iph.frag_off & htons(IP_DF))) || ipip6_fill_info()
|
H A D | ip6_tunnel.c | 494 if (frag_hdr->frag_off) ip6_tnl_parse_tlv_enc_lim()
|
/linux-4.4.14/drivers/staging/octeon/ |
H A D | ethernet-tx.c | 401 ((ip_hdr(skb)->frag_off == 0) || cvm_oct_xmit() 402 (ip_hdr(skb)->frag_off == htons(1 << 14))) && cvm_oct_xmit() 632 work->word2.s.is_frag = !((ip_hdr(skb)->frag_off == 0) cvm_oct_xmit_pow() 633 || (ip_hdr(skb)->frag_off == cvm_oct_xmit_pow()
|
/linux-4.4.14/samples/bpf/ |
H A D | sockex2_kern.c | 47 return load_half(ctx, nhoff + offsetof(struct iphdr, frag_off)) ip_is_fragment()
|
H A D | sockex3_kern.c | 76 return load_half(ctx, nhoff + offsetof(struct iphdr, frag_off)) ip_is_fragment()
|
/linux-4.4.14/drivers/net/slip/ |
H A D | slhc.c | 253 if (ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x3fff)) { slhc_compress() 349 || (ip->frag_off & htons(0x4000)) != (cs->cs_ip.frag_off & htons(0x4000)) slhc_compress()
|
/linux-4.4.14/drivers/firewire/ |
H A D | net.c | 358 void *frag_buf, unsigned frag_off, unsigned frag_len) fwnet_pd_new() 368 fi = fwnet_frag_new(new, frag_off, frag_len); fwnet_pd_new() 380 memcpy(new->pbuf + frag_off, frag_buf, frag_len); fwnet_pd_new() 420 unsigned frag_off, unsigned frag_len) fwnet_pd_update() 422 if (fwnet_frag_new(pd, frag_off, frag_len) == NULL) fwnet_pd_update() 425 memcpy(pd->pbuf + frag_off, frag_buf, frag_len); fwnet_pd_update() 356 fwnet_pd_new(struct net_device *net, struct fwnet_peer *peer, u16 datagram_label, unsigned dg_size, void *frag_buf, unsigned frag_off, unsigned frag_len) fwnet_pd_new() argument 418 fwnet_pd_update(struct fwnet_peer *peer, struct fwnet_partial_datagram *pd, void *frag_buf, unsigned frag_off, unsigned frag_len) fwnet_pd_update() argument
|
/linux-4.4.14/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 240 else if (ih->frag_off & htons(IP_OFFSET)) ip_vs_tcpudp_debug_packet_v4()
|
H A D | ip_vs_core.c | 953 if (unlikely(cih->frag_off & htons(IP_OFFSET) && ip_vs_out_icmp() 1441 if (unlikely(cih->frag_off & htons(IP_OFFSET))) ip_vs_in_icmp() 1459 if (unlikely(cih->frag_off & htons(IP_OFFSET) && ip_vs_in_icmp() 1506 __be16 frag_off = cih->frag_off; ip_vs_in_icmp() local 1518 if (!(frag_off & htons(IP_DF))) ip_vs_in_icmp()
|
H A D | ip_vs_xmit.c | 243 if (unlikely(ip_hdr(skb)->frag_off & htons(IP_DF) && ensure_mtu_is_adequate() 922 *df = (old_iph->frag_off & htons(IP_DF)); ip_vs_prepare_tunneled_skb() 1039 iph->frag_off = df; ip_vs_tunnel_xmit()
|
/linux-4.4.14/drivers/net/ppp/ |
H A D | pptp.c | 270 iph->frag_off = htons(IP_DF); pptp_xmit() 272 iph->frag_off = 0; pptp_xmit()
|
/linux-4.4.14/net/core/ |
H A D | flow_dissector.c | 194 if (iph->frag_off & htons(IP_OFFSET)) { htons() 451 if (!(fh->frag_off & htons(IP6_OFFSET))) {
|
H A D | netpoll.c | 459 iph->frag_off = 0; netpoll_send_udp()
|
H A D | skbuff.c | 3877 if (ip_hdr(skb)->frag_off & htons(IP_OFFSET | IP_MF)) skb_checksum_setup_ipv4() 3978 if (hp->frag_off & htons(IP6_OFFSET | IP6_MF)) skb_checksum_setup_ipv6()
|
H A D | pktgen.c | 2891 iph->frag_off = 0; fill_packet_ipv4()
|
/linux-4.4.14/include/net/ |
H A D | ip.h | 263 return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0; ip_is_fragment() 341 if ((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) { ip_select_ident_segs()
|
H A D | ipv6.h | 108 __be16 frag_off; member in struct:frag_hdr
|
H A D | xfrm.h | 657 __be16 frag_off; member in struct:xfrm_mode_skb_cb
|
/linux-4.4.14/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 174 ip->frag_off = 0; create_payload()
|
/linux-4.4.14/net/bridge/ |
H A D | br_netfilter_hooks.c | 699 if (unlikely(((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) || br_nf_ip_fragment()
|
H A D | br_multicast.c | 399 iph->frag_off = htons(IP_DF); br_ip4_multicast_alloc_query()
|
/linux-4.4.14/security/selinux/ |
H A D | hooks.c | 3781 if (ntohs(ih->frag_off) & IP_OFFSET) selinux_parse_skb_ipv4() 3797 if (ntohs(ih->frag_off) & IP_OFFSET) selinux_parse_skb_ipv4() 3813 if (ntohs(ih->frag_off) & IP_OFFSET) selinux_parse_skb_ipv4() 3842 __be16 frag_off; selinux_parse_skb_ipv6() local 3855 offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); selinux_parse_skb_ipv6()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_main.c | 1608 if (!(iph->frag_off & ql_process_mac_rx_page() 1722 if (!(iph->frag_off & ql_process_mac_rx_skb() 2036 if (!(iph->frag_off & ql_process_mac_split_rx_intr()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 1386 if (iph->frag_off != 0 && !(pkt_flags & RRS_IS_IP_DF)) atl1e_rx_checksum()
|
/linux-4.4.14/security/smack/ |
H A D | smack_lsm.c | 3871 __be16 frag_off; smk_skb_to_addr_ipv6() local 3886 offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); smk_skb_to_addr_ipv6()
|
/linux-4.4.14/drivers/net/ethernet/packetengines/ |
H A D | hamachi.c | 1526 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) { hamachi_rx()
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_main.c | 2618 return (ip_hdr(skb)->frag_off & htons(IP_MF | IP_OFFSET)) ? 1 : 0; is_ip_fragmented()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
H A D | nes_cm.c | 481 iph->frag_off = htons(0x4000); form_cm_frame()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 3712 (__force u32)iph->frag_off; bnx2x_update_pbds_gso_enc()
|