mirror of
https://github.com/opnsense/src.git
synced 2026-03-02 05:13:58 -05:00
o Add missing $Id$s
o Move extern decls from .c -> .h files
o Staticize
o Remove #includes from .h files
o style(9)ify includes
o bcopy -> memcpy
bzero -> memset
bcmp -> memcmp
index -> strchr
rindex -> strrchr
o Move timeout.h -> timer.h (making it consistent w/ timer.c)
o Add -Wmissing-prototypes
21 lines
706 B
C
21 lines
706 B
C
/*
|
|
* $Id: $
|
|
*/
|
|
|
|
struct aliasHandlers {
|
|
char *(*PacketAliasGetFragment)(char *);
|
|
void (*PacketAliasInit)(void);
|
|
int (*PacketAliasIn)(char *, int);
|
|
int (*PacketAliasOut)(char *, int);
|
|
struct alias_link *(*PacketAliasRedirectAddr)(struct in_addr, struct in_addr);
|
|
struct alias_link *(*PacketAliasRedirectPort)
|
|
(struct in_addr, u_short, struct in_addr, u_short,
|
|
struct in_addr, u_short, u_char);
|
|
int (*PacketAliasSaveFragment)(char *);
|
|
void (*PacketAliasSetAddress)(struct in_addr);
|
|
unsigned (*PacketAliasSetMode)(unsigned, unsigned);
|
|
void (*PacketAliasFragmentIn)(char *, char *);
|
|
};
|
|
|
|
extern int loadAliasHandlers(struct aliasHandlers *);
|
|
extern void unloadAliasHandlers(void);
|