version 1.40, 2014/02/08 22:06:16
|
version 1.41.2.1, 2016/08/10 13:55:00
|
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 53 SUCH DAMAGE.
|
Line 53 SUCH DAMAGE.
|
#include <syslog.h> |
#include <syslog.h> |
#include <openssl/evp.h> |
#include <openssl/evp.h> |
#include <openssl/aes.h> |
#include <openssl/aes.h> |
#include <sys/tty.h> |
|
#include <sys/ioctl_compat.h> |
|
#include <sys/socket.h> |
#include <sys/socket.h> |
#include <sys/un.h> |
#include <sys/un.h> |
#include <sys/uio.h> |
#include <sys/uio.h> |
|
#ifndef __linux__ |
|
#include <sys/tty.h> |
|
#include <sys/ioctl_compat.h> |
#include <net/if_dl.h> |
#include <net/if_dl.h> |
#include <net/bpf.h> |
#include <net/bpf.h> |
|
#endif |
#include <netinet/in.h> |
#include <netinet/in.h> |
#include <elwix.h> |
#include <elwix.h> |
#include <aitsched.h> |
#include <aitsched.h> |
Line 633 FILE *io_fd2buf(int fd, const char *mode);
|
Line 635 FILE *io_fd2buf(int fd, const char *mode);
|
int io_dumbFile(const char *csFile, int mode, off_t size); |
int io_dumbFile(const char *csFile, int mode, off_t size); |
|
|
|
|
/* |
|
* io_get1stiface() - Get first interface of host |
|
* |
|
* @szIface = interface string buffer |
|
* @iflen = size of interface buffer |
|
* return: -1 error or 0 ok |
|
*/ |
|
int io_get1stiface(char *szIface, int iflen); |
|
/* |
|
* io_getmaciface() - Get MAC address from interface name |
|
* |
|
* @csIface = interface name |
|
* @ea = ethernet address |
|
* return: -1 error, 0 ok or 1 not found |
|
*/ |
|
int io_getmaciface(const char *csIface, ether_addr_t * __restrict ea); |
|
/* |
/* |
* io_etherOpen() - Open BPF interface to device |
* io_etherOpen() - Open BPF interface to device |
* |
* |