Home
last modified time | relevance | path

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

12

/freebsd/contrib/libpcap/
H A Dpcap-int.h467 pcap_if_t *pcapint_find_or_add_dev(pcap_if_list_t *, const char *, bpf_u_int32,
469 pcap_if_t *pcapint_find_dev(pcap_if_list_t *, const char *);
470 pcap_if_t *pcapint_add_dev(pcap_if_list_t *, const char *, bpf_u_int32,
472 pcap_if_t *pcap_add_any_dev(pcap_if_list_t *, char *);
473 int pcapint_add_addr_to_dev(pcap_if_t *, struct sockaddr *, size_t,
477 pcap_if_t *pcapint_find_or_add_if(pcap_if_list_t *, const char *, uint64_t,
H A Dpcap-new.c73 int pcap_findalldevs_ex(const char *source, struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *e… in pcap_findalldevs_ex()
81 pcap_if_t *lastdev; /* Last device in the pcap_if_t list */ in pcap_findalldevs_ex()
82 pcap_if_t *dev; /* Device we're adding to the pcap_if_t list */ in pcap_findalldevs_ex()
277 dev = (pcap_if_t *)malloc(sizeof(pcap_if_t)); in pcap_findalldevs_ex()
293 memset(dev, 0, sizeof(pcap_if_t)); in pcap_findalldevs_ex()
H A Dpcap-sita.c85 pcap_if_t *acn_if_list; /* pcap's list of available interfaces */
88 pcap_if_t *iff; in dump_interface_list()
129 pcap_if_t *iff; in dump_interface_list_p()
137 dump((unsigned char *)iff, sizeof(pcap_if_t), 5); in dump_interface_list_p()
395 pcap_if_t *iff, *next_iff; in acn_freealldevs()
529 pcap_if_t *p1, *p2, *prev, *temp; in sort_if_table()
567 pcap_if_t *iff, *prev_iff; in process_client_data()
584 if ((iff = malloc(sizeof(pcap_if_t))) == NULL) { in process_client_data()
589 memset((char *)iff, 0, sizeof(pcap_if_t)); /* bzero() is deprecated, replaced with memset() */ in process_client_data()
H A Dpcap.c666 pcap_if_t *beginning;
722 pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf) in pcap_findalldevs()
806 get_figure_of_merit(pcap_if_t *dev) in get_figure_of_merit()
1025 pcap_if_t *
1091 pcap_if_t *curdev;
1129 pcapint_add_addr_to_dev(pcap_if_t *curdev,
1243 pcap_if_t *
1247 pcap_if_t *curdev;
1284 pcap_if_t *
1287 pcap_if_t *curdev;
[all …]
H A Dpcap-rpcap.h47 struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf);
H A Dpcap-tc.c119 static pcap_if_t* TcCreatePcapIfFromPort(TC_PORT port);
388 pcap_if_t *dev; in TcFindAllDevs()
436 static pcap_if_t* TcCreatePcapIfFromPort(TC_PORT port) in TcCreatePcapIfFromPort()
440 pcap_if_t *newIf = NULL; in TcCreatePcapIfFromPort()
442 newIf = (pcap_if_t*)malloc(sizeof(*newIf)); in TcCreatePcapIfFromPort()
H A Dpcap-rpcap.c2616 pcap_findalldevs_ex_remote(const char *source, struct pcap_rmtauth *auth, pcap_if_t **alldevs, char… in pcap_findalldevs_ex_remote()
2630 pcap_if_t *lastdev; /* Last device in the pcap_if_t list */ in pcap_findalldevs_ex_remote()
2631 pcap_if_t *dev; /* Device we're adding to the pcap_if_t list */ in pcap_findalldevs_ex_remote()
2685 dev = (pcap_if_t *)malloc(sizeof(pcap_if_t)); in pcap_findalldevs_ex_remote()
2694 memset(dev, 0, sizeof(pcap_if_t)); in pcap_findalldevs_ex_remote()
H A Dpcap-snf.c341 pcap_if_t *dev; in snf_findalldevs()
/freebsd/contrib/libpcap/testprogs/
H A Dfindalldevstest.c23 static int ifprint(pcap_if_t *d);
102 pcap_if_t *alldevs; in main()
103 pcap_if_t *d; in main()
187 static int ifprint(pcap_if_t *d) in ifprint()
H A Dwritecaptest.c135 pcap_if_t *dev, *devlist; in find_interface_by_number()
236 pcap_if_t *devlist; in main()
298 pcap_if_t *dev; in main()
H A Dfindalldevstest-perf.c23 pcap_if_t *alldevs; in main()
H A Dnonblocktest.c108 pcap_if_t *devlist; in main()
H A Dopentest.c64 pcap_if_t *devlist; in main()
H A Dcapturetest.c110 pcap_if_t *devlist; in main()
H A Dthreadsignaltest.c186 pcap_if_t *devlist; in main()
H A Dvalgrindtest.c263 pcap_if_t *devlist; in main()
H A Dselpolltest.c76 pcap_if_t *devlist; in main()
/freebsd/contrib/libpcap/pcap/
H A Dpcap.h165 typedef struct pcap_if pcap_if_t; typedef
795 PCAP_API int pcap_findalldevs(pcap_if_t **, char *);
798 PCAP_API void pcap_freealldevs(pcap_if_t *);
1168 struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf);
/freebsd/contrib/wpa/src/l2_packet/
H A Dl2_packet_winpcap.c312 pcap_if_t *devs, *dev; in l2_packet_get_ip_addr()
H A Dl2_packet_freebsd.c302 pcap_if_t *devs, *dev; in l2_packet_get_ip_addr()
H A Dl2_packet_pcap.c347 pcap_if_t *devs, *dev; in l2_packet_get_ip_addr()
/freebsd/contrib/tcpdump/
H A Dtcpdump.c512 pcap_if_t *dev, *devlist; in show_devices_and_exit()
577 pcap_if_t *dev, *devlist; in show_remote_devices_and_exit()
1190 pcap_if_t *dev, *devlist; in find_interface_by_number()
1511 pcap_if_t *devlist; in main()
H A Dcmakeconfig.h.in114 /* Define to 1 if the system has the type `pcap_if_t'. */
H A Dconfig.h.in114 /* Define to 1 if the system has the type `pcap_if_t'. */
H A Dconfigure.in620 dnl have pcap_if_t.
623 AC_CHECK_TYPES(pcap_if_t, , , [#include <pcap.h>])

12