[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwip_PPP_IPCP
From: |
yueyue papa |
Subject: |
Re: [lwip-users] lwip_PPP_IPCP |
Date: |
Wed, 28 Apr 2010 09:39:35 +0800 |
>> But i dont know what is "his address IP".
His address is not important. You could write any his address.
Different PPP AS, different GPRS module has different behavior.
I meet hist address: 0.0.0.0
So use a default HIS address is no problem, because it is PPP. And
data send in this line will arrived to other side.
Lee
On Wed, Apr 28, 2010 at 12:25 AM, Nicolas Dioli
<address@hidden> wrote:
> Hello everybody,
> i have a question about IPCP protocol. During etablishement phase, lwip and
> GPRS modem exchange IP, DNS1 and DNS2 address.
> So i wonder what is "our adress IP" and "his adress IP" ?
> Normally, GPRS modem give us an address IP which is (i think) "our" address
> IP. But i dont know what is "his address IP".
>
> We can see it in "ppp.c" / "sifaddr()" or :
>
> typedef struct ipcp_options {
> [...]
> u32_t ouraddr, hisaddr; /* Addresses in NETWORK BYTE ORDER */
> u32_t dnsaddr[2]; /* Primary and secondary MS DNS entries */
> u32_t winsaddr[2]; /* Primary and secondary MS WINS entries */
> } ipcp_options;
>
> Thank you
>
> Nicolas
>
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>