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:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__vlan_insert_tag - regular VLAN tag inserting*@skb: skbuff to tag*@vlan_proto: VLAN encapsulation protocol*@vlan_tci: VLAN TCI to insert* Inserts the VLAN tag into @skb as part of the payload* Returns error if skb_cow_head fails.

Proto:static inline int __vlan_insert_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
__be16vlan_proto
u16vlan_tci
384  Return __vlan_insert_inner_tag - inner VLAN tag inserting*@skb: skbuff to tag*@vlan_proto: VLAN encapsulation protocol*@vlan_tci: VLAN TCI to insert*@mac_len: MAC header length including outer vlan headers* Inserts the VLAN tag into @skb as part of the payload