]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - VBLADE/vblade-master/fns.h
1.0.95 release
[Ventoy.git] / VBLADE / vblade-master / fns.h
1 // fns.h: function prototypes
2
3 // aoe.c
4
5 void aoe(void);
6 void aoeinit(void);
7 void aoequery(void);
8 void aoeconfig(void);
9 void aoead(int);
10 void aoeflush(int, int);
11 void aoetick(void);
12 void aoerequest(int, int, vlong, int, uchar *, int);
13 int maskok(uchar *);
14 int rrok(uchar *);
15
16 // ata.c
17
18 void atainit(void);
19 int atacmd(Ataregs *, uchar *, int, int);
20
21 // bpf.c
22
23 void * create_bpf_program(int, int);
24 void free_bpf_program(void *);
25
26 // os specific
27
28 int dial(char *, int);
29 int getea(int, char *, uchar *);
30 int putsec(int, uchar *, vlong, int);
31 int getsec(int, uchar *, vlong, int);
32 int putpkt(int, uchar *, int);
33 int getpkt(int, uchar *, int);
34 vlong getsize(int);
35 int getmtu(int, char *);