mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
Add pcap_lib_version API to work with current simh version
This commit is contained in:
parent
4b4b098ab6
commit
c69ca0e079
@ -385,3 +385,8 @@ pcap_close(pcap_t *p)
|
||||
pcap_freecode(&p->fcode);
|
||||
free(p);
|
||||
}
|
||||
|
||||
const char *pcap_lib_version(void)
|
||||
{
|
||||
return "simh Pcap VMS";
|
||||
}
|
||||
|
||||
@ -208,6 +208,8 @@ void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *);
|
||||
int pcap_findalldevs(pcap_if_t **, char *);
|
||||
void pcap_freealldevs(pcap_if_t *);
|
||||
|
||||
const char *pcap_lib_version(void);
|
||||
|
||||
/* 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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user