trafgen: allow to schedule packets on specific CPUs
[netsniff-ng.git] / src / aslookup.h
blobb6b271fb79fab4eab2f1d3224f985d161c4fb03e
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2011 Daniel Borkmann.
5 * Subject to the GPL, version 2.
6 */
8 #ifndef ASLOOKUP_H
9 #define ASLOOKUP_H
11 struct asrecord {
12 char number[16], ip[64], prefix[96], country[16], registry[256];
13 char since[64], name[256];
16 extern int aslookup(const char *lhost, struct asrecord *rec);
17 extern int aslookup_prepare(const char *server, const char *port);
19 #endif /* ASLOOKUP_H */