Home
last modified time | relevance | path

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

/linux-4.4.14/net/openvswitch/
Dflow_netlink.c914 const struct ovs_key_ethernet *eth_key; in ovs_key_from_nlattrs() local
916 eth_key = nla_data(a[OVS_KEY_ATTR_ETHERNET]); in ovs_key_from_nlattrs()
918 eth_key->eth_src, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
920 eth_key->eth_dst, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
1416 struct ovs_key_ethernet *eth_key; in __ovs_nla_put_key() local
1458 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key()
1462 eth_key = nla_data(nla); in __ovs_nla_put_key()
1463 ether_addr_copy(eth_key->eth_src, output->eth.src); in __ovs_nla_put_key()
1464 ether_addr_copy(eth_key->eth_dst, output->eth.dst); in __ovs_nla_put_key()