xref: /freebsd/sbin/natd/natd.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
159a7c613SBrian Somers /*
259a7c613SBrian Somers  * natd - Network Address Translation Daemon for FreeBSD.
359a7c613SBrian Somers  *
459a7c613SBrian Somers  * This software is provided free of charge, with no
559a7c613SBrian Somers  * warranty of any kind, either expressed or implied.
659a7c613SBrian Somers  * Use at your own risk.
759a7c613SBrian Somers  *
859a7c613SBrian Somers  * You may copy, modify and distribute this software (natd.h) freely.
959a7c613SBrian Somers  *
1059a7c613SBrian Somers  * Ari Suutari <suutari@iki.fi>
1159a7c613SBrian Somers  */
1259a7c613SBrian Somers 
1324084f9bSBrian Somers #define PIDFILE	"/var/run/natd.pid"
1459a7c613SBrian Somers #define	INPUT		1
1559a7c613SBrian Somers #define	OUTPUT		2
1659a7c613SBrian Somers #define	DONT_KNOW	3
1724084f9bSBrian Somers 
1872cbe4adSAlexander Motin #define EXIT_DELAY	10000
1972cbe4adSAlexander Motin #define MAX_EXIT_DELAY	999999
2072cbe4adSAlexander Motin 
217bafbf7bSBrian Somers extern void Quit (const char* msg);
227bafbf7bSBrian Somers extern void Warn (const char* msg);
2324084f9bSBrian Somers extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu);
2422c62477SPoul-Henning Kamp extern struct libalias *mla;
2559a7c613SBrian Somers 
26