summaryrefslogtreecommitdiff
path: root/include/netinet
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2017-03-05 23:21:30 +0000
committerRich Felker <dalias@aerifal.cx>2017-11-05 18:40:53 -0500
commitf5638c22e3599a720f80da76f2827e5b0f6383ae (patch)
treead9d9f6d111431f543f2f0be98fc03034001518c /include/netinet
parent013696918bc9e8b879ddb6f1fa7b3686eef6e702 (diff)
downloadmusl-f5638c22e3599a720f80da76f2827e5b0f6383ae.tar.gz
musl-f5638c22e3599a720f80da76f2827e5b0f6383ae.tar.bz2
musl-f5638c22e3599a720f80da76f2827e5b0f6383ae.tar.xz
musl-f5638c22e3599a720f80da76f2827e5b0f6383ae.zip
add ETH_MIN_MTU and ETH_MAX_MTU from linux v4.10
min max mtu size definitions mostly for drivers. new in linux commits a52ad514fdf3b8a57ca4322c92d2d8d5c6182485 and d894be57ca92c8a8819ab544d550809e8731137b
Diffstat (limited to 'include/netinet')
-rw-r--r--include/netinet/if_ether.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netinet/if_ether.h b/include/netinet/if_ether.h
index 11ee6582..c52514c5 100644
--- 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