Wireshark  4.3.0
The Wireshark network protocol analyzer
services.h
1 /* services.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
10 #include <wireshark.h>
11 
12 typedef enum {
13  ws_tcp,
14  ws_udp,
15  ws_sctp,
16  ws_dccp,
17 } ws_services_proto_t;
18 
19 typedef struct {
20  uint16_t port;
21  const char *name;
22  const char *description;
24 
25 ws_services_entry_t const *
26 global_services_lookup(uint16_t value, ws_services_proto_t proto);
27 
28 WS_DLL_PUBLIC void
29 global_services_dump(FILE *fp);
Definition: services.h:19