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 * 127f3dea24SPeter Wemm * $FreeBSD$ 1359a7c613SBrian Somers */ 1459a7c613SBrian Somers 1524084f9bSBrian Somers #define PIDFILE "/var/run/natd.pid" 1659a7c613SBrian Somers #define INPUT 1 1759a7c613SBrian Somers #define OUTPUT 2 1859a7c613SBrian Somers #define DONT_KNOW 3 1924084f9bSBrian Somers 2072cbe4adSAlexander Motin #define EXIT_DELAY 10000 2172cbe4adSAlexander Motin #define MAX_EXIT_DELAY 999999 2272cbe4adSAlexander Motin 237bafbf7bSBrian Somers extern void Quit (const char* msg); 247bafbf7bSBrian Somers extern void Warn (const char* msg); 2524084f9bSBrian Somers extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu); 2622c62477SPoul-Henning Kamp extern struct libalias *mla; 2759a7c613SBrian Somers 28