diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-01-16 13:02:58 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-01-16 13:02:58 +0000 |
| commit | 442a25bd7b95cd6584aa9c66fd5323f797ff3718 (patch) | |
| tree | 095184f4e9a69a0f291683eaa3e34833bc1ec6a8 /lib | |
| parent | bb6d5d9147eb09a02e8806d82bf02aa90d0a2696 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libalias/libalias.3 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libalias/libalias.3 b/lib/libalias/libalias.3 index 51f31948c47a..8b168cbaf7a2 100644 --- a/lib/libalias/libalias.3 +++ b/lib/libalias/libalias.3 @@ -9,6 +9,7 @@ of IP packets, intended for masquerading and network address translation (NAT). .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <netinet/in.h> .Fd #include <alias.h> @@ -166,8 +167,8 @@ It is mandatory that this function be called prior to any packet handling. .Ss 2.4 PacketAliasSetMode() -.Ft void -.Fn PacketAliasSetMode "int mode" "int mask" +.Ft unsigned int +.Fn PacketAliasSetMode "unsigned int mode" "unsigned int mask" This function sets or clears mode bits according to the value of @@ -418,7 +419,7 @@ data type. .Ss 4.2 PacketAliasRedirectAddr() .Ft struct alias_link * -.Fo PacketAliasRedirectAddress +.Fo PacketAliasRedirectAddr .Fa "struct in_addr local_addr" .Fa "struct in_addr alias_addr" .Fc @@ -592,7 +593,7 @@ is called to change the default target address. .Ss 6.3 PacketAliasInternetChecksum() .Ft u_short -.Fn PacketAliasInternetChecksum "char *buffer" "int nbytes" +.Fn PacketAliasInternetChecksum "u_short *buffer" "int nbytes" This is a utility function that does not seem to be available elswhere and is included as a |
