Annotation of ansh/inc/utils.h, revision 1.1.1.1
1.1 misho 1: /*************************************************************************
2: * (C) 2011 AITNET - Sofia/Bulgaria - <office@aitnet.org>
3: * by Michael Pounov <misho@elwix.org>
4: *
5: * $Author: misho $
6: * $Id: global.h,v 1.2 2011/06/08 12:45:40 misho Exp $
7: *
8: *************************************************************************/
9: #ifndef __UTILS_H
10: #define __UTILS_H
11:
12:
13: void Get1stEth(char *, int);
14: int PrepareL2(const char *, int *);
15: int PrepareL3(const struct sockaddr *, int *);
16:
17: char icmpRecv(int, u_short * __restrict, u_char * __restrict,
18: int * __restrict, struct sockaddr *, socklen_t *);
19: int icmpSend(int, u_short, char, u_char *, int, struct sockaddr *, socklen_t);
20: char pktRecv(int, u_char * __restrict, int * __restrict, struct ether_header*);
21: int pktSend(int, u_short, char, u_char *, int, struct ether_addr*);
22:
23: void *TOfunc(sched_task_t *task);
24:
25:
26: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>