Function report |
Source Code:include\linux\if_vlan.h |
Create Date:2022-07-28 06:06:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static inline bool eth_type_vlan(__be16 ethertype)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
__be16 | ethertype |
303 | Case ethertype == htons(802.1Q VLAN Extended Header ) |
304 | Case ethertype == htons(802.1ad Service VLAN ) |
305 | Return true |
306 | Default |
307 | Return false |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |