mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
72cbe4adf3
PR: bin/58696 Submitted by: sp@alkor.ru
28 lines
650 B
C
28 lines
650 B
C
/*
|
|
* 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>
|
|
*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
#define PIDFILE "/var/run/natd.pid"
|
|
#define INPUT 1
|
|
#define OUTPUT 2
|
|
#define DONT_KNOW 3
|
|
|
|
#define EXIT_DELAY 10000
|
|
#define MAX_EXIT_DELAY 999999
|
|
|
|
extern void Quit (const char* msg);
|
|
extern void Warn (const char* msg);
|
|
extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu);
|
|
extern struct libalias *mla;
|
|
|