diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-09-27 13:28:19 +0200 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-09-27 13:28:19 +0200 |
commit | f68b4c26f99cad5efb608fab92ccb7d2a54ca7a8 (patch) | |
tree | f11b7db8a508515d45a2e5817d0935773987fe1c /devices.h | |
parent | dcf815703b327bd6500c0bdea60cb85f67994d5a (diff) | |
download | MAC-Telnet-f68b4c26f99cad5efb608fab92ccb7d2a54ca7a8.tar.gz MAC-Telnet-f68b4c26f99cad5efb608fab92ccb7d2a54ca7a8.zip |
Started code for automatically defining src ip/mac for packets
Diffstat (limited to 'devices.h')
-rw-r--r-- | devices.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devices.h b/devices.h new file mode 100644 index 0000000..69ba246 --- /dev/null +++ b/devices.h @@ -0,0 +1,2 @@ +extern int getDeviceIndex(int sockfd, unsigned char *deviceName); +extern int getDeviceIp(const int sockfd, const unsigned char *deviceName, struct sockaddr_in *ip); |