xref: /freebsd/sbin/natd/natd.h (revision a0409676120c1e558d0ade943019934e0f15118d)
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  * $FreeBSD$
13  */
14 
15 #define PIDFILE	"/var/run/natd.pid"
16 #define	INPUT		1
17 #define	OUTPUT		2
18 #define	DONT_KNOW	3
19 
20 #define EXIT_DELAY	10000
21 #define MAX_EXIT_DELAY	999999
22 
23 extern void Quit (const char* msg);
24 extern void Warn (const char* msg);
25 extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu);
26 extern struct libalias *mla;
27 
28