1997-10-26 01:04:02 +00:00
|
|
|
/*
|
|
|
|
* $Id: $
|
|
|
|
*/
|
|
|
|
|
1997-05-26 00:44:10 +00:00
|
|
|
struct aliasHandlers {
|
1997-10-26 01:04:02 +00:00
|
|
|
char *(*PacketAliasGetFragment)(char *);
|
|
|
|
void (*PacketAliasInit)(void);
|
|
|
|
int (*PacketAliasIn)(char *, int);
|
|
|
|
int (*PacketAliasOut)(char *, int);
|
|
|
|
struct alias_link *(*PacketAliasRedirectAddr)(struct in_addr, struct in_addr);
|
1997-08-25 00:29:32 +00:00
|
|
|
struct alias_link *(*PacketAliasRedirectPort)
|
1997-10-26 01:04:02 +00:00
|
|
|
(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 *);
|
1997-05-26 00:44:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern int loadAliasHandlers(struct aliasHandlers *);
|
1997-10-26 01:04:02 +00:00
|
|
|
extern void unloadAliasHandlers(void);
|