Skip to content

Commit 480ce8d

Browse files
Idris Jafarovflorincoras
authored andcommitted
udp: add S-BFD port 7784 to the UDP port lists
Add UDP destination port 7784, used by Seamless BFD (RFC 7881), to the IPv4 and IPv6 port lists, so that the S-BFD reflector can register its input nodes with udp_register_dst_port() and the port is known by name. Adding the entries makes clang-format re-align the line continuations of both lists to the current column limit. Apart from that whitespace, the only change is the two new entries. Type: feature Assisted-by: Claude:Opus5.5 Change-Id: I166bc0c06154e113fbe5839cfd2f85c6bde45f04 Signed-off-by: Idris Jafarov <ijafarov@drivenets.com>
1 parent 4164057 commit 480ce8d

1 file changed

Lines changed: 36 additions & 34 deletions

File tree

‎src/vnet/udp/udp_local.h‎

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,44 @@
88

99
#include <vnet/vnet.h>
1010

11-
#define foreach_udp4_dst_port \
12-
_ (53, dns) \
13-
_ (67, dhcp_to_server) \
14-
_ (68, dhcp_to_client) \
15-
_ (500, ikev2) \
16-
_ (2152, GTPU) \
17-
_ (3784, bfd4) \
18-
_ (3785, bfd_echo4) \
19-
_ (4341, lisp_gpe) \
20-
_ (4342, lisp_cp) \
21-
_ (4500, ipsec) \
22-
_ (4739, ipfix) \
23-
_ (4784, bfd4_mh) \
24-
_ (4789, vxlan) \
25-
_ (4789, vxlan6) \
26-
_ (48879, vxlan_gbp) \
27-
_ (4790, VXLAN_GPE) \
28-
_ (6633, vpath_3) \
29-
_ (6081, geneve) \
11+
#define foreach_udp4_dst_port \
12+
_ (53, dns) \
13+
_ (67, dhcp_to_server) \
14+
_ (68, dhcp_to_client) \
15+
_ (500, ikev2) \
16+
_ (2152, GTPU) \
17+
_ (3784, bfd4) \
18+
_ (3785, bfd_echo4) \
19+
_ (4341, lisp_gpe) \
20+
_ (4342, lisp_cp) \
21+
_ (4500, ipsec) \
22+
_ (4739, ipfix) \
23+
_ (4784, bfd4_mh) \
24+
_ (4789, vxlan) \
25+
_ (4789, vxlan6) \
26+
_ (48879, vxlan_gbp) \
27+
_ (4790, VXLAN_GPE) \
28+
_ (6633, vpath_3) \
29+
_ (6081, geneve) \
30+
_ (7784, sbfd4) \
3031
_ (53053, dns_reply)
3132

32-
#define foreach_udp6_dst_port \
33-
_ (53, dns6) \
34-
_ (547, dhcpv6_to_server) \
35-
_ (546, dhcpv6_to_client) \
36-
_ (2152, GTPU6) \
37-
_ (3784, bfd6) \
38-
_ (3785, bfd_echo6) \
39-
_ (4341, lisp_gpe6) \
40-
_ (4342, lisp_cp6) \
41-
_ (48879, vxlan6_gbp) \
42-
_ (4784, bfd6_mh) \
43-
_ (4790, VXLAN6_GPE) \
44-
_ (6633, vpath6_3) \
45-
_ (6081, geneve6) \
46-
_ (8138, BIER) \
33+
#define foreach_udp6_dst_port \
34+
_ (53, dns6) \
35+
_ (547, dhcpv6_to_server) \
36+
_ (546, dhcpv6_to_client) \
37+
_ (2152, GTPU6) \
38+
_ (3784, bfd6) \
39+
_ (3785, bfd_echo6) \
40+
_ (4341, lisp_gpe6) \
41+
_ (4342, lisp_cp6) \
42+
_ (48879, vxlan6_gbp) \
43+
_ (4784, bfd6_mh) \
44+
_ (4790, VXLAN6_GPE) \
45+
_ (6633, vpath6_3) \
46+
_ (6081, geneve6) \
47+
_ (7784, sbfd6) \
48+
_ (8138, BIER) \
4749
_ (53053, dns_reply6)
4850

4951
typedef enum

0 commit comments

Comments
 (0)