函数逻辑报告

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

函数名称: 得到协议的以太网类型

函数原型:static inline __be16 vlan_get_protocol(struct sk_buff *skb)

返回类型:__be16

参数:

类型参数名称
struct sk_buff *skb
625  返回:vlan_get_protocol - get protocol EtherType.*@skb: skbuff to query*@type: first vlan protocol*@depth: buffer to store length of eth and vlan tags in bytes* Returns the EtherType of the packet, regardless of whether it is