diff options
author | des <des@FreeBSD.org> | 2004-07-05 10:53:28 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-07-05 10:53:28 +0000 |
commit | 0518dc3818c44b25b0ecdc4b38e7e642f63a4247 (patch) | |
tree | edafb583425323ab9b59562492a624301104a303 /lib/libalias/alias_proxy.c | |
parent | 408d450c6b824e2082587f0fdde36251dcbd51f3 (diff) | |
download | FreeBSD-src-0518dc3818c44b25b0ecdc4b38e7e642f63a4247.zip FreeBSD-src-0518dc3818c44b25b0ecdc4b38e7e642f63a4247.tar.gz |
Mechanical whitespace cleanup.
Diffstat (limited to 'lib/libalias/alias_proxy.c')
-rw-r--r-- | lib/libalias/alias_proxy.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/libalias/alias_proxy.c b/lib/libalias/alias_proxy.c index cdbe32d..ceb9119 100644 --- a/lib/libalias/alias_proxy.c +++ b/lib/libalias/alias_proxy.c @@ -42,8 +42,8 @@ __FBSDID("$FreeBSD$"); There is one public API function: - PacketAliasProxyRule() -- Adds and deletes proxy - rules. + PacketAliasProxyRule() -- Adds and deletes proxy + rules. Rules are stored in a linear linked list, so lookup efficiency won't be too good for large lists. @@ -118,19 +118,19 @@ struct proxy_entry { /* Local (static) functions: IpMask() -- Utility function for creating IP - masks from integer (1-32) specification. + masks from integer (1-32) specification. IpAddr() -- Utility function for converting string - to IP address + to IP address IpPort() -- Utility function for converting string - to port number + to port number RuleAdd() -- Adds an element to the rule list. RuleDelete() -- Removes an element from the rule list. RuleNumberDelete() -- Removes all elements from the rule list - having a certain rule number. + having a certain rule number. ProxyEncodeTcpStream() -- Adds [DEST x.x.x.x xxxx] to the beginning - of a TCP stream. + of a TCP stream. ProxyEncodeIpHeader() -- Adds an IP option indicating the true - destination of a proxied IP packet + destination of a proxied IP packet */ static int IpMask(int, struct in_addr *); @@ -431,10 +431,10 @@ ProxyEncodeIpHeader(struct ip *pip, /* Functions by other packet alias source files ProxyCheck() -- Checks whether an outgoing packet should - be proxied. + be proxied. ProxyModify() -- Encodes the original destination address/port - for a packet which is to be redirected to - a proxy server. + for a packet which is to be redirected to + a proxy server. */ int |