summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-02-05 14:05:51 +0000
committerRoy Marples <roy@marples.name>2020-02-05 14:05:51 +0000
commitd020cec3569a8543a960c2c38adfb716b9519b39 (patch)
tree3e22701b1c5bd67960a2971109d43ab523c9d31d /src/if.h
parent9b62df5ad53d251d9cf0ecbe8571ae9262e8bde0 (diff)
downloaddhcpcd-d020cec3569a8543a960c2c38adfb716b9519b39.tar.xz
DHCP: Support jumbo frames
Also important as we now need to store the frame header in the initial buffer.
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/if.h b/src/if.h
index 2f147f1d..e24a77a3 100644
--- a/src/if.h
+++ b/src/if.h
@@ -90,6 +90,10 @@ typedef unsigned long ioctl_request_t;
# define ARPHRD_INFINIBAND 32
#endif
+/* Maximum frame length.
+ * Support jumbo frames and some extra. */
+#define FRAMELEN_MAX 10240
+
/* Work out if we have a private address or not
* 10/8
* 172.16/12