Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-lisp.h
1/* packet-lisp.h
2 * Routines for Locator/ID Separation Protocol (LISP) Control Message dissection
3 * Copyright 2018 Lorand Jakab <[email protected]>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <[email protected]>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12#ifndef __PACKET_LISP_H__
13#define __PACKET_LISP_H__
14
15#include <epan/packet.h>
16
17#define INET_ADDRLEN 4
18#define INET6_ADDRLEN 16
19#define EUI48_ADDRLEN 6
20#define LISP_XTRID_LEN 16
21#define LISP_SITEID_LEN 8
22
23#define LISP_CONTROL_PORT 4342
24
25const char * get_addr_str(tvbuff_t *tvb, packet_info *pinfo, int offset, uint16_t afi, uint16_t *addr_len);
26int dissect_lcaf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, proto_item *tip);
27int dissect_lisp_mapping(tvbuff_t *tvb, packet_info *pinfo, proto_tree *lisp_tree,
28 uint8_t rec_cnt, int rec, bool referral, int offset, proto_item *tim);
29int dissect_lisp_map_register(tvbuff_t *tvb, packet_info *pinfo, proto_tree *lisp_tree,
30 int offset, proto_item *tim, bool keep_going);
31
32#endif /* __PACKET_LISP_H__ */
Definition packet_info.h:43
Definition proto.h:903
Definition tvbuff-int.h:35