projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0136969
)
add ETH_MIN_MTU and ETH_MAX_MTU from linux v4.10
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 5 Mar 2017 23:21:30 +0000
(23:21 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 5 Nov 2017 23:40:53 +0000
(18:40 -0500)
min max mtu size definitions mostly for drivers.
new in linux commits
a52ad514fdf3b8a57ca4322c92d2d8d5c6182485
and
d894be57ca92c8a8819ab544d550809e8731137b
include/netinet/if_ether.h
patch
|
blob
|
history
diff --git
a/include/netinet/if_ether.h
b/include/netinet/if_ether.h
index 11ee65823f93d1d40f355d7492c2e92957a05e59..c52514c512cd7441fb4625d066abe80b904fd466 100644
(file)
--- a/
include/netinet/if_ether.h
+++ b/
include/netinet/if_ether.h
@@
-10,6
+10,8
@@
#define ETH_DATA_LEN 1500
#define ETH_FRAME_LEN 1514
#define ETH_FCS_LEN 4
+#define ETH_MIN_MTU 68
+#define ETH_MAX_MTU 0xFFFFU
#define ETH_P_LOOP 0x0060
#define ETH_P_PUP 0x0200