Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-lisp.h
blobbc20543b061b36564a5c08fbf42bd389f8e809fb
1 /* packet-lisp.h
2 * Routines for Locator/ID Separation Protocol (LISP) Control Message dissection
3 * Copyright 2018 Lorand Jakab <ljakab@ac.upc.edu>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __PACKET_LISP_H__
13 #define __PACKET_LISP_H__
15 #include <epan/packet.h>
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
23 #define LISP_CONTROL_PORT 4342
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);
32 #endif /* __PACKET_LISP_H__ */