Home
last modified time | relevance | path

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

/openbmc/linux/net/openvswitch/
H A Dflow_netlink.c1521 const struct ovs_key_ethernet *eth_key; in ovs_key_from_nlattrs() local
1523 eth_key = nla_data(a[OVS_KEY_ATTR_ETHERNET]); in ovs_key_from_nlattrs()
1525 eth_key->eth_src, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
1527 eth_key->eth_dst, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
2015 struct ovs_key_ethernet *eth_key; in __ovs_nla_put_key() local
2060 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key()
2064 eth_key = nla_data(nla); in __ovs_nla_put_key()
2065 ether_addr_copy(eth_key->eth_src, output->eth.src); in __ovs_nla_put_key()
2066 ether_addr_copy(eth_key->eth_dst, output->eth.dst); in __ovs_nla_put_key()