libpcap
文章平均质量分 63
LiuJingjunSelfImp
真正的成功容不得半点的投机取巧
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
libpcap中<pcap.h>定义的结构
struct pcap_file_header { bpf_u_int32 magic; u_short version_major; u_short version_minor; bpf_in32 thizone; bpf_u_int32 sigfigs; bpf_u_int32 snaplen; bpf_u_int32 linktype;};struct pc原创 2013-08-28 19:56:59 · 1269 阅读 · 0 评论 -
libpcap中<pcap.h>的平台无关性之条件编译
#ifndef lib_pcap_pcap_h#define lib_pcap_pcap_h#if defined(WIN32) #include #elif defined(MSDOS) #include #include #elif #include #include #endif#ifndef PCAP_DONT_INCLUDE_PCAP_B原创 2013-08-28 20:06:15 · 1098 阅读 · 0 评论 -
libpcap中<pcap.h>中定义的函数
char *pcap_lookupdev(char *);int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *);pcap_t *pcap_create(const char *, char *);int pcap_set_snaplen(pcap_t *, int);int pcap_set_prom原创 2013-08-28 19:43:38 · 2144 阅读 · 0 评论
分享