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:skb_vlan_tagged_multi - check if skb is vlan tagged with multiple headers.*@skb: skbuff to query* Returns true if the skb is tagged with multiple vlan headers, regardless* of whether it is hardware accelerated or not.

Proto:static inline bool skb_vlan_tagged_multi(struct sk_buff *skb)

Type:bool

Parameter:

TypeParameterName
struct sk_buff *skb
687  protocol = protocol
689  If Not skb_vlan_tag_present(skb) Then
692  If Value is more likely to compile time(!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 false
695  If Value for the false possibility is greater at compile time(!pskb_may_pull(skb, Total octets in header. )) Then Return false
698  veh = data
699  protocol = h_vlan_encapsulated_proto
702  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 false
705  Return true