Searched refs:df (Results 1 – 9 of 9) sorted by relevance
/net/netfilter/ |
D | nfnetlink_osf.c | 57 bool df; member 181 ctx->df = ntohs(ip->frag_off) & IP_DF; in nf_osf_hdr_ctx_init() 220 list_for_each_entry_rcu(kf, &nf_osf_fingers[ctx.df], finger_entry) { in nf_osf_match() 280 list_for_each_entry_rcu(kf, &nf_osf_fingers[ctx.df], finger_entry) { in nf_osf_find() 333 list_for_each_entry(sf, &nf_osf_fingers[!!f->df], finger_entry) { in nfnl_osf_add_callback() 349 list_add_tail_rcu(&kf->finger_entry, &nf_osf_fingers[!!f->df]); in nfnl_osf_add_callback() 372 list_for_each_entry(sf, &nf_osf_fingers[!!f->df], finger_entry) { in nfnl_osf_remove_callback()
|
/net/ipv4/ |
D | ip_tunnel.c | 485 struct rtable *rt, __be16 df, in tnl_update_pmtu() argument 497 if (df) { in tnl_update_pmtu() 567 __be16 df = 0; in ip_md_tunnel_xmit() local 611 df = htons(IP_DF); in ip_md_tunnel_xmit() 612 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, tunnel_hlen, in ip_md_tunnel_xmit() 638 df, !net_eq(tunnel->net, dev_net(dev))); in ip_md_tunnel_xmit() 664 __be16 df; in ip_tunnel_xmit() local 780 df = tnl_params->frag_off; in ip_tunnel_xmit() 782 df |= (inner_iph->frag_off & htons(IP_DF)); in ip_tunnel_xmit() 784 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, 0, 0, false)) { in ip_tunnel_xmit() [all …]
|
D | udp_tunnel_core.c | 173 __be16 df, __be16 src_port, __be16 dst_port, in udp_tunnel_xmit_skb() argument 190 iptunnel_xmit(sk, rt, skb, src, dst, IPPROTO_UDP, tos, ttl, df, xnet); in udp_tunnel_xmit_skb()
|
D | ip_tunnel_core.c | 52 __u8 tos, __u8 ttl, __be16 df, bool xnet) in iptunnel_xmit() argument 74 iph->frag_off = ip_mtu_locked(&rt->dst) ? 0 : df; in iptunnel_xmit()
|
D | ip_output.c | 1495 __be16 df = 0; in __ip_make_skb() local 1530 df = htons(IP_DF); in __ip_make_skb() 1546 iph->frag_off = df; in __ip_make_skb()
|
/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 950 __be16 *df) in ip_vs_prepare_tunneled_skb() argument 981 if (df) in ip_vs_prepare_tunneled_skb() 982 *df = 0; in ip_vs_prepare_tunneled_skb() 988 if (df) in ip_vs_prepare_tunneled_skb() 989 *df = (old_iph->frag_off & htons(IP_DF)); in ip_vs_prepare_tunneled_skb() 1144 __be16 df = 0; in ip_vs_tunnel_xmit() local 1197 dfp = sysctl_pmtu_disc(ipvs) ? &df : NULL; in ip_vs_tunnel_xmit() 1254 iph->frag_off = df; in ip_vs_tunnel_xmit()
|
/net/ipv6/ |
D | datagram.c | 1014 int df; in ip6_datagram_send_ctl() local 1020 df = *(int *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 1021 if (df < 0 || df > 1) in ip6_datagram_send_ctl() 1025 ipc6->dontfrag = df; in ip6_datagram_send_ctl()
|
D | sit.c | 859 __be16 df = tiph->frag_off; in ipip6_tunnel_xmit() local 968 if (df) { in ipip6_tunnel_xmit() 979 df = 0; in ipip6_tunnel_xmit() 1034 df, !net_eq(tunnel->net, dev_net(dev))); in ipip6_tunnel_xmit()
|
/net/mptcp/ |
D | protocol.c | 770 const struct mptcp_data_frag *df) in mptcp_frag_can_collapse_to() argument 772 return df && pfrag->page == df->page && in mptcp_frag_can_collapse_to() 773 pfrag->offset == (df->offset + df->data_len) && in mptcp_frag_can_collapse_to() 774 df->data_seq + df->data_len == msk->write_seq; in mptcp_frag_can_collapse_to()
|