2 * Copyright 2011, 2014 André Hentschel
3 * Copyright 2021 Hans Leidekker for CodeWeavers
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 unsigned short sa_family
;
27 struct pcap_address
*next
;
28 struct sockaddr_hdr
*addr
;
29 struct sockaddr_hdr
*netmask
;
30 struct sockaddr_hdr
*broadaddr
;
31 struct sockaddr_hdr
*dstaddr
;
36 struct pcap_interface
*next
;
39 struct pcap_address
*addresses
;
43 struct pcap_pkthdr_win32
57 struct pcap_pkthdr_win32 hdr
;
77 struct datalink_name_to_val_params
82 struct datalink_val_to_description_params
88 struct datalink_val_to_name_params
97 const struct pcap_pkthdr_win32
*hdr
;
98 const unsigned char *packet
;
101 struct dump_open_params
108 struct findalldevs_params
110 struct pcap_interface
**devs
;
120 struct getnonblock_params
126 struct lib_version_params
132 struct list_datalinks_params
138 struct list_tstamp_types_params
144 struct lookupnet_params
152 struct next_ex_params
155 struct pcap_pkthdr_win32
**hdr
;
156 const unsigned char **data
;
159 struct open_live_params
169 struct sendpacket_params
172 const unsigned char *buf
;
176 struct set_buffer_size_params
182 struct set_datalink_params
188 struct set_promisc_params
194 struct set_rfmon_params
200 struct set_snaplen_params
206 struct set_timeout_params
212 struct set_tstamp_precision_params
218 struct set_tstamp_type_params
224 struct setfilter_params
230 struct setnonblock_params
243 struct statustostr_params
249 struct tstamp_type_name_to_val_params
254 struct tstamp_type_val_to_description_params
260 struct tstamp_type_val_to_name_params
275 unix_datalink_name_to_val
,
276 unix_datalink_val_to_description
,
277 unix_datalink_val_to_name
,
283 unix_free_tstamp_types
,
286 unix_get_tstamp_precision
,
291 unix_list_tstamp_types
,
299 unix_set_buffer_size
,
305 unix_set_tstamp_precision
,
306 unix_set_tstamp_type
,
312 unix_tstamp_type_name_to_val
,
313 unix_tstamp_type_val_to_description
,
314 unix_tstamp_type_val_to_name
,