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

Name:__vlan_hwaccel_push_inside - pushes vlan tag to the payload*@skb: skbuff to tag* Pushes the VLAN tag from @skb->vlan_tci inside to the payload.* Following the skb_unshare() example, in case of error, the calling function

Proto:static inline struct sk_buff *__vlan_hwaccel_push_inside(struct sk_buff *skb)

Type:struct sk_buff

Parameter:

TypeParameterName
struct sk_buff *skb
495  skb = vlan_insert_tag_set_proto - 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
497  If Value is more likely to compile time(skb) Then __vlan_hwaccel_clear_tag - clear hardware accelerated VLAN info*@skb: skbuff to clear* Clears the VLAN information from @skb
499  Return skb