diff options
author | Hannes Gredler <hannes@rtbrick.com> | 2020-04-01 14:40:50 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-04-02 18:44:26 +0200 |
commit | a193f168bff9f706550d2170c0642d5bbd578c72 (patch) | |
tree | 85de0717a4fc89f3512e85d9de6579000af6372b /udp.h | |
parent | 6dcc487b7a6c108f12bca1ef5faf1580beafe712 (diff) | |
download | tcpdump-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |