summaryrefslogtreecommitdiffstats
path: root/gatchat/gatppp.h
AgeCommit message (Collapse)AuthorFilesLines
2010-06-29ppp: Refactor server-side APIDenis Kenzior1-0/+3
The biggest update here is that the server needs to be in dormant mode by default, so as not to send a Configure-Req to the peer until the peer is ready. This requires adding special constructor for LCP to initialize it to Stopped state instead of initial state. Along with this, we pass the server local IP directly to the ppp server constructor.
2010-06-29ppp: Tweak set_server_info API some moreDenis Kenzior1-2/+1
2010-06-28ppp: Tweak the set_server_info APIDenis Kenzior1-2/+3
2010-06-28gatppp: Add PPP server extensionZhenhua Zhang1-1/+5
1. Add interface to set PPP server info by g_at_ppp_set_server_info. 2. Pass local and peer address through IPCP handshaking.
2010-04-30ppp: Refactor connect / disconnect callbacksDenis Kenzior1-7/+13
Right now it is very hard to figure out whether we should be calling the connect callback or the disconnect callback. So refactor as follows: - Connect callback is only called once the net is actually up - Disconnect callback is called once ppp is down, with a reason for why it is so.
2010-04-30ppp: Add _from_io constructorDenis Kenzior1-1/+2
2010-04-28ppp: Hang set_recording off the GAtPPP objectDenis Kenzior1-1/+1
Marcel: recording right now only works for PPP, so we'd need some sort of multi-protocol support. So for now expose set_recording to be used through the main PPP object. HDLC object recording support needs to be extended.
2010-04-28ppp: Add getter for HDLC objectDenis Kenzior1-0/+3
2010-04-28ppp: Initial port of PPP to use GAtHDLCDenis Kenzior1-1/+0
2010-04-13ppp: Add set / get password & usernameDenis Kenzior1-1/+4
Also refactor the set credentials function, we will be removing the auth object shortly
2010-04-09Remove one empty line and add another oneMarcel Holtmann1-0/+1
2010-04-01Move functions from ppp.c into gatppp.cMarcel Holtmann1-0/+1
2010-04-01Add support for recording PPP sessions in pppdump formatMarcel Holtmann1-1/+2
2010-04-01Implement g_at_ppp_set_debug supportMarcel Holtmann1-0/+1
2010-03-31Refactor: Use GAtDisconnectFunc for ppp disconnectDenis Kenzior1-4/+3
The ppp argument to the current disconnect callback is useless as the ppp structure is most likely stored in user data anyway.
2010-03-31Refactor: GAtPPP connect callbackDenis Kenzior1-3/+3
The connect callback was not giving enough information and the information it was providing was not in a convenient form. - Provide the ppp interface name (e.g. tun0) - Provide ip, dns1 & dns2 as strings - Do not send the ppp structure in the callback, it is most likely present in the user data anyway
2010-03-31Style: Whitespace damage due to spaces, not tabsDenis Kenzior1-7/+7
Also use proper indentation style
2010-03-22CHAP with MD5 authentication supportKristen Carlson Accardi1-0/+2
Authentication support with CHAP and MD5
2010-03-22Basic PPP protocol supportKristen Carlson Accardi1-0/+58
This patch implements the basic PPP protocol. LCP, NCP etc. are handled in a different patch.