From c9711c2fa0ae0efbf0e847d4226d0ab04edc05f2 Mon Sep 17 00:00:00 2001 From: Håkon Nessjøen Date: Fri, 1 Oct 2010 10:31:28 +0200 Subject: Some code cleanup, and support for several sessions/instances on one interface. (random source port) --- udp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udp.h') 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 -- cgit v1.2.3