summaryrefslogtreecommitdiff
path: root/udp.h
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-10-01 10:31:28 +0200
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-10-01 10:31:28 +0200
commitc9711c2fa0ae0efbf0e847d4226d0ab04edc05f2 (patch)
tree40a0ea453a654ec66f38b8a0aff6303f4667d372 /udp.h
parent471b10f6b547bb9b6088c8b079360ad91aaf8510 (diff)
downloadMAC-Telnet-c9711c2fa0ae0efbf0e847d4226d0ab04edc05f2.tar.gz
MAC-Telnet-c9711c2fa0ae0efbf0e847d4226d0ab04edc05f2.zip
Some code cleanup, and support for several sessions/instances on one interface. (random source port)
Diffstat (limited to 'udp.h')
-rw-r--r--udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/udp.h b/udp.h
index d43e5ee..a8bb56c 100644
--- a/udp.h
+++ b/udp.h
@@ -1,4 +1,4 @@
#ifndef _UDP_H
#define _UDP_H 1
-extern int sendCustomUDP(const int socket, const int ifindex, const unsigned char *sourcemac, const unsigned char *destmac, const struct in_addr *sourceip, const int sourceport, const struct in_addr *destip, const int destport, const char *data, const int datalen);
+extern int sendCustomUDP(const int socket, const int ifindex, const unsigned char *sourcemac, const unsigned char *destmac, const struct in_addr *sourceip, const int sourceport, const struct in_addr *destip, const int destport, const unsigned char *data, const int datalen);
#endif