Searched refs:mac_proto (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/net/openvswitch/ |
H A D | flow.h | 84 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()
|
H A D | actions.c | 56 u8 mac_proto; member 147 key->mac_proto |= SW_FLOW_KEY_INVALID; in invalidate_flow_key() 152 return !(key->mac_proto & SW_FLOW_KEY_INVALID); in is_flow_key_valid() 175 key->mac_proto = MAC_PROTO_NONE; in push_mpls() 192 key->mac_proto = MAC_PROTO_ETHERNET; in pop_mpls() 293 key->mac_proto = MAC_PROTO_NONE; in pop_eth() 309 key->mac_proto = MAC_PROTO_ETHERNET; in push_eth() 324 key->mac_proto = MAC_PROTO_NONE; in push_nsh() 339 key->mac_proto = MAC_PROTO_ETHERNET; in pop_nsh() 341 key->mac_proto in pop_nsh() 828 prepare_frag(struct vport * vport,struct sk_buff * skb,u16 orig_network_offset,u8 mac_proto) prepare_frag() argument [all...] |
H A D | vport.c | 539 void ovs_vport_send(struct vport *vport, struct sk_buff *skb, u8 mac_proto) in ovs_vport_send() argument 545 if (mac_proto == MAC_PROTO_ETHERNET) { in ovs_vport_send() 549 } else if (mac_proto != MAC_PROTO_NONE) { in ovs_vport_send() 555 if (mac_proto != MAC_PROTO_ETHERNET) in ovs_vport_send()
|
H A D | flow_netlink.c | 1161 u8 mac_proto = MAC_PROTO_ETHERNET; in metadata_from_nlattrs() local 1283 mac_proto = MAC_PROTO_NONE; in metadata_from_nlattrs() 1286 SW_FLOW_KEY_PUT(match, mac_proto, is_mask ? 0xff : mac_proto, is_mask); in metadata_from_nlattrs() 1288 if (mac_proto == MAC_PROTO_NONE) in metadata_from_nlattrs() 2871 u8 mac_proto, __be16 eth_type, bool masked, bool log) in validate_set() argument 2900 if (mac_proto != MAC_PROTO_ETHERNET) in validate_set() 3168 u8 mac_proto = ovs_key_mac_proto(key); in __ovs_nla_copy_actions() local 3252 if (mac_proto != MAC_PROTO_ETHERNET) in __ovs_nla_copy_actions() 3258 if (mac_proto != MAC_PROTO_ETHERNET) in __ovs_nla_copy_actions() 3287 if (mac_proto == MAC_PROTO_ETHERNET) { in __ovs_nla_copy_actions() [all …]
|
H A D | openvswitch_trace.h | 62 __entry->flow_key_valid = !(key->mac_proto & SW_FLOW_KEY_INVALID); 132 __entry->flow_key_valid = !(key->mac_proto & SW_FLOW_KEY_INVALID);
|
H A D | vport.h | 207 void ovs_vport_send(struct vport *vport, struct sk_buff *skb, u8 mac_proto);
|
H A D | flow.c | 982 key->mac_proto &= ~SW_FLOW_KEY_INVALID; in ovs_flow_key_update() 1040 key->mac_proto = res; in ovs_flow_key_extract()
|
/openbmc/linux/drivers/staging/gdm724x/ |
H A D | gdm_lte.c | 342 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()
|