git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethdev: MTU accessors
[dpdk.git]
/
lib
/
librte_ether
/
rte_ether.h
diff --git
a/lib/librte_ether/rte_ether.h
b/lib/librte_ether/rte_ether.h
index
a25ca10
..
cd0c7c4
100644
(file)
--- a/
lib/librte_ether/rte_ether.h
+++ b/
lib/librte_ether/rte_ether.h
@@
-67,6
+67,8
@@
extern "C" {
#define ETHER_MAX_VLAN_ID 4095 /**< Maximum VLAN ID. */
+#define ETHER_MIN_MTU 68 /**< Minimum MTU for IPv4 packets, see RFC 791. */
+
/**
* Ethernet address:
* A universally administered address is uniquely assigned to a device by its