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
commit23c5496e3c4322e4017279c1b7cc306955069f84 (patch)
tree3e22701b1c5bd67960a2971109d43ab523c9d31d /src/if.h
parente4efac26bcfdc3ab6b4539c1ddf3b3111f095533 (diff)
downloaddhcpcd-23c5496e3c4322e4017279c1b7cc306955069f84.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