Searched refs:pcap_if_t (Results 1 - 21 of 21) sorted by relevance

/freebsd-13-stable/contrib/libpcap/
H A Dpcap-rpcap.h47 struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf);
H A Dpcap-new.c74 int pcap_findalldevs_ex(const char *source, struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf)
82 pcap_if_t *lastdev; /* Last device in the pcap_if_t list */
83 pcap_if_t *dev; /* Device we're adding to the pcap_if_t list */
264 dev = (pcap_if_t *)malloc(sizeof(pcap_if_t));
275 memset(dev, 0, sizeof(pcap_if_t));
H A Dpcap-int.h457 pcap_if_t *find_or_add_dev(pcap_if_list_t *, const char *, bpf_u_int32,
459 pcap_if_t *find_dev(pcap_if_list_t *, const char *);
460 pcap_if_t *add_dev(pcap_if_list_t *, const char *, bpf_u_int32, const char *,
462 int add_addr_to_dev(pcap_if_t *, struct sockaddr *, size_t,
466 pcap_if_t *find_or_add_if(pcap_if_list_t *, const char *, bpf_u_int32,
H A Dpcap-sita.c79 pcap_if_t *acn_if_list; /* pcap's list of available interfaces */
82 pcap_if_t *iff;
123 pcap_if_t *iff;
131 dump((unsigned char *)iff, sizeof(pcap_if_t), 5);
389 pcap_if_t *iff, *next_iff;
530 pcap_if_t *p1, *p2, *prev, *temp;
568 pcap_if_t *iff, *prev_iff;
585 if ((iff = malloc(sizeof(pcap_if_t))) == NULL) {
590 memset((char *)iff, 0, sizeof(pcap_if_t)); /* bzero() is deprecated, replaced with memset() */
H A Dpcap.c512 pcap_if_t *beginning;
562 pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf)
636 get_figure_of_merit(pcap_if_t *dev)
871 pcap_if_t *
937 pcap_if_t *curdev;
975 add_addr_to_dev(pcap_if_t *curdev,
1089 pcap_if_t *
1093 pcap_if_t *curdev;
1130 pcap_if_t *
1133 pcap_if_t *curde
[all...]
H A Dpcap-tc.c121 static pcap_if_t* TcCreatePcapIfFromPort(TC_PORT port);
443 pcap_if_t *dev;
491 static pcap_if_t* TcCreatePcapIfFromPort(TC_PORT port)
495 pcap_if_t *newIf = NULL;
497 newIf = (pcap_if_t*)malloc(sizeof(*newIf));
H A Dpcap-rpcap.c2343 pcap_findalldevs_ex_remote(const char *source, struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf)
2354 pcap_if_t *lastdev; /* Last device in the pcap_if_t list */
2355 pcap_if_t *dev; /* Device we're adding to the pcap_if_t list */
2408 dev = (pcap_if_t *)malloc(sizeof(pcap_if_t));
2417 memset(dev, 0, sizeof(pcap_if_t));
H A Dpcap-snf.c347 pcap_if_t *dev;
H A Dpcap-dos.c561 pcap_if_t *curdev;
H A Dpcap-npf.c1426 pcap_if_t *curdev;
/freebsd-13-stable/contrib/libpcap/testprogs/
H A Dfindalldevstest.c24 static int ifprint(pcap_if_t *d);
99 pcap_if_t *alldevs;
100 pcap_if_t *d;
168 static int ifprint(pcap_if_t *d)
H A Dopentest.c64 pcap_if_t *devlist;
H A Dcapturetest.c72 pcap_if_t *devlist;
H A Dselpolltest.c76 pcap_if_t *devlist;
H A Dthreadsignaltest.c186 pcap_if_t *devlist;
H A Dvalgrindtest.c237 pcap_if_t *devlist;
/freebsd-13-stable/contrib/libpcap/pcap/
H A Dpcap.h119 typedef struct pcap_if pcap_if_t; typedef in typeref:struct:pcap_if
516 PCAP_API int pcap_findalldevs(pcap_if_t **, char *);
517 PCAP_API void pcap_freealldevs(pcap_if_t *);
884 struct pcap_rmtauth *auth, pcap_if_t **alldevs, char *errbuf);
/freebsd-13-stable/contrib/wpa/src/l2_packet/
H A Dl2_packet_freebsd.c286 pcap_if_t *devs, *dev;
/freebsd-13-stable/contrib/tcpdump/
H A Dtcpdump.c49 * define pcap_if_t, meaning that we can't actually *use* pcap_findalldevs().
431 pcap_if_t *dev, *devlist;
963 pcap_if_t *dev, *devlist;
1161 pcap_if_t *devlist;
H A Dconfigure6135 ac_fn_c_check_type "$LINENO" "pcap_if_t" "ac_cv_type_pcap_if_t" "#include <pcap.h>
/freebsd-13-stable/contrib/libpcap/rpcapd/
H A Ddaemon.c1334 pcap_if_t *alldevs = NULL; // pointer to the header of the interface chain
1335 pcap_if_t *d; // temp pointer needed to scan the interface chain

Completed in 147 milliseconds