Home
last modified time | relevance | path

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

/linux-4.1.27/net/openvswitch/
Dflow_netlink.c785 const struct ovs_key_ethernet *eth_key; in ovs_key_from_nlattrs() local
787 eth_key = nla_data(a[OVS_KEY_ATTR_ETHERNET]); in ovs_key_from_nlattrs()
789 eth_key->eth_src, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
791 eth_key->eth_dst, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
1278 struct ovs_key_ethernet *eth_key; in __ovs_nla_put_key() local
1317 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key()
1321 eth_key = nla_data(nla); in __ovs_nla_put_key()
1322 ether_addr_copy(eth_key->eth_src, output->eth.src); in __ovs_nla_put_key()
1323 ether_addr_copy(eth_key->eth_dst, output->eth.dst); in __ovs_nla_put_key()