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