File: fns.h

package info (click to toggle)
vblade 25-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 336 kB
  • sloc: ansic: 1,310; sh: 633; makefile: 60
file content (35 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// fns.h: function prototypes

// aoe.c

void	aoe(void);
void	aoeinit(void);
void	aoequery(void);
void	aoeconfig(void);
void	aoead(int);
void	aoeflush(int, int);
void	aoetick(void);
void	aoerequest(int, int, vlong, int, uchar *, int);
int	maskok(uchar *);
int	rrok(uchar *);

// ata.c

void	atainit(void);
int	atacmd(Ataregs *, uchar *, int, int);

// bpf.c

void *	create_bpf_program(int, int);
void	free_bpf_program(void *);

// os specific

int	dial(char *, int);
int	getea(int, char *, uchar *);
int	putsec(int, uchar *, vlong, int);
int	getsec(int, uchar *, vlong, int);
int	putpkt(int, uchar *, int);
int	getpkt(int, uchar *, int);
vlong	getsize(int);
int	getmtu(int, char *);