1999-03-07 18:23:56 +00:00
|
|
|
/*
|
|
|
|
* natd - Network Address Translation Daemon for FreeBSD.
|
|
|
|
*
|
|
|
|
* This software is provided free of charge, with no
|
|
|
|
* warranty of any kind, either expressed or implied.
|
|
|
|
* Use at your own risk.
|
|
|
|
*
|
|
|
|
* You may copy, modify and distribute this software (natd.h) freely.
|
|
|
|
*
|
|
|
|
* Ari Suutari <suutari@iki.fi>
|
|
|
|
*
|
1999-08-28 00:22:10 +00:00
|
|
|
* $FreeBSD$
|
1999-03-07 18:23:56 +00:00
|
|
|
*/
|
|
|
|
|
1997-06-22 04:19:08 +00:00
|
|
|
#define PIDFILE "/var/run/natd.pid"
|
1999-03-07 18:23:56 +00:00
|
|
|
#define INPUT 1
|
|
|
|
#define OUTPUT 2
|
|
|
|
#define DONT_KNOW 3
|
1997-06-22 04:19:08 +00:00
|
|
|
|
2008-06-22 22:14:02 +00:00
|
|
|
#define EXIT_DELAY 10000
|
|
|
|
#define MAX_EXIT_DELAY 999999
|
|
|
|
|
1999-03-26 07:13:12 +00:00
|
|
|
extern void Quit (const char* msg);
|
|
|
|
extern void Warn (const char* msg);
|
1997-06-22 04:19:08 +00:00
|
|
|
extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu);
|
2004-07-04 12:53:54 +00:00
|
|
|
extern struct libalias *mla;
|
1999-03-07 18:23:56 +00:00
|
|
|
|