summaryrefslogtreecommitdiffstats
path: root/lib/libalias/alias_local.h
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-09-23 07:41:55 +0000
committermarcus <marcus@FreeBSD.org>2003-09-23 07:41:55 +0000
commite19a1e64d248ad6f10230273b0afcd49b570e0ba (patch)
treedcae4425b97cd670a26f1074a999df062d47d4e1 /lib/libalias/alias_local.h
parent1adbd0035e01b5e125de7222da250f6c0cb4634a (diff)
downloadFreeBSD-src-e19a1e64d248ad6f10230273b0afcd49b570e0ba.zip
FreeBSD-src-e19a1e64d248ad6f10230273b0afcd49b570e0ba.tar.gz
Add Cisco Skinny Station protocol support to libalias, natd, and ppp.
Skinny is the protocol used by Cisco IP phones to talk to Cisco Call Managers. With this code, one can use a Cisco IP phone behind a FreeBSD NAT gateway. Currently, having the Call Manager behind the NAT gateway is not supported. More information on enabling Skinny support in libalias, natd, and ppp can be found in those applications' manpages. PR: 55843 Reviewed by: ru Approved by: ru MFC after: 30 days
Diffstat (limited to 'lib/libalias/alias_local.h')
-rw-r--r--lib/libalias/alias_local.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalias/alias_local.h b/lib/libalias/alias_local.h
index 4428d2a..d207f9f 100644
--- a/lib/libalias/alias_local.h
+++ b/lib/libalias/alias_local.h
@@ -74,6 +74,7 @@
/* Globals */
extern int packetAliasMode;
+extern unsigned int skinnyPort;
/* Prototypes */
@@ -212,6 +213,9 @@ int AliasHandleUdpNbtNS(struct ip *_pip, struct alias_link *_link,
void AliasHandleCUSeeMeOut(struct ip *_pip, struct alias_link *_link);
void AliasHandleCUSeeMeIn(struct ip *_pip, struct in_addr _original_addr);
+/* Skinny routines */
+void AliasHandleSkinny(struct ip *_pip, struct alias_link *_link);
+
/* Transparent proxy routines */
int ProxyCheck(struct ip *_pip, struct in_addr *_proxy_server_addr,
u_short *_proxy_server_port);
OpenPOWER on IntegriCloud