函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\if_vlan.h Create Date:2022-07-27 07:04:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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 at

函数原型:static inline struct sk_buff *vlan_insert_inner_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci, unsigned int mac_len)

返回类型:struct sk_buff

参数:

类型参数名称
struct sk_buff *skb
__be16vlan_proto
u16vlan_tci
unsigned intmac_len
409  err等于__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
410  如果err
411  dev_kfree_skb_any(skb)
412  返回:NULL
414  返回:skb
调用者
名称描述
vlan_insert_tagvlan_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 a VLAN tagged skb