| Wireshark 4.7.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 <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 char * get_addr_str(tvbuff_t *tvb, packet_info *pinfo, int offset, uint16_t afi, uint16_t *addr_len);
26 int dissect_lcaf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, proto_item *tip);
27 int 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);
29 int 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__ */
packet.h
_packet_info
Definition packet_info.h:43
_proto_node
Definition proto.h:905
tvbuff
Definition tvbuff-int.h:36