Home
last modified time | relevance | path

Searched refs:h_vlan_TCI (Results 1 – 25 of 62) sorted by relevance

123

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_vlan.c35 __be16 h_vlan_TCI; member
76 pkt->vlan_outer = bpf_ntohs(vlan_hdr->h_vlan_TCI) in parse_eth_frame()
89 pkt->vlan_inner = bpf_ntohs(vlan_hdr->h_vlan_TCI) in parse_eth_frame()
162 vlan_hdr->h_vlan_TCI = in xdp_prognum1()
163 bpf_htons((bpf_ntohs(vlan_hdr->h_vlan_TCI) & 0xf000) in xdp_prognum1()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/
H A Dif_ether.h101 unsigned short h_vlan_TCI; // Encapsulates priority and VLAN ID member
107 #define get_vlan_id(pvlan) ((ntohs((unsigned short )pvlan->h_vlan_TCI)) & 0xfff)
108 #define get_vlan_priority(pvlan) ((ntohs((unsigned short )pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/include/
H A Dif_ether.h96 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
102 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
103 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/include/
H A Dif_ether.h95 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/
H A Dif_ether.h96 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
102 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
103 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/include/
H A Dif_ether.h95 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/
H A Dif_ether.h95 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/include/
H A Dif_ether.h96 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
102 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
103 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/include/
H A Dif_ether.h96 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
102 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
103 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/
H A Dif_ether.h95 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/include/
H A Dif_ether.h95 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/include/
H A Dif_ether.h95 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/
H A Dif_ether.h101 unsigned short h_vlan_TCI; // Encapsulates priority and VLAN ID member
107 #define get_vlan_id(pvlan) ((ntohs((unsigned short )pvlan->h_vlan_TCI)) & 0xfff)
108 #define get_vlan_priority(pvlan) ((ntohs((unsigned short )pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/
H A Dif_ether.h100 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
106 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
107 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/include/
H A Dif_ether.h96 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
102 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
103 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/
H A Dif_ether.h95 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/include/
H A Dif_ether.h95 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/include/
H A Dif_ether.h95 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/
H A Dif_ether.h95 unsigned short h_vlan_TCI; /* Encapsulates priority and VLAN ID */ member
101 #define get_vlan_id(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI)) & 0xfff)
102 #define get_vlan_priority(pvlan) ((ntohs((unsigned short)pvlan->h_vlan_TCI))>>13)
/OK3568_Linux_fs/kernel/include/linux/
H A Dif_vlan.h36 __be16 h_vlan_TCI; member
52 __be16 h_vlan_TCI; member
367 veth->h_vlan_TCI = htons(vlan_tci); in __vlan_insert_inner_tag()
534 *vlan_tci = ntohs(veth->h_vlan_TCI); in __vlan_get_tag()
762 return ((__force u32)h1->h_vlan_TCI ^ (__force u32)h2->h_vlan_TCI) | in compare_vlan_header()
/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A Debt_vlan.c47 TCI = ntohs(fp->h_vlan_TCI); in ebt_vlan_mt()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnft_payload.c34 veth->h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nft_payload_rebuild_vlan_hdr()
225 case offsetof(struct vlan_ethhdr, h_vlan_TCI): in nft_payload_offload_ll()
241 case offsetof(struct vlan_ethhdr, h_vlan_TCI) + sizeof(struct vlan_hdr): in nft_payload_offload_ll()
/OK3568_Linux_fs/kernel/net/batman-adv/
H A Dmain.c425 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority()
680 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; in batadv_get_vid()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/
H A Dgelic_udbg.c160 h_vlan->h_vlan_TCI = vlan_id; in gelic_debug_init()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dsockex2_kern.c14 __be16 h_vlan_TCI; member

123