Donald Sharp
cc9f21da22
*: Change thread->func to return void instead of int
...
The int return value is never used. Modify the code
base to just return a void instead.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2022-02-23 19:56:04 -05:00
David Lamparter
db4db2bbda
nhrpd: convert mcast list to DLIST
...
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-10-19 14:58:47 +02:00
Donatas Abraitis
56fb213493
nhrpd: Do not explicitly set the thread pointer to NULL
...
FRR should only ever use the appropriate THREAD_ON/THREAD_OFF
semantics. This is espacially true for the functions we
end up calling the thread for.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-10-04 19:29:06 +03:00
Reuben Dowle
46d3c1859b
nhrpd: Change sockunion2str to %pSU in a few places
...
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-08 08:45:51 +12:00
Reuben Dowle
c2bb9917b1
nhrpd: Fix style issues
...
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-06 09:23:42 +12:00
Reuben Dowle
4946316150
nhrpd: Add missing semicolon
...
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-06 09:23:42 +12:00
Reuben Dowle
32ff81f6c9
nhrpd: Improve debug message for multicast interception
...
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-06 09:23:42 +12:00
Reuben Dowle
63c0a73559
nhrpd: Cleanup multicast nflog handler function
...
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-06 09:23:42 +12:00
Amol Lad
9084e20961
nhrpd: Introduce new - nflog mutlicast-nflog-group (1-65535) - command
...
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-06 09:23:42 +12:00
Reuben Dowle
9f7f6d3c6b
nhrpd: Use ethertype defines instead of hard-coded values
...
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-06 09:23:42 +12:00
Reuben Dowle
0f8595a9f4
nhrpd: Fix style violation issues
...
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-06 09:23:42 +12:00
Reuben Dowle
4f7a37ace3
nhrpd: Use correct printf format specifier
...
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-06 09:22:59 +12:00
Reuben Dowle
0da7701aa2
nhrpd: Fix multicast crash due to dangling references to nhrp peers
...
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-06 09:22:59 +12:00
Amol Lad
fa31fcf2ea
nhrpd: Add support for forwarding multicast packets
...
Forwarding multicast is a pre-requisite for allowing multicast based routing
protocols such as OSPF to work with DMVPN
This code relies on externally adding iptables rule. For example:
iptables -A OUTPUT -d 224.0.0.0/24 -o gre1 -j NFLOG --nflog-group 224
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
2021-04-06 09:22:59 +12:00