diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-10-01 10:31:28 +0200 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-10-01 10:31:28 +0200 |
commit | c9711c2fa0ae0efbf0e847d4226d0ab04edc05f2 (patch) | |
tree | 40a0ea453a654ec66f38b8a0aff6303f4667d372 /udp.h | |
parent | 471b10f6b547bb9b6088c8b079360ad91aaf8510 (diff) | |
download | MAC-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |