Function report |
Source Code:include\linux\if_vlan.h |
Create Date:2022-07-28 06:06:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__vlan_get_tag - get the VLAN ID that is part of the payload*@skb: skbuff to query*@vlan_tci: buffer to store value* Returns error if the skb is not of VLAN type
Proto:static inline int __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct sk_buff * | skb | |
u16 * | vlan_tci |
529 | If Not h_type_vlan - check for valid vlan ether type.*@ethertype: ether type to check* Returns true if the ether type is a vlan ether type. Then Return -EINVAL |
532 | vlan_tci = ntohs(h_vlan_TCI) |
533 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |