函数逻辑报告 |
Source Code:include\linux\if_vlan.h |
Create Date:2022-07-27 07:04:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:得到VLAN ID有效载荷的一部分
函数原型:static inline int __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct sk_buff * | skb | |
| u16 * | vlan_tci |
| 529 | 如果非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.则返回:负EINVAL |
| 532 | vlan_tci等于ntohs(h_vlan_TCI) |
| 533 | 返回:0 |
| 名称 | 描述 |
|---|---|
| vlan_get_tag | 从skb得到VLAN ID |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |