version 1.12, 2012/08/02 00:47:46
|
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, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | 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 <regex.h> |
|
#include <termios.h> |
#include <termios.h> |
|
#include <signal.h> |
#include <glob.h> |
#include <glob.h> |
#include <grp.h> |
#include <grp.h> |
#include <fcntl.h> |
|
#include <ctype.h> |
|
#include <assert.h> |
#include <assert.h> |
#include <paths.h> |
#include <paths.h> |
#include <poll.h> |
#include <poll.h> |
#include <netdb.h> |
|
#include <pthread.h> |
#include <pthread.h> |
|
#include <semaphore.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/ioctl.h> |
#include <sys/ioctl.h> |
#include <sys/mman.h> |
#include <sys/mman.h> |
#include <sys/socket.h> |
#include <sys/socket.h> |
#ifndef __OpenBSD__ | #include <sys/ipc.h> |
#include <sys/endian.h> | #include <sys/sem.h> |
#endif | #include <sys/shm.h> |
| #include <net/if.h> |
| #ifndef __linux__ |
| #include <net/bpf.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 |
#include <netinet/in.h> | #endif |
#include <arpa/inet.h> | #include <net/ethernet.h> |
|
|
#ifdef AIO_OPS |
#ifdef AIO_OPS |
#include <aio.h> |
#include <aio.h> |
#endif |
#endif |
|
|
|
#include <elwix.h> |
|
|
#include "apatricia.h" |
|
#include "aitio.h" |
#include "aitio.h" |
|
#include "aitsess.h" |
#include "defs.h" |
#include "defs.h" |
|
|
|
|