From a193f168bff9f706550d2170c0642d5bbd578c72 Mon Sep 17 00:00:00 2001 From: Hannes Gredler Date: Wed, 1 Apr 2020 14:40:50 +0200 Subject: 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 --- udp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'udp.h') 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 -- cgit v1.2.1