[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] Compression of fields....
From: |
Muhammad Ashraf |
Subject: |
[lwip-users] Re: [lwip] Compression of fields.... |
Date: |
Wed, 08 Jan 2003 22:27:18 -0000 |
This is a multi-part message in MIME format.
------=_NextPart_000_00BF_01C1D4AB.8C233BE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi
In order to Compress Protocol field and Address and Control field to one =
byte, You must have to negotiate these options during PPP Connection =
establishment phase.
These Options are negotiated during LCP phase of Connection =
establishment.You have to=20
include these two options in your LCP configure request packet.
i) Address and Control field =
Compression
ii) Protocol field Compression=20
You can found the packet format and other details related to PPP in the =
Rfc 1661.
hope this will help you.
ashraf
----- Original Message -----=20
From: Omer Mohsin=20
To: address@hidden
Sent: Monday, March 25, 2002 6:16 PM
Subject: [lwip] Compression of fields....
Hi,
I appreciate your support. I am not building PPP for lwip, instead I =
am doing my Final Year Project of sending mail through embedded system. =
Currently I am trying to send e-mial using C++ program. I have evetually =
solved CRC problem, but now I am facing problem regarding Address and =
Control field compression and Protocol field compression. I'll =
appreciate if any of you may inform me about that. I want to know how we =
can convert 2 byte data into 1 byte (the mapping involved). Which RFC or =
site can help me?
Thanks,
Omer Mohsin Mubarak.
Faculty of Electronic Engineering,
GIK Institute, Topi. Pakistan
------=_NextPart_000_00BF_01C1D4AB.8C233BE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>In order to Compress Protocol field and =
Address and=20
Control field to one byte, You must have to negotiate these options =
during PPP=20
Connection establishment phase.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>These Options are negotiated during LCP =
phase of=20
Connection establishment.You have to </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>include these two options in your LCP =
configure=20
request packet.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> =20
=
=20
i) Address and =
Control=20
field Compression</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
=
=20
ii) Protocol =
field=20
Compression </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>You can found the packet format and =
other details=20
related to PPP in the Rfc 1661.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>hope this will help you.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>ashraf</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:address@hidden" =
address@hidden>Omer Mohsin</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:address@hidden"=20
address@hidden>address@hidden</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, March 25, 2002 =
6:16=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [lwip] Compression of=20
fields....</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I appreciate your support. I am not =
building PPP=20
for lwip, instead I am doing my Final Year Project of sending mail =
through=20
embedded system. Currently I am trying to send e-mial using C++ =
program. I=20
have evetually solved CRC problem, but now I am facing problem =
regarding=20
Address and Control field compression and Protocol field compression. =
I'll=20
appreciate if any of you may inform me about that. I want to know how =
we can=20
convert 2 byte data into 1 byte (the mapping involved). Which RFC or =
site can=20
help me?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,<BR>Omer Mohsin =
Mubarak.<BR>Faculty of=20
Electronic Engineering,<BR>GIK Institute, Topi.=20
Pakistan</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_00BF_01C1D4AB.8C233BE0--
[This message was sent through the lwip discussion list.]
- [lwip-users] Re: [lwip] Compression of fields....,
Muhammad Ashraf <=