This website works better with JavaScript.
Home
Explore
Help
Sign In
shenmc
/
bitstream
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
ethernet: Add 802.1q VLAN tag
master
Kieran Kunhya
5 years ago
parent
e05f189970
commit
ad1b4349bc
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
ieee/ethernet.h
+ 1
- 0
ieee/ethernet.h
View File
@ -45,6 +45,7 @@ extern "C"
#
define ETHERNET_ADDR_LEN 6
#
define ETHERNET_HEADER_LEN (2*ETHERNET_ADDR_LEN + 2)
#
define ETHERNET_VLAN_LEN 4
#
define ETHERNET_TYPE_IP 0x0800
#
define ETHERNET_TYPE_ARP 0x0806
Write
Preview
Loading…
Cancel
Save