Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-lisp.h
1 /* packet-lisp.h
2  * Routines for Locator/ID Separation Protocol (LISP) Control Message dissection
3  * Copyright 2018 Lorand Jakab <ljakab@ac.upc.edu>
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
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 
25 const gchar * get_addr_str(tvbuff_t *tvb, packet_info *pinfo, gint offset, guint16 afi, guint16 *addr_len);
26 int dissect_lcaf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint offset, proto_item *tip);
27 int dissect_lisp_mapping(tvbuff_t *tvb, packet_info *pinfo, proto_tree *lisp_tree,
28  guint8 rec_cnt, int rec, gboolean referral, gint offset, proto_item *tim);
29 gint dissect_lisp_map_register(tvbuff_t *tvb, packet_info *pinfo, proto_tree *lisp_tree,
30  gint offset, proto_item *tim, gboolean keep_going);
31 
32 #endif /* __PACKET_LISP_H__ */
Definition: packet_info.h:44
Definition: proto.h:904
Definition: tvbuff-int.h:35