Searched refs:vlan_tci (Results 1 – 11 of 11) sorted by relevance
/include/linux/ |
D | if_vlan.h | 88 #define skb_vlan_tag_get(__skb) ((__skb)->vlan_tci) 89 #define skb_vlan_tag_get_id(__skb) ((__skb)->vlan_tci & VLAN_VID_MASK) 90 #define skb_vlan_tag_get_cfi(__skb) (!!((__skb)->vlan_tci & VLAN_CFI_MASK)) 91 #define skb_vlan_tag_get_prio(__skb) (((__skb)->vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT) 349 __be16 vlan_proto, u16 vlan_tci, in __vlan_insert_inner_tag() argument 381 veth->h_vlan_TCI = htons(vlan_tci); in __vlan_insert_inner_tag() 398 __be16 vlan_proto, u16 vlan_tci) in __vlan_insert_tag() argument 400 return __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, ETH_HLEN); in __vlan_insert_tag() 420 u16 vlan_tci, in vlan_insert_inner_tag() argument 425 err = __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, mac_len); in vlan_insert_inner_tag() [all …]
|
D | netfilter_bridge.h | 11 u16 vlan_tci; member
|
D | skbuff.h | 1014 __u16 vlan_tci; 4037 int __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci); 4039 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci);
|
/include/linux/dsa/ |
D | ocelot.h | 216 static inline void ocelot_xfh_get_vlan_tci(void *extraction, u64 *vlan_tci) in ocelot_xfh_get_vlan_tci() argument 218 packing(extraction, vlan_tci, 15, 0, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_vlan_tci() 256 static inline void ocelot_ifh_set_vlan_tci(void *injection, u64 vlan_tci) in ocelot_ifh_set_vlan_tci() argument 258 packing(injection, &vlan_tci, 15, 0, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_vlan_tci() 296 u64 *vlan_tci, u64 *tag_type) in ocelot_xmit_get_vlan_info() argument 302 *vlan_tci = 0; in ocelot_xmit_get_vlan_info() 312 *vlan_tci = tci; in ocelot_xmit_get_vlan_info() 317 *vlan_tci = tci; in ocelot_xmit_get_vlan_info()
|
/include/net/ |
D | erspan.h | 184 u16 vlan_tci = 0; in erspan_build_header() local 199 vlan_tci = ntohs(qp->tci); in erspan_build_header() 212 set_vlan(ershdr, vlan_tci); in erspan_build_header() 278 u16 vlan_tci = 0; in erspan_build_header_v2() local 293 vlan_tci = ntohs(qp->tci); in erspan_build_header_v2() 306 set_vlan(ershdr, vlan_tci); in erspan_build_header_v2()
|
D | flow_dissector.h | 62 __be16 vlan_tci; member
|
/include/trace/events/ |
D | net.h | 26 __field( u16, vlan_tci ) 46 __entry->vlan_tci = skb_vlan_tag_get(skb); 64 __entry->vlan_tagged, __entry->vlan_proto, __entry->vlan_tci, 178 __field( u16, vlan_tci ) 204 __entry->vlan_tci = skb_vlan_tag_get(skb); 222 __entry->vlan_tci, __entry->protocol, __entry->ip_summed,
|
/include/linux/mlx5/ |
D | qp.h | 279 __be16 vlan_tci; member
|
/include/uapi/linux/ |
D | openvswitch.h | 756 __be16 vlan_tci; /* 802.1Q TCI (VLAN ID and priority). */ member
|
D | ethtool.h | 1103 __be16 vlan_tci; member
|
D | bpf.h | 6116 __u32 vlan_tci; member
|