Home
last modified time | relevance | path

Searched refs:pcap_if_t (Results 1 – 25 of 28) sorted by relevance

12

/external/libpcap/
Dpcap-new.c69 int pcap_findalldevs_ex(char *source, struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf) in pcap_findalldevs_ex()
75 pcap_if_t *lastdev; /* Last device in the pcap_if_t list */ in pcap_findalldevs_ex()
76 pcap_if_t *dev; /* Device we're adding to the pcap_if_t list */ in pcap_findalldevs_ex()
251 dev = (pcap_if_t *)malloc(sizeof(pcap_if_t)); in pcap_findalldevs_ex()
262 memset(dev, 0, sizeof(pcap_if_t)); in pcap_findalldevs_ex()
Dpcap-int.h452 pcap_if_t *find_or_add_dev(pcap_if_list_t *, const char *, bpf_u_int32,
454 pcap_if_t *find_dev(pcap_if_list_t *, const char *);
455 pcap_if_t *add_dev(pcap_if_list_t *, const char *, bpf_u_int32, const char *,
457 int add_addr_to_dev(pcap_if_t *, struct sockaddr *, size_t,
461 pcap_if_t *find_or_add_if(pcap_if_list_t *, const char *, bpf_u_int32,
Dpcap-sita.c79 pcap_if_t *acn_if_list; /* pcap's list of available interfaces */
82 pcap_if_t *iff; in dump_interface_list()
123 pcap_if_t *iff; in dump_interface_list_p()
131 dump((unsigned char *)iff, sizeof(pcap_if_t), 5); in dump_interface_list_p()
389 pcap_if_t *iff, *next_iff; in acn_freealldevs()
530 pcap_if_t *p1, *p2, *prev, *temp; in sort_if_table()
568 pcap_if_t *iff, *prev_iff; in process_client_data()
585 if ((iff = malloc(sizeof(pcap_if_t))) == NULL) { in process_client_data()
590 memset((char *)iff, 0, sizeof(pcap_if_t)); /* bzero() is deprecated, replaced with memset() */ in process_client_data()
Dpcap.c414 pcap_if_t *beginning;
464 pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf) in pcap_findalldevs()
538 get_figure_of_merit(pcap_if_t *dev) in get_figure_of_merit()
780 pcap_if_t *
846 pcap_if_t *curdev;
884 add_addr_to_dev(pcap_if_t *curdev,
998 pcap_if_t *
1002 pcap_if_t *curdev;
1039 pcap_if_t *
1042 pcap_if_t *curdev;
[all …]
Dpcap-rpcap.h47 pcap_if_t **alldevs, char *errbuf);
Dpcap-tc.c121 static pcap_if_t* TcCreatePcapIfFromPort(TC_PORT port);
443 pcap_if_t *dev, *cursor; in TcFindAllDevs()
506 static pcap_if_t* TcCreatePcapIfFromPort(TC_PORT port) in TcCreatePcapIfFromPort()
510 pcap_if_t *newIf = NULL; in TcCreatePcapIfFromPort()
512 newIf = (pcap_if_t*)malloc(sizeof(*newIf)); in TcCreatePcapIfFromPort()
Dpcap-rpcap.c2344 pcap_findalldevs_ex_remote(char *source, struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errb… in pcap_findalldevs_ex_remote()
2358 pcap_if_t *lastdev; /* Last device in the pcap_if_t list */ in pcap_findalldevs_ex_remote()
2359 pcap_if_t *dev; /* Device we're adding to the pcap_if_t list */ in pcap_findalldevs_ex_remote()
2471 dev = (pcap_if_t *)malloc(sizeof(pcap_if_t)); in pcap_findalldevs_ex_remote()
2480 memset(dev, 0, sizeof(pcap_if_t)); in pcap_findalldevs_ex_remote()
Dpcap-snf.c347 pcap_if_t *dev; in snf_findalldevs()
Dpcap-dos.c561 pcap_if_t *curdev; in pcap_platform_finddevs()
/external/libpcap/testprogs/
Dfindalldevstest.c24 static int ifprint(pcap_if_t *d);
99 pcap_if_t *alldevs; in main()
100 pcap_if_t *d; in main()
168 static int ifprint(pcap_if_t *d) in ifprint()
Dopentest.c64 pcap_if_t *devlist; in main()
Dcapturetest.c72 pcap_if_t *devlist; in main()
Dthreadsignaltest.c186 pcap_if_t *devlist; in main()
Dvalgrindtest.c237 pcap_if_t *devlist; in main()
Dselpolltest.c76 pcap_if_t *devlist; in main()
/external/libpcap/pcap/
Dpcap.h120 typedef struct pcap_if pcap_if_t; typedef
495 PCAP_API int pcap_findalldevs(pcap_if_t **, char *);
496 PCAP_API void pcap_freealldevs(pcap_if_t *);
862 pcap_if_t **alldevs, char *errbuf);
/external/wpa_supplicant_8/wpa_supplicant/
Dwin_if_list.c137 static void show_dev(pcap_if_t *dev) in show_dev()
146 pcap_if_t *devs, *dev; in pcap_enum_devs()
/external/scapy/scapy/modules/
Dwinpcapy.py230 pcap_if_t = pcap_if variable
296 pcap_findalldevs.argtypes = [POINTER(POINTER(pcap_if_t)), STRING]
302 pcap_freealldevs.argtypes = [POINTER(pcap_if_t)]
694 …pcap_findalldevs_ex.argtypes = [STRING, POINTER(pcap_rmtauth), POINTER(POINTER(pcap_if_t)), STRING]
/external/scapy/scapy/arch/
Dpcapdnet.py33 devs = POINTER(pcap_if_t)()
76 devs = POINTER(pcap_if_t)()
110 devs = POINTER(pcap_if_t)()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_freebsd.c286 pcap_if_t *devs, *dev; in l2_packet_get_ip_addr()
Dl2_packet_winpcap.c309 pcap_if_t *devs, *dev; in l2_packet_get_ip_addr()
Dl2_packet_pcap.c347 pcap_if_t *devs, *dev; in l2_packet_get_ip_addr()
/external/tcpdump/
Dtcpdump.c422 pcap_if_t *dev, *devlist; in show_devices_and_exit()
924 pcap_if_t *dev, *devlist; in find_interface_by_number()
1118 pcap_if_t *devlist; in main()
Dconfigure.in620 dnl have pcap_if_t.
623 AC_CHECK_TYPES(pcap_if_t, , , [#include <pcap.h>])
/external/libpcap/rpcapd/
Ddaemon.c1257 pcap_if_t *alldevs = NULL; // pointer to the header of the interface chain in daemon_msg_findallif_req()
1258 pcap_if_t *d; // temp pointer needed to scan the interface chain in daemon_msg_findallif_req()

12