From 07a4920b17c3741b50ffcb596d4433b54f7e529e Mon Sep 17 00:00:00 2001 From: Yuxiang Zhu Date: Sat, 9 Jul 2022 17:38:29 +0800 Subject: ip: T4517: add option to enable directed broadcast forwarding Directed broadcast is described in rfc1812#section-5.3.5.2 and rfc2644. By default Linux kernel doesn't forward directed broadcast packets unless both of `/proc/sys/net/ipv4/conf/all/bc_forwarding` and `/proc/sys/net/ipv4/conf/$iface/bc_forwarding` are set to 1. --- .../include/interface/enable-directed-broadcast.xml.i | 8 ++++++++ interface-definitions/include/interface/ipv4-options.xml.i | 1 + 2 files changed, 9 insertions(+) create mode 100644 interface-definitions/include/interface/enable-directed-broadcast.xml.i (limited to 'interface-definitions/include/interface') diff --git a/interface-definitions/include/interface/enable-directed-broadcast.xml.i b/interface-definitions/include/interface/enable-directed-broadcast.xml.i new file mode 100644 index 000000000..a87395806 --- /dev/null +++ b/interface-definitions/include/interface/enable-directed-broadcast.xml.i @@ -0,0 +1,8 @@ + + + + Enable directed broadcast forwarding on this interface + + + + diff --git a/interface-definitions/include/interface/ipv4-options.xml.i b/interface-definitions/include/interface/ipv4-options.xml.i index bca1229c6..eda77e851 100644 --- a/interface-definitions/include/interface/ipv4-options.xml.i +++ b/interface-definitions/include/interface/ipv4-options.xml.i @@ -8,6 +8,7 @@ #include #include #include + #include #include #include #include -- cgit v1.2.3