face: allow setting default UDP face MTU in config
refs #5138
Change-Id: Ibb3767b27aec2b046d1f41292f3d61001866f8c0
diff --git a/nfd.conf.sample.in b/nfd.conf.sample.in
index 61ff71b..9e8d22b 100644
--- a/nfd.conf.sample.in
+++ b/nfd.conf.sample.in
@@ -135,6 +135,14 @@
; The default is 600 (10 minutes).
idle_timeout 600
+ ; Maximum payload size for outgoing packets on unicast faces, used in NDNLPv2 fragmentation.
+ ; This must be between 64 and 8800. The default is 8800.
+ ; This value excludes IPv4/IPv6/UDP headers. On an Ethernet link of MTU=1500, setting this
+ ; to 1452 would leave enough room for IP+UDP headers and prevent IP fragmentation.
+ ; This option is not changable during runtime configuration reload, but the MTU of an
+ ; individual face can be updated via NFD Management Protocol or the 'nfdc' tool.
+ unicast_mtu 8800
+
; UDP multicast settings.
; By default, NFD creates one UDP multicast face per NIC.
;