version 1.18, 2014/02/08 22:06:16
|
version 1.19, 2016/08/18 09:06:31
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004 - 2014 | Copyright 2004 - 2016 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 49 SUCH DAMAGE.
|
Line 49 SUCH DAMAGE.
|
|
|
#include "config.h" |
#include "config.h" |
|
|
|
#ifdef __linux__ |
|
#define _GNU_SOURCE |
|
#endif |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <stdarg.h> |
#include <stdarg.h> |
#include <string.h> |
#include <string.h> |
#include <unistd.h> |
#include <unistd.h> |
|
#include <fcntl.h> |
#include <errno.h> |
#include <errno.h> |
#include <termios.h> |
#include <termios.h> |
#include <signal.h> |
#include <signal.h> |
#include <glob.h> |
#include <glob.h> |
#include <grp.h> |
#include <grp.h> |
#include <fcntl.h> |
|
#include <assert.h> |
#include <assert.h> |
#include <paths.h> |
#include <paths.h> |
#include <poll.h> |
#include <poll.h> |
Line 68 SUCH DAMAGE.
|
Line 72 SUCH DAMAGE.
|
#include <ifaddrs.h> |
#include <ifaddrs.h> |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/param.h> |
#include <sys/param.h> |
|
#ifndef __linux__ |
#include <sys/stdint.h> |
#include <sys/stdint.h> |
#include <sys/event.h> |
#include <sys/event.h> |
|
#include <machine/atomic.h> |
|
#else |
|
#include <libio.h> |
|
#include <pty.h> |
|
#include <stdint.h> |
|
#include <stdio_ext.h> |
|
#include <sys/inotify.h> |
|
#endif |
#include <sys/stat.h> |
#include <sys/stat.h> |
#include <sys/wait.h> |
#include <sys/wait.h> |
#include <sys/ioctl.h> |
#include <sys/ioctl.h> |
Line 78 SUCH DAMAGE.
|
Line 91 SUCH DAMAGE.
|
#include <sys/ipc.h> |
#include <sys/ipc.h> |
#include <sys/sem.h> |
#include <sys/sem.h> |
#include <sys/shm.h> |
#include <sys/shm.h> |
#include <machine/atomic.h> |
|
#include <net/if.h> |
#include <net/if.h> |
|
#ifndef __linux__ |
#include <net/bpf.h> |
#include <net/bpf.h> |
#include <net/ethernet.h> |
|
#include <net/if_types.h> |
#include <net/if_types.h> |
#ifdef __FreeBSD__ |
#ifdef __FreeBSD__ |
#include <libutil.h> |
#include <libutil.h> |
#else |
#else |
#include <util.h> |
#include <util.h> |
#endif |
#endif |
|
#endif |
|
#include <net/ethernet.h> |
|
|
#ifdef AIO_OPS |
#ifdef AIO_OPS |
#include <aio.h> |
#include <aio.h> |