#include <pcap.h>
#include <stdarg.h>
Go to the source code of this file.
Defines | |
#define | min(a, b) ((a) > (b) ? (b) : (a)) |
#define | strlcpy(x, y, z) |
#define | snprintf pcap_snprintf |
#define | vsnprintf pcap_vsnprintf |
Enumerations | |
enum | swapped_type_t { NOT_SWAPPED, SWAPPED, MAYBE_SWAPPED } |
Functions | |
int | yylex (void) |
int | pcap_offline_read (pcap_t *, int, pcap_handler, u_char *) |
int | pcap_read (pcap_t *, int cnt, pcap_handler, u_char *) |
int | snprintf (char *, size_t, const char *,...) |
int | vsnprintf (char *, size_t, const char *, va_list ap) |
int | pcap_getnonblock_fd (pcap_t *, char *) |
int | pcap_setnonblock_fd (pcap_t *p, int, char *) |
void | pcap_close_common (pcap_t *) |
int | pcap_platform_finddevs (pcap_if_t **, char *) |
int | add_addr_to_iflist (pcap_if_t **, const char *, u_int, struct sockaddr *, size_t, struct sockaddr *, size_t, struct sockaddr *, size_t, struct sockaddr *, size_t, char *) |
int | pcap_add_if (pcap_if_t **, const char *, u_int, const char *, char *) |
sockaddr * | dup_sockaddr (struct sockaddr *, size_t) |
int | add_or_find_if (pcap_if_t **, pcap_if_t **, const char *, u_int, const char *, char *) |
int | install_bpf_program (pcap_t *, struct bpf_program *) |
int | pcap_strcasecmp (const char *, const char *) |
|
Definition at line 302 of file pcap-int.h. |
|
Definition at line 319 of file pcap-int.h. |
|
Value: (strncpy((x), (y), (z)), \
((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \
strlen((y)))
Definition at line 310 of file pcap-int.h. Referenced by __pyx_f_4dnet_4intf_get(), __pyx_f_4dnet_dict_to_ifent(), __pyx_f_4dnet_dict_to_rule(), _add_ip_intf(), _intf_add_aliases(), _intf_delete_addrs(), _intf_delete_aliases(), _intf_get_noalias(), AlertSyslog(), arg_to_fr(), CreatePidFile(), DecodePPPoEPkt(), eth_get(), eth_open(), eth_set(), format_rule(), fr_to_fwc(), fr_to_ipfw_device(), fr_to_pr(), fwc_to_fr(), intf_loop(), intf_main(), intf_set(), ipf_to_rule(), parse_rule(), ParseCmdLine(), ParseConfig(), ParseRulesFile(), ParseStream4Args(), pr_to_fr(), ProcessFileOption(), rule_to_ipf(), SLog(), and tun_open(). |
|
Definition at line 324 of file pcap-int.h. |
|
Definition at line 57 of file pcap-int.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 103 of file snprintf.c. References DoprEnd, MAXSHORTSTR, shortenstring(), sm_dopr(), SnprfOverflow, and tTd. |
|
|