xref: /freebsd/sbin/natd/natd.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1 /*
2  * natd - Network Address Translation Daemon for FreeBSD.
3  *
4  * This software is provided free of charge, with no
5  * warranty of any kind, either expressed or implied.
6  * Use at your own risk.
7  *
8  * You may copy, modify and distribute this software (natd.h) freely.
9  *
10  * Ari Suutari <suutari@iki.fi>
11  */
12 
13 #define PIDFILE	"/var/run/natd.pid"
14 #define	INPUT		1
15 #define	OUTPUT		2
16 #define	DONT_KNOW	3
17 
18 #define EXIT_DELAY	10000
19 #define MAX_EXIT_DELAY	999999
20 
21 extern void Quit (const char* msg);
22 extern void Warn (const char* msg);
23 extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu);
24 extern struct libalias *mla;
25 
26