Home
last modified time | relevance | path

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

/Linux-v4.19/net/openvswitch/
Dflow.h84 u8 mac_proto; /* MAC layer protocol (e.g. Ethernet). */ member
256 return key->mac_proto & ~SW_FLOW_KEY_INVALID; in ovs_key_mac_proto()
259 static inline u16 __ovs_mac_header_len(u8 mac_proto) in __ovs_mac_header_len() argument
261 return mac_proto == MAC_PROTO_ETHERNET ? ETH_HLEN : 0; in __ovs_mac_header_len()
Dvport.c484 void ovs_vport_send(struct vport *vport, struct sk_buff *skb, u8 mac_proto) in ovs_vport_send() argument
490 if (mac_proto == MAC_PROTO_ETHERNET) { in ovs_vport_send()
494 } else if (mac_proto != MAC_PROTO_NONE) { in ovs_vport_send()
500 if (mac_proto != MAC_PROTO_ETHERNET) in ovs_vport_send()
Dactions.c67 u8 mac_proto; member
158 key->mac_proto |= SW_FLOW_KEY_INVALID; in invalidate_flow_key()
163 return !(key->mac_proto & SW_FLOW_KEY_INVALID); in is_flow_key_valid()
353 key->mac_proto = MAC_PROTO_NONE; in pop_eth()
379 key->mac_proto = MAC_PROTO_ETHERNET; in push_eth()
394 key->mac_proto = MAC_PROTO_NONE; in push_nsh()
409 key->mac_proto = MAC_PROTO_ETHERNET; in pop_nsh()
411 key->mac_proto = MAC_PROTO_NONE; in pop_nsh()
840 ovs_vport_send(vport, skb, data->mac_proto); in ovs_vport_output()
859 u16 orig_network_offset, u8 mac_proto) in prepare_frag() argument
[all …]
Dflow_netlink.c1134 u8 mac_proto = MAC_PROTO_ETHERNET; in metadata_from_nlattrs() local
1256 mac_proto = MAC_PROTO_NONE; in metadata_from_nlattrs()
1259 SW_FLOW_KEY_PUT(match, mac_proto, is_mask ? 0xff : mac_proto, is_mask); in metadata_from_nlattrs()
1261 if (mac_proto == MAC_PROTO_NONE) in metadata_from_nlattrs()
2652 u8 mac_proto, __be16 eth_type, bool masked, bool log) in validate_set() argument
2685 if (mac_proto != MAC_PROTO_ETHERNET) in validate_set()
2860 u8 mac_proto = ovs_key_mac_proto(key); in __ovs_nla_copy_actions() local
2935 if (mac_proto != MAC_PROTO_ETHERNET) in __ovs_nla_copy_actions()
2941 if (mac_proto != MAC_PROTO_ETHERNET) in __ovs_nla_copy_actions()
2992 &skip_copy, mac_proto, eth_type, in __ovs_nla_copy_actions()
[all …]
Dvport.h200 void ovs_vport_send(struct vport *vport, struct sk_buff *skb, u8 mac_proto);
Dflow.c812 key->mac_proto &= ~SW_FLOW_KEY_INVALID; in ovs_flow_key_update()
865 key->mac_proto = res; in ovs_flow_key_extract()
/Linux-v4.19/drivers/staging/gdm724x/
Dgdm_lte.c342 int mac_proto; in gdm_lte_tx_nic_type() local
353 mac_proto = ntohs(vlan_eth->h_vlan_encapsulated_proto); in gdm_lte_tx_nic_type()
357 mac_proto = ntohs(eth->h_proto); in gdm_lte_tx_nic_type()
362 switch (mac_proto) { in gdm_lte_tx_nic_type()