summaryrefslogtreecommitdiff
path: root/udp.h
diff options
context:
space:
mode:
authorHannes Gredler <hannes@rtbrick.com>2020-04-01 14:40:50 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-04-02 18:44:26 +0200
commita193f168bff9f706550d2170c0642d5bbd578c72 (patch)
tree85de0717a4fc89f3512e85d9de6579000af6372b /udp.h
parent6dcc487b7a6c108f12bca1ef5faf1580beafe712 (diff)
downloadtcpdump-a193f168bff9f706550d2170c0642d5bbd578c72.tar.gz
add support for Broadcom LI header
(pull request #843) fix build break for Broadcom LI printer on BSD platforms incorporate review comments: make bcm_li_print() void, add a sample capture incorporate review comments: remove trailing tabs add BCM LI outputs to testset incorporate review comment: return after printing update verbose output for bcm-li
Diffstat (limited to 'udp.h')
-rw-r--r--udp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/udp.h b/udp.h
index a68c2316..70d3315a 100644
--- a/udp.h
+++ b/udp.h
@@ -161,6 +161,9 @@ struct udphdr {
#ifndef MPLS_LSP_PING_PORT
#define MPLS_LSP_PING_PORT 3503 /* draft-ietf-mpls-lsp-ping-02.txt */
#endif
+#ifndef BCM_LI_PORT
+#define BCM_LI_PORT 49152 /* SDK default */
+#endif
#ifndef BFD_CONTROL_PORT
#define BFD_CONTROL_PORT 3784 /* RFC 5881 */
#endif