Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
wsutil
interface.h
1
/* interface.c
2
* Utility functions to get infos from interfaces
3
*
4
* Copyright 2016, Dario Lombardo
5
*
6
* Wireshark - Network traffic analyzer
7
* By Gerald Combs <gerald@wireshark.org>
8
* Copyright 1998 Gerald Combs
9
*
10
* SPDX-License-Identifier: GPL-2.0-or-later
11
*/
12
13
#ifndef _INTERFACE_H
14
#define _INTERFACE_H
15
16
#include <glib.h>
17
#include "ws_symbol_export.h"
18
19
/* Return a list of IPv4/IPv6 addresses for local interfaces */
20
WS_DLL_PUBLIC
21
GSList* local_interfaces_to_list(
void
);
22
23
#endif
24
25
/*
26
* Editor modelines - https://www.wireshark.org/tools/modelines.html
27
*
28
* Local variables:
29
* c-basic-offset: 4
30
* tab-width: 8
31
* indent-tabs-mode: t
32
* End:
33
*
34
* vi: set shiftwidth=4 tabstop=8 noexpandtab:
35
* :indentSize=4:tabSize=8:noTabs=false:
36
*/
Generated by
1.8.11