Hi Steven,
>> But some carriers, like China Telecom or Sprint Network etc,
will
>> support the full configuration
>>
options(Magic-Number,Protocol-Field-Compression,Address-and-Control-Field-Compression),
>>
>> So if PFC option is used ,our code will got wrong with ppp_receive().
>
We explicitly do not advertise capability to receive PFC or ACFC
packets. If the remote peer PPP stack is compliant it should not be
sending such packets in the first place.
Are you saying you're working with a PPP stack that is not compliant and
not honoring our request not to send ACFC or PFC packets?
anyway, if we want to implement a full PPP stack, we have a long way to go.
That's the point, we actually do not want to implement a full PPP stack.
Only enough to talk to the relatively unsophisticated PPP stacks
running inside the modem firmware. Remember, PPP is simply used host to
modem. It is not used over the air.
Regards,
-Denis