Searched refs:frag_off (Results 1 - 91 of 91) sorted by relevance

/linux-4.4.14/include/net/netfilter/
H A Dnf_tables_ipv6.h13 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 Dnf_tables_ipv4.h19 pkt->xt.fragoff = ntohs(ip->frag_off) & IP_OFFSET; nft_set_pktinfo_ipv4()
/linux-4.4.14/net/ipv6/netfilter/
H A Dip6t_frag.c59 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 Dnf_conntrack_l3proto_ipv6.c74 __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 Dnf_log_ipv6.c104 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 Dnf_nat_l3proto_ipv6.c84 __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 Dnf_reject_ipv6.c25 __be16 frag_off; nf_reject_ip6_tcphdr_get() local
30 &proto, &frag_off); nf_reject_ip6_tcphdr_get()
H A Dip6t_SYNPROXY.c330 __be16 frag_off; ipv6_synproxy_hook() local
347 &frag_off); ipv6_synproxy_hook()
H A Dnf_conntrack_reasm.c234 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 Dnf_log_ipv4.c68 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 Dnf_reject_ipv4.c25 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 Dnf_dup_ipv4.c87 iph->frag_off |= htons(IP_DF); nf_dup_ipv4()
H A Dipt_SYNPROXY.c31 iph->frag_off = htons(IP_DF); synproxy_build_ip()
H A Dnf_conntrack_l3proto_ipv4.c78 if (iph->frag_off & htons(IP_OFFSET)) ipv4_get_l4proto()
H A Dip_tables.c315 acpar.fragoff = ntohs(ip->frag_off) & IP_OFFSET; ipt_do_table()
/linux-4.4.14/net/netfilter/ipset/
H A Dip_set_getport.c108 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 Dxfrm4_state.c63 XFRM_MODE_SKB_CB(skb)->frag_off = iph->frag_off; xfrm4_extract_header()
H A Dxfrm4_mode_tunnel.c59 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 Dah4.c135 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 Dxfrm4_mode_beet.c31 iph->frag_off = XFRM_MODE_SKB_CB(skb)->frag_off; xfrm4_beet_make_header()
H A Dxfrm4_output.c28 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->ignore_df) xfrm4_tunnel_check_size()
H A Dip_output.c155 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 Dipip.c250 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 Dip_tunnel.c618 (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 Dip_forward.c47 if (unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0)) ip_exceeds_mtu()
H A Dip_fragment.c355 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 Daf_inet.c1271 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 Dip_tunnel_core.c74 iph->frag_off = df; iptunnel_xmit()
H A Dip_gre.c683 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 Dipmr.c1661 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 Dicmp.c614 if (iph->frag_off & htons(IP_OFFSET)) icmp_send()
H A Digmp.c369 pip->frag_off = htons(IP_DF); igmpv3_newpack()
723 iph->frag_off = htons(IP_DF); igmp_send_report()
H A Dipconfig.c831 h->frag_off = htons(IP_DF); ic_bootp_send_if()
H A Droute.c1707 if (unlikely((outer_iph->frag_off & htons(IP_OFFSET)) != 0)) ip_multipath_icmp_hash()
/linux-4.4.14/net/netfilter/
H A Dnf_tables_netdev.c46 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 Dxt_AUDIT.c88 if (ntohs(ih->frag_off) & IP_OFFSET) { audit_ip4()
101 __be16 frag_off; audit_ip6() local
112 &nexthdr, &frag_off); audit_ip6()
H A Dxt_TCPOPTSTRIP.c105 __be16 frag_off; tcpoptstrip_tg6() local
108 tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off); tcpoptstrip_tg6()
H A Dxt_TCPMSS.c231 __be16 frag_off; tcpmss_tg6() local
236 tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off); tcpmss_tg6()
H A Dxt_HMARK.c284 if (ip->frag_off & htons(IP_MF | IP_OFFSET)) hmark_pkt_set_htuple_ipv4()
H A Dxt_osf.c216 df = ntohs(ip->frag_off) & IP_DF; xt_osf_match_packet()
H A Dxt_hashlimit.c545 __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 Dib_recv.c524 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 Diw_recv.c311 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 Debt_ip6.c60 __be16 frag_off; ebt_ip6_mt() local
63 offset_ph = ipv6_skip_exthdr(skb, sizeof(_ip6h), &nexthdr, &frag_off); ebt_ip6_mt()
H A Debt_ip.c56 if (ntohs(ih->frag_off) & IP_OFFSET) ebt_ip_mt()
H A Debt_log.c120 __be16 frag_off; ebt_log_packet() local
131 offset_ph = ipv6_skip_exthdr(skb, sizeof(_iph), &nexthdr, &frag_off); ebt_log_packet()
H A Dnft_reject_bridge.c93 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET)) nft_reject_br_send_v4_unreach()
/linux-4.4.14/net/openvswitch/
H A Dflow.c257 __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 Dconntrack.c281 __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 Dactions.c293 if (nh->frag_off & htons(IP_OFFSET)) update_ip_l4_checksum()
/linux-4.4.14/security/
H A Dlsm_audit.c58 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 Dip.h98 __be16 frag_off; member in struct:iphdr
/linux-4.4.14/net/sched/
H A Dact_nat.c145 } 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 Dact_csum.c334 switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) { tcf_csum_ipv4()
/linux-4.4.14/net/ipv6/
H A Dexthdrs_core.c91 frag_off), ipv6_skip_exthdr()
245 frag_off), ipv6_find_hdr()
H A Dip6_input.c316 __be16 frag_off; ip6_mc_input() local
330 &nexthdr, &frag_off); ip6_mc_input()
H A Dip6_offload.c126 fptr->frag_off = htons(offset); ipv6_gso_segment()
128 fptr->frag_off |= htons(IP6_MF); ipv6_gso_segment()
H A Dmcast_snoop.c52 __be16 frag_off; ipv6_mc_check_exthdrs() local
61 offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); ipv6_mc_check_exthdrs()
H A Dicmp.c151 __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 Dreassembly.c221 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 Dxfrm6_state.c162 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); xfrm6_extract_header()
H A Dip6_output.c284 __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 Dsit.c813 __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 Dip6_tunnel.c494 if (frag_hdr->frag_off) ip6_tnl_parse_tlv_enc_lim()
/linux-4.4.14/drivers/staging/octeon/
H A Dethernet-tx.c401 ((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 Dsockex2_kern.c47 return load_half(ctx, nhoff + offsetof(struct iphdr, frag_off)) ip_is_fragment()
H A Dsockex3_kern.c76 return load_half(ctx, nhoff + offsetof(struct iphdr, frag_off)) ip_is_fragment()
/linux-4.4.14/drivers/net/slip/
H A Dslhc.c253 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 Dnet.c358 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 Dip_vs_proto.c240 else if (ih->frag_off & htons(IP_OFFSET)) ip_vs_tcpudp_debug_packet_v4()
H A Dip_vs_core.c953 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 Dip_vs_xmit.c243 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 Dpptp.c270 iph->frag_off = htons(IP_DF); pptp_xmit()
272 iph->frag_off = 0; pptp_xmit()
/linux-4.4.14/net/core/
H A Dflow_dissector.c194 if (iph->frag_off & htons(IP_OFFSET)) { htons()
451 if (!(fh->frag_off & htons(IP6_OFFSET))) {
H A Dnetpoll.c459 iph->frag_off = 0; netpoll_send_udp()
H A Dskbuff.c3877 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 Dpktgen.c2891 iph->frag_off = 0; fill_packet_ipv4()
/linux-4.4.14/include/net/
H A Dip.h263 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 Dipv6.h108 __be16 frag_off; member in struct:frag_hdr
H A Dxfrm.h657 __be16 frag_off; member in struct:xfrm_mode_skb_cb
/linux-4.4.14/tools/testing/selftests/net/
H A Dpsock_tpacket.c174 ip->frag_off = 0; create_payload()
/linux-4.4.14/net/bridge/
H A Dbr_netfilter_hooks.c699 if (unlikely(((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) || br_nf_ip_fragment()
H A Dbr_multicast.c399 iph->frag_off = htons(IP_DF); br_ip4_multicast_alloc_query()
/linux-4.4.14/security/selinux/
H A Dhooks.c3781 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 Dqlge_main.c1608 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 Datl1e_main.c1386 if (iph->frag_off != 0 && !(pkt_flags & RRS_IS_IP_DF)) atl1e_rx_checksum()
/linux-4.4.14/security/smack/
H A Dsmack_lsm.c3871 __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 Dhamachi.c1526 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) { hamachi_rx()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c2618 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 Dnes_cm.c481 iph->frag_off = htons(0x4000); form_cm_frame()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c3712 (__force u32)iph->frag_off; bnx2x_update_pbds_gso_enc()

Completed in 2324 milliseconds