Home
last modified time | relevance | path

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

/linux-6.1.9/net/openvswitch/
Dflow_netlink.c2008 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key() argument
2026 if ((swkey->tun_proto || is_mask)) { in __ovs_nla_put_key()
2030 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); in __ovs_nla_put_key()
2033 swkey->tun_opts_len, swkey->tun_proto, 0)) in __ovs_nla_put_key()
2037 if (swkey->phy.in_port == DP_MAX_PORTS) { in __ovs_nla_put_key()
2053 if (ovs_ct_put_key(swkey, output, skb)) in __ovs_nla_put_key()
2056 if (ovs_key_mac_proto(swkey) == MAC_PROTO_ETHERNET) { in __ovs_nla_put_key()
2065 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
2069 if (!swkey->eth.vlan.tci) in __ovs_nla_put_key()
2072 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
[all …]
Dconntrack.h30 int ovs_ct_put_key(const struct sw_flow_key *swkey,
91 static inline int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
Dconntrack.c283 int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
302 if (swkey->ct_orig_proto) { in ovs_ct_put_key()
303 if (swkey->eth.type == htons(ETH_P_IP)) { in ovs_ct_put_key()
316 } else if (swkey->eth.type == htons(ETH_P_IPV6)) { in ovs_ct_put_key()