Age | Commit message (Collapse) | Author | Files | Lines |
|
The parameter `name' to tun_open_or_die() is never modified
inside the function, thus mark it as const.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
|
|
Just tell GCC that those paths are unexpected.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
|
|
Bail out if it should ever fail. Detected by coverty in the
translate_pcap_to_txf() path.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
|
|
Argh, forgot to rename variables in read_blob_or_die/write_blob_or_die.
ioops.c: In function ‘read_blob_or_die’:
ioops.c:105:30: error: ‘len’ undeclared (first use in this function)
ioops.c:105:30: note: each undeclared identifier is reported only once for each function it appears in
ioops.c: In function ‘write_blob_or_die’:
ioops.c:116:31: error: ‘len’ undeclared (first use in this function)
make: *** [netsniff-ng/ioops.o] Error 1
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
|
|
We need those functions for later key generation simplification.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
|
|
Finally eliminate xutils.{c,h} and move the rest to epoll2.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
|
|
Move those functions out so that they can be more easily maintained
in its separate file.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
|
|
Rename xio to ioops (io-ops) and boil its include files down to a
minimum.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
|