Aallow ppp to work with Nortel Networks Extranet Switch

product and Windows NT tunneling.

Submitted by: Chain Lee <chain@nortelnetworks.com>
This commit is contained in:
Brian Somers 1999-08-22 23:32:01 +00:00
parent cdd53d9ce9
commit 7765ab6476
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50194
2 changed files with 12 additions and 0 deletions

View File

@ -95,6 +95,8 @@
#ifndef IPPROTO_GRE
#define IPPROTO_GRE 47
#define IPPROTO_ESP 50
#define IPPROTO_AH 51
#endif
#include "alias_local.h"
@ -1206,6 +1208,8 @@ PacketAliasIn(char *ptr, int maxpacketsize)
iresult = TcpAliasIn(pip);
break;
case IPPROTO_GRE:
case IPPROTO_ESP:
case IPPROTO_AH:
iresult = PptpAliasIn(pip);
break;
}
@ -1312,6 +1316,8 @@ PacketAliasOut(char *ptr, /* valid IP packet */
iresult = TcpAliasOut(pip, maxpacketsize);
break;
case IPPROTO_GRE:
case IPPROTO_ESP:
case IPPROTO_AH:
iresult = PptpAliasOut(pip);
break;
}

View File

@ -95,6 +95,8 @@
#ifndef IPPROTO_GRE
#define IPPROTO_GRE 47
#define IPPROTO_ESP 50
#define IPPROTO_AH 51
#endif
#include "alias_local.h"
@ -1206,6 +1208,8 @@ PacketAliasIn(char *ptr, int maxpacketsize)
iresult = TcpAliasIn(pip);
break;
case IPPROTO_GRE:
case IPPROTO_ESP:
case IPPROTO_AH:
iresult = PptpAliasIn(pip);
break;
}
@ -1312,6 +1316,8 @@ PacketAliasOut(char *ptr, /* valid IP packet */
iresult = TcpAliasOut(pip, maxpacketsize);
break;
case IPPROTO_GRE:
case IPPROTO_ESP:
case IPPROTO_AH:
iresult = PptpAliasOut(pip);
break;
}