Home
last modified time | relevance | path

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

/linux-6.1.9/net/openvswitch/
Dflow.h84 u8 mac_proto; /* MAC layer protocol (e.g. Ethernet). */ member
258 return key->mac_proto & ~SW_FLOW_KEY_INVALID; in ovs_key_mac_proto()
261 static inline u16 __ovs_mac_header_len(u8 mac_proto) in __ovs_mac_header_len() argument
263 return mac_proto == MAC_PROTO_ETHERNET ? ETH_HLEN : 0; in __ovs_mac_header_len()
Dvport.c475 void ovs_vport_send(struct vport *vport, struct sk_buff *skb, u8 mac_proto) in ovs_vport_send() argument
481 if (mac_proto == MAC_PROTO_ETHERNET) { in ovs_vport_send()
485 } else if (mac_proto != MAC_PROTO_NONE) { in ovs_vport_send()
491 if (mac_proto != MAC_PROTO_ETHERNET) in ovs_vport_send()
Dactions.c54 u8 mac_proto; member
145 key->mac_proto |= SW_FLOW_KEY_INVALID; in invalidate_flow_key()
150 return !(key->mac_proto & SW_FLOW_KEY_INVALID); in is_flow_key_valid()
173 key->mac_proto = MAC_PROTO_NONE; in push_mpls()
190 key->mac_proto = MAC_PROTO_ETHERNET; in pop_mpls()
291 key->mac_proto = MAC_PROTO_NONE; in pop_eth()
307 key->mac_proto = MAC_PROTO_ETHERNET; in push_eth()
322 key->mac_proto = MAC_PROTO_NONE; in push_nsh()
337 key->mac_proto = MAC_PROTO_ETHERNET; in pop_nsh()
339 key->mac_proto = MAC_PROTO_NONE; in pop_nsh()
[all …]
Dflow_netlink.c1158 u8 mac_proto = MAC_PROTO_ETHERNET; in metadata_from_nlattrs() local
1280 mac_proto = MAC_PROTO_NONE; in metadata_from_nlattrs()
1283 SW_FLOW_KEY_PUT(match, mac_proto, is_mask ? 0xff : mac_proto, is_mask); in metadata_from_nlattrs()
1285 if (mac_proto == MAC_PROTO_NONE) in metadata_from_nlattrs()
2861 u8 mac_proto, __be16 eth_type, bool masked, bool log) in validate_set() argument
2890 if (mac_proto != MAC_PROTO_ETHERNET) in validate_set()
3155 u8 mac_proto = ovs_key_mac_proto(key); in __ovs_nla_copy_actions() local
3233 if (mac_proto != MAC_PROTO_ETHERNET) in __ovs_nla_copy_actions()
3239 if (mac_proto != MAC_PROTO_ETHERNET) in __ovs_nla_copy_actions()
3268 if (mac_proto == MAC_PROTO_ETHERNET) { in __ovs_nla_copy_actions()
[all …]
Dopenvswitch_trace.h62 __entry->flow_key_valid = !(key->mac_proto & SW_FLOW_KEY_INVALID);
132 __entry->flow_key_valid = !(key->mac_proto & SW_FLOW_KEY_INVALID);
Dvport.h191 void ovs_vport_send(struct vport *vport, struct sk_buff *skb, u8 mac_proto);
Dflow.c978 key->mac_proto &= ~SW_FLOW_KEY_INVALID; in ovs_flow_key_update()
1036 key->mac_proto = res; in ovs_flow_key_extract()
/linux-6.1.9/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()