WinPcap问题 error C2733: second C linkage of overloaded function 'bpf_filter' not
信阳毛尖 2010-11-13 10:39:11 已经安装了WinPcap驱动程序WinPcap_4_1_2 以及WinPcap SDK WpdPack_4_1_1
程序编译的时候错误提示pcap.h(291) : error C2733: second C linkage of overloaded function 'bpf_filter' not allowed
及pcap.h(292) : error C2733: second C linkage of overloaded function 'bpf_validate' not allowed等信息,
错误所在的文件位置为
pcap.h
/* XXX this guy lives in the bpf tree */
u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
int bpf_validate(struct bpf_insn *f, int len);char *bpf_image(struct bpf_insn *, int);
void bpf_dump(struct bpf_program *, int);
第一次接触网络方面的编程,不知道这是怎么回事,望高手指教