函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: 检查如果skb是VLAN标记

函数原型:static inline bool skb_vlan_tagged(const struct sk_buff *skb)

返回类型:bool

参数:

类型参数名称
const struct sk_buff *skb
671  如果非skb_vlan_tag_present(skb)且此条件成立可能性大(为编译器优化)(!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.)则返回:false
675  返回:true