libpcap  1.10.1
About: libpcap is a packet filter library used by tools like tcpdump.
  Fossies Dox: libpcap-1.10.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

fad-getad.c File Reference
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <net/if.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ifaddrs.h>
#include "pcap-int.h"
Include dependency graph for fad-getad.c:

Go to the source code of this file.

Macros

#define SA_LEN(addr)   (sizeof (struct sockaddr))
 

Functions

int pcap_findalldevs_interfaces (pcap_if_list_t *devlistp, char *errbuf, int(*check_usable)(const char *), get_if_flags_func get_flags_func)
 

Macro Definition Documentation

◆ SA_LEN

#define SA_LEN (   addr)    (sizeof (struct sockaddr))

Definition at line 134 of file fad-getad.c.

Function Documentation

◆ pcap_findalldevs_interfaces()

int pcap_findalldevs_interfaces ( pcap_if_list_t devlistp,
char *  errbuf,
int(*)(const char *)  check_usable,
get_if_flags_func  get_flags_func 
)