blob: 817b769520d0e3472404149d668ce57461f30a95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
struct aliasHandlers {
char *(*PacketAliasGetFragment) (char *);
void (*PacketAliasInit) ();
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();
|