Skip to content

Commit 89e2dcc

Browse files
committed
UDP: Sort #defines in header file by port number
1 parent a2fb77b commit 89e2dcc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

udp.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ struct udphdr {
8383
#ifndef PTP_GENERAL_PORT
8484
#define PTP_GENERAL_PORT 320 /* IANA */
8585
#endif
86+
#ifndef HTTPS_PORT
87+
#define HTTPS_PORT 443
88+
#endif
8689
#ifndef CISCO_AUTORP_PORT
8790
#define CISCO_AUTORP_PORT 496 /*XXX*/
8891
#endif
@@ -161,9 +164,6 @@ struct udphdr {
161164
#ifndef MPLS_LSP_PING_PORT
162165
#define MPLS_LSP_PING_PORT 3503 /* draft-ietf-mpls-lsp-ping-02.txt */
163166
#endif
164-
#ifndef BCM_LI_PORT
165-
#define BCM_LI_PORT 49152 /* SDK default */
166-
#endif
167167
#ifndef BFD_CONTROL_PORT
168168
#define BFD_CONTROL_PORT 3784 /* RFC 5881 */
169169
#endif
@@ -251,6 +251,6 @@ struct udphdr {
251251
#ifndef SOMEIP_PORT
252252
#define SOMEIP_PORT 30490 /* https://www.autosar.org/standards/foundation */
253253
#endif
254-
#ifndef HTTPS_PORT
255-
#define HTTPS_PORT 443
254+
#ifndef BCM_LI_PORT
255+
#define BCM_LI_PORT 49152 /* SDK default */
256256
#endif

0 commit comments

Comments
 (0)