Annotation of ansh/inc/utils.h, revision 1.1.1.1.2.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 $
1.1.1.1.2.1! misho       6:  * $Id: utils.h,v 1.1.1.1 2011/10/04 22:37:46 misho Exp $
1.1       misho       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: 
1.1.1.1.2.1! misho      17: char icmpRecv(int, u_short * __restrict, u_int * __restrict, u_char * __restrict, 
1.1       misho      18:                int * __restrict, struct sockaddr *, socklen_t *);
1.1.1.1.2.1! misho      19: int icmpSend(int, u_short, char, u_int, u_char *, int, struct sockaddr *, socklen_t);
1.1       misho      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: 
1.1.1.1.2.1! misho      23: void *TOfunc(sched_task_t *);
        !            24: 
        !            25: u_char *cryptBuffer(u_char *, int, u_int);
1.1       misho      26: 
                     27: 
                     28: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>