Home
last modified time | relevance | path

Searched refs:swkey (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-4.19/net/openvswitch/
Dflow_netlink.c1958 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key() argument
1976 if ((swkey->tun_proto || is_mask)) { in __ovs_nla_put_key()
1980 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); in __ovs_nla_put_key()
1983 swkey->tun_opts_len, swkey->tun_proto)) in __ovs_nla_put_key()
1987 if (swkey->phy.in_port == DP_MAX_PORTS) { in __ovs_nla_put_key()
2003 if (ovs_ct_put_key(swkey, output, skb)) in __ovs_nla_put_key()
2006 if (ovs_key_mac_proto(swkey) == MAC_PROTO_ETHERNET) { in __ovs_nla_put_key()
2015 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
2019 if (!swkey->eth.vlan.tci) in __ovs_nla_put_key()
2022 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
[all …]
Dconntrack.h37 int ovs_ct_put_key(const struct sw_flow_key *swkey,
97 static inline int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
Dconntrack.c286 int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
305 if (swkey->ct_orig_proto) { in ovs_ct_put_key()
306 if (swkey->eth.type == htons(ETH_P_IP)) { in ovs_ct_put_key()
319 } else if (swkey->eth.type == htons(ETH_P_IPV6)) { in ovs_ct_put_key()
/kernel/linux/linux-5.10/net/openvswitch/
Dconntrack.h29 int ovs_ct_put_key(const struct sw_flow_key *swkey,
89 static inline int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
Dflow_netlink.c1987 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key() argument
2005 if ((swkey->tun_proto || is_mask)) { in __ovs_nla_put_key()
2009 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); in __ovs_nla_put_key()
2012 swkey->tun_opts_len, swkey->tun_proto, 0)) in __ovs_nla_put_key()
2016 if (swkey->phy.in_port == DP_MAX_PORTS) { in __ovs_nla_put_key()
2032 if (ovs_ct_put_key(swkey, output, skb)) in __ovs_nla_put_key()
2035 if (ovs_key_mac_proto(swkey) == MAC_PROTO_ETHERNET) { in __ovs_nla_put_key()
2044 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
2048 if (!swkey->eth.vlan.tci) in __ovs_nla_put_key()
2051 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
[all …]
Dconntrack.c279 int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
298 if (swkey->ct_orig_proto) { in ovs_ct_put_key()
299 if (swkey->eth.type == htons(ETH_P_IP)) { in ovs_ct_put_key()
312 } else if (swkey->eth.type == htons(ETH_P_IPV6)) { in ovs_ct_put_key()