[PATCH 1/5] gatppp: Add PPP server extension

2010-06-24 Thread Zhenhua Zhang
1. Add interface to set PPP server info by g_at_ppp_set_server_info. 2. Pass local and peer address through IPCP handshaking. --- gatchat/gatppp.c | 11 ++- gatchat/gatppp.h |6 +- gatchat/ppp.h |5 +- gatchat/ppp_ipcp.c | 239 +--

RE: [PATCH 1/5] gatppp: Add PPP server extension

2010-06-22 Thread Zhang, Zhenhua
Hi Denis, Denis Kenzior wrote: > Hi Zhenhua, > >> static enum rcr_result ipcp_rcr(struct pppcp_data *pppcp, >> const struct > pppcp_packet *packet, >> guint8 **new_options, > guint16 *new_len) >> { >> struct ppp_opti

Re: [PATCH 1/5] gatppp: Add PPP server extension

2010-06-21 Thread Denis Kenzior
Hi Zhenhua, > static enum rcr_result ipcp_rcr(struct pppcp_data *pppcp, > const struct pppcp_packet *packet, > guint8 **new_options, guint16 *new_len) > { > struct ppp_option_iter iter; > + struct ipcp_data *ip

[PATCH 1/5] gatppp: Add PPP server extension

2010-06-21 Thread Zhenhua Zhang
1. Add interface to set PPP server info by g_at_ppp_set_server_info. 2. Pass local and peer address through IPCP handshaking. --- gatchat/gatppp.c | 13 +++- gatchat/gatppp.h |7 ++- gatchat/ppp.h |6 ++- gatchat/ppp_ipcp.c | 177 +++-