Searched refs:tun_flags (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/net/openvswitch/
H A Dflow.h47 __be16 tun_flags; member in struct:ovs_key_ipv4_tunnel
75 __be16 tun_flags, __ovs_flow_tun_info_init()
84 tun_info->tunnel.tun_flags = tun_flags; __ovs_flow_tun_info_init()
107 __be16 tun_flags, ovs_flow_tun_info_init()
114 tun_id, tun_flags, ovs_flow_tun_info_init()
69 __ovs_flow_tun_info_init(struct ovs_tunnel_info *tun_info, __be32 saddr, __be32 daddr, u8 tos, u8 ttl, __be16 tp_src, __be16 tp_dst, __be64 tun_id, __be16 tun_flags, const void *opts, u8 opts_len) __ovs_flow_tun_info_init() argument
102 ovs_flow_tun_info_init(struct ovs_tunnel_info *tun_info, const struct iphdr *iph, __be16 tp_src, __be16 tp_dst, __be64 tun_id, __be16 tun_flags, const void *opts, u8 opts_len) ovs_flow_tun_info_init() argument
H A Dvport-geneve.c198 df = tun_key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0; geneve_tnl_send()
203 if (tun_key->tun_flags & TUNNEL_GENEVE_OPT) { geneve_tnl_send()
214 tun_key->tun_flags, vni, opts_len, opts, geneve_tnl_send()
215 !!(tun_key->tun_flags & TUNNEL_CSUM), false); geneve_tnl_send()
H A Dvport-gre.c74 skb = gre_handle_offloads(skb, !!(tun_key->tun_flags & TUNNEL_CSUM)); __build_header()
78 tpi.flags = filter_tnl_flags(tun_key->tun_flags); __build_header()
157 tunnel_hlen = ip_gre_calc_hlen(tun_key->tun_flags); gre_tnl_send()
186 df = tun_key->tun_flags & TUNNEL_DONT_FRAGMENT ? gre_tnl_send()
H A Dvport-vxlan.c214 if (tun_info->tunnel.tun_flags & TUNNEL_VXLAN_OPT && vxlan_ext_gbp()
248 df = tun_key->tun_flags & TUNNEL_DONT_FRAGMENT ? vxlan_tnl_send()
257 (tun_key->tun_flags & TUNNEL_CSUM ? VXLAN_F_UDP_CSUM : 0); vxlan_tnl_send()
H A Dflow_netlink.c510 __be16 tun_flags = 0; ipv4_tun_from_nlattr() local
534 tun_flags |= TUNNEL_KEY; nla_for_each_nested()
554 tun_flags |= TUNNEL_DONT_FRAGMENT; nla_for_each_nested()
557 tun_flags |= TUNNEL_CSUM; nla_for_each_nested()
568 tun_flags |= TUNNEL_OAM; nla_for_each_nested()
580 tun_flags |= TUNNEL_GENEVE_OPT; nla_for_each_nested()
593 tun_flags |= TUNNEL_VXLAN_OPT; nla_for_each_nested()
603 SW_FLOW_KEY_PUT(match, tun_key.tun_flags, tun_flags, is_mask);
647 if (output->tun_flags & TUNNEL_KEY && __ipv4_tun_to_nlattr()
663 if ((output->tun_flags & TUNNEL_DONT_FRAGMENT) && __ipv4_tun_to_nlattr()
666 if ((output->tun_flags & TUNNEL_CSUM) && __ipv4_tun_to_nlattr()
675 if ((output->tun_flags & TUNNEL_OAM) && __ipv4_tun_to_nlattr()
679 if (output->tun_flags & TUNNEL_GENEVE_OPT && __ipv4_tun_to_nlattr()
683 else if (output->tun_flags & TUNNEL_VXLAN_OPT && __ipv4_tun_to_nlattr()
1293 if (output->tun_key.tun_flags & TUNNEL_OPTIONS_PRESENT) __ovs_nla_put_key()
1739 key->tun_key.tun_flags |= crit_opt ? TUNNEL_CRIT_OPT : 0; validate_geneve_opts()
H A Dvport.c611 tun_key->tun_flags, ovs_tunnel_get_egress_info()
/linux-4.1.27/include/net/
H A Dgeneve.h92 __be16 tun_flags, u8 vni[3], u8 opt_len, u8 *opt,
/linux-4.1.27/net/ipv4/
H A Dgeneve.c84 __be16 tun_flags, u8 vni[3], geneve_build_header()
89 geneveh->oam = !!(tun_flags & TUNNEL_OAM); geneve_build_header()
90 geneveh->critical = !!(tun_flags & TUNNEL_CRIT_OPT); geneve_build_header()
109 __be16 tun_flags, u8 vni[3], u8 opt_len, u8 *opt, geneve_xmit_skb()
135 geneve_build_header(gnvh, tun_flags, vni, opt_len, opt); geneve_xmit_skb()
83 geneve_build_header(struct genevehdr *geneveh, __be16 tun_flags, u8 vni[3], u8 options_len, u8 *options) geneve_build_header() argument
106 geneve_xmit_skb(struct geneve_sock *gs, struct rtable *rt, struct sk_buff *skb, __be32 src, __be32 dst, __u8 tos, __u8 ttl, __be16 df, __be16 src_port, __be16 dst_port, __be16 tun_flags, u8 vni[3], u8 opt_len, u8 *opt, bool csum, bool xnet) geneve_xmit_skb() argument
/linux-4.1.27/drivers/net/
H A Dtun.c1515 static int tun_flags(struct tun_struct *tun) tun_flags() function
1524 return sprintf(buf, "0x%x\n", tun_flags(tun)); tun_show_flags()
1547 static DEVICE_ATTR(tun_flags, 0444, tun_show_flags, NULL);
1713 ifr->ifr_flags = tun_flags(tun); tun_get_iff()

Completed in 305 milliseconds