--- ansh/inc/utils.h 2011/10/10 13:56:30 1.1.1.1.2.3 +++ ansh/inc/utils.h 2011/10/13 14:29:30 1.1.1.1.2.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: utils.h,v 1.1.1.1.2.3 2011/10/10 13:56:30 misho Exp $ + * $Id: utils.h,v 1.1.1.1.2.4 2011/10/13 14:29:30 misho Exp $ * *************************************************************************/ #ifndef __UTILS_H @@ -14,11 +14,11 @@ void Get1stEth(char *, int); int PrepareL2(const char *, int *); int PrepareL3(const struct sockaddr *, int *); -char icmpRecv(int, u_short * __restrict, u_int * __restrict, u_char * __restrict, +char icmpRecv(int, u_int * __restrict, u_short * __restrict, u_int * __restrict, u_char * __restrict, int * __restrict, struct sockaddr *, socklen_t *); -int icmpSend(int, u_short, char, u_int, u_char *, int, struct sockaddr *, socklen_t); -char pktRecv(int, u_int * __restrict, u_char * __restrict, int * __restrict, struct ether_header*); -int pktSend(int, char, u_int, u_char *, int, struct ether_addr*); +int icmpSend(int, u_int, u_short, char, u_int, u_char *, int, struct sockaddr *, socklen_t); +char pktRecv(int, u_int * __restrict, u_int * __restrict, u_char * __restrict, int * __restrict, struct ether_header*); +int pktSend(int, u_int, char, u_int, u_char *, int, struct ether_addr*); void *TOfunc(sched_task_t *);