diff options
author | bde <bde@FreeBSD.org> | 1998-01-16 13:02:58 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-01-16 13:02:58 +0000 |
commit | a38cdc5bd4db9ee4542d3d3a0cf85f4acef87b61 (patch) | |
tree | dd45f7bcb3f9e93dc2ab71b66a00a074b789ad56 /lib/libalias/libalias.3 | |
parent | 72fdc3c6eb08a1b55612c4a4a9a0a7f57f8d79f5 (diff) | |
download | FreeBSD-src-a38cdc5bd4db9ee4542d3d3a0cf85f4acef87b61.zip FreeBSD-src-a38cdc5bd4db9ee4542d3d3a0cf85f4acef87b61.tar.gz |
Fixed a missing #include in the synopsis.
Fixed some wrong prototypes.
Fixed a misspelled function name.
The owner of this file should add a copyright and an Id.
Diffstat (limited to 'lib/libalias/libalias.3')
-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 51f3194..8b168cb 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 |