Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(ASCEND) hex2ppp for linux diff
I grabbed the hex2ppp program from http://www.mlink.net/~vandry/hex2ppp.html
and changed the DEFINES to values that work with Linux. Though I'm not shure
if I have changed them correctly.
I'll post the diff.
While using hex2ppp I was wondering how many bytes are needed
for wanopen in debug mode ? Is wanopen 20 enough ?
Thilo
--
thilo@vossnet.de Thilo Wunderlich Voss Net GmbH
488,489c488
< /* case IPPROTO_ENCAP:*/
< case IPPROTO_IP:
---
> case IPPROTO_ENCAP:
1016,1017c1015
< /* case ICMP_UNREACH:*/
< case ICMP_DEST_UNREACH:
---
> case ICMP_UNREACH:
1022,1023c1020
< /* case ICMP_SOURCEQUENCH:*/
< case ICMP_SOURCE_QUENCH:
---
> case ICMP_SOURCEQUENCH:
1038,1039c1035
< /* case ICMP_TIMXCEED:*/
< case ICMP_TIME_EXCEEDED:
---
> case ICMP_TIMXCEED:
1044,1045c1040
< /* case ICMP_PARAMPROB:*/
< case ICMP_PARAMETERPROB:
---
> case ICMP_PARAMPROB:
1050,1051c1045
< /* case ICMP_TSTAMP:*/
< case ICMP_TIMESTAMP:
---
> case ICMP_TSTAMP:
1056,1057c1050
< /* case ICMP_TSTAMPREPLY:*/
< case ICMP_TIMESTAMPREPLY:
---
> case ICMP_TSTAMPREPLY:
1062,1063c1055
< /* case ICMP_IREQ:*/
< case ICMP_INFO_REQUEST:
---
> case ICMP_IREQ:
1068,1069c1060
< /* case ICMP_IREQREPLY:*/
< case ICMP_INFO_REPLY:
---
> case ICMP_IREQREPLY:
1074,1075c1065
< /* case ICMP_MASKREQ:*/
< case ICMP_ADDRESS:
---
> case ICMP_MASKREQ:
1080,1081c1070
< /* case ICMP_MASKREPLY:*/
< case ICMP_ADDRESSREPLY:
---
> case ICMP_MASKREPLY:
1102,1103c1091
< /* case ICMP_UNREACH_NET:*/
< case ICMP_NET_UNREACH:
---
> case ICMP_UNREACH_NET:
1106,1107c1094
< /* case ICMP_UNREACH_HOST:*/
< case ICMP_HOST_UNREACH:
---
> case ICMP_UNREACH_HOST:
1110,1111c1097
< /* case ICMP_UNREACH_PROTOCOL:*/
< case ICMP_PROT_UNREACH:
---
> case ICMP_UNREACH_PROTOCOL:
1114,1115c1100
< /* case ICMP_UNREACH_PORT:*/
< case ICMP_PORT_UNREACH:
---
> case ICMP_UNREACH_PORT:
1118,1119c1103
< /* case ICMP_UNREACH_NEEDFRAG:*/
< case ICMP_FRAG_NEEDED:
---
> case ICMP_UNREACH_NEEDFRAG:
1122,1123c1106
< /* case ICMP_UNREACH_SRCFAIL:*/
< case ICMP_SR_FAILED:
---
> case ICMP_UNREACH_SRCFAIL:
1135,1136c1118
< /* case ICMP_REDIRECT_NET:*/
< case ICMP_REDIR_NET:
---
> case ICMP_REDIRECT_NET:
1139,1140c1121
< /* case ICMP_REDIRECT_HOST:*/
< case ICMP_REDIR_HOST:
---
> case ICMP_REDIRECT_HOST:
1143,1144c1124
< /* case ICMP_REDIRECT_TOSNET:*/
< case ICMP_REDIR_NETTOS:
---
> case ICMP_REDIRECT_TOSNET:
1147c1127
< case ICMP_REDIR_HOSTTOS:
---
> case ICMP_REDIRECT_TOSHOST:
1159,1160c1139
< /* case ICMP_TIMXCEED_INTRANS:*/
< case ICMP_EXC_TTL:
---
> case ICMP_TIMXCEED_INTRANS:
1163,1164c1142
< /* case ICMP_TIMXCEED_REASS:*/
< case ICMP_EXC_FRAGTIME:
---
> case ICMP_TIMXCEED_REASS:
++ Ascend Users Mailing List ++
To unsubscribe: send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd: <http://www.nealis.net/ascend/faq>
Follow-Ups: