Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\if_vlan.h Create Date:2022-07-28 06:06:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vlan_get_protocol - get protocol EtherType.*@skb: skbuff to query* Returns the EtherType of the packet, regardless of whether it is* vlan encapsulated (normal or hardware accelerated) or not.

Proto:static inline __be16 vlan_get_protocol(struct sk_buff *skb)

Type:__be16

Parameter:

TypeParameterName
struct sk_buff *skb
625  Return vlan_get_protocol - get protocol EtherType.*@skb: skbuff to query*@type: first vlan protocol*@depth: buffer to store length of eth and vlan tags in bytes* Returns the EtherType of the packet, regardless of whether it is