Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-05-10 | ppp: set address and control field | Kristen Carlson Accardi | 5 | -8/+16 | |
Before sending to hdlc, set the address and control field. Fix hardcode of ppp header size. | |||||
2010-05-10 | gsmdial: use g_at_ppp_new_from_io() | Kristen Carlson Accardi | 1 | -3/+3 | |
2010-05-10 | gatchat: implement g_at_chat_get_io() | Kristen Carlson Accardi | 2 | -0/+10 | |
2010-05-10 | gsmdial: use g_at_chat_suspend | Kristen Carlson Accardi | 1 | -4/+4 | |
2010-05-10 | ppp: transition to dead when lcp finished | Kristen Carlson Accardi | 1 | -1/+4 | |
Transition to DEAD when lcp is finished and ignore any io disconnects if we are already dead. | |||||
2010-04-30 | gsmdial: Port to new PPP api | Denis Kenzior | 1 | -9/+3 | |
2010-04-30 | ppp: Refactor connect / disconnect callbacks | Denis Kenzior | 2 | -19/+33 | |
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-30 | ppp: get rid of ppp_enter_phase | Denis Kenzior | 4 | -57/+85 | |
This function simply didn't have the context of why the phase was being entered. Instead have each protocol notify GAtPPP as to what is happening. We already had this more or less for IPCP and AUTH events, this just now formalizes it for LCP as well. | |||||
2010-04-30 | ppp: Add _from_io constructor | Denis Kenzior | 2 | -8/+34 | |
2010-04-29 | ppp: fix return of drop_packet for NETWORK phase | Kristen Carlson Accardi | 1 | -1/+1 | |
2010-04-29 | gathdlc: Add from_io constructor | Denis Kenzior | 2 | -8/+20 | |
2010-04-29 | ppp: silently drop invalid packets | Kristen Carlson Accardi | 1 | -8/+28 | |
2010-04-29 | ppp: transition to dead when read io destroyed | Kristen Carlson Accardi | 2 | -1/+3 | |
remove call to signal_close for lcp object, it is redundent. If our io is destroyed we are dead, so transition the ppp phase to DEAD so our disconnect callback can be called. | |||||
2010-04-28 | ppp: Hang set_recording off the GAtPPP object | Denis Kenzior | 3 | -5/+5 | |
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-28 | ppp: Re-add capability to detect io down events | Denis Kenzior | 1 | -0/+9 | |
2010-04-28 | gathdlc: Add accessor for GAtIO | Denis Kenzior | 3 | -0/+13 | |
2010-04-28 | gathdlc: Port GAtHDLC to use GAtIO | Denis Kenzior | 1 | -129/+24 | |
2010-04-28 | ppp: Don't crash if the interface wasn't created | Denis Kenzior | 1 | -0/+4 | |
2010-04-28 | ppp: Accept 1500 byte MTUs | Denis Kenzior | 1 | -1/+1 | |
2010-04-28 | gsmdial: Use set recording on the HDLC object | Denis Kenzior | 1 | -1/+1 | |
2010-04-28 | ppp: Add getter for HDLC object | Denis Kenzior | 2 | -0/+11 | |
2010-04-28 | ppp: Initial port of PPP to use GAtHDLC | Denis Kenzior | 2 | -360/+41 | |
2010-04-28 | ppp: Make pppcp functions const correct | Denis Kenzior | 2 | -35/+29 | |
2010-04-28 | ppp: Make ppp_chap_process_packet const correct | Denis Kenzior | 2 | -4/+4 | |
2010-04-28 | ppp: Make ppp_net_process_packet const correct | Denis Kenzior | 2 | -2/+2 | |
2010-04-28 | gathdlc: Add recording support, ported from PPP | Denis Kenzior | 2 | -0/+60 | |
For protocol examination using wireshark | |||||
2010-04-28 | gathdlc: Add receive ACCM support | Denis Kenzior | 2 | -1/+23 | |
2010-04-28 | gathdlc: Support transmit ACCM | Denis Kenzior | 2 | -2/+27 | |
2010-04-28 | gatchat: Don't try to cleanup twice | Denis Kenzior | 1 | -11/+8 | |
In case we get unrefed from the disconnect callback | |||||
2010-04-28 | gatchat: Use GAtIO for write watchers | Denis Kenzior | 1 | -65/+21 | |
2010-04-28 | gatio: support for blocking / nonblocking writes | Denis Kenzior | 2 | -4/+105 | |
2010-04-28 | gatchat: get_channel should return one from GAtIO | Denis Kenzior | 1 | -2/+2 | |
2010-04-28 | gatchat: Channel is now setup by GAtIO | Denis Kenzior | 1 | -2/+0 | |
2010-04-28 | gatchat: Better re-entrancy handling | Denis Kenzior | 1 | -6/+13 | |
2010-04-28 | gsmdial: Get rid of g_at_chat_shutdown usage | Denis Kenzior | 1 | -9/+16 | |
2010-04-28 | gsmdial: Unref the chat instead of using shutdown | Denis Kenzior | 1 | -2/+2 | |
2010-04-28 | gatmux: Unref the chat instead of using shutdown | Denis Kenzior | 1 | -1/+2 | |
2010-04-28 | gatchat: Only set debug on IO if we have it | Denis Kenzior | 1 | -1/+2 | |
2010-04-28 | gatchat: Replace shutdown by suspend/resume | Denis Kenzior | 2 | -13/+29 | |
Shutdown was actually pointless and according to Marcel he only had it in mind for PPP useage. | |||||
2010-04-28 | gatchat: port gatchat to use gatio | Denis Kenzior | 1 | -112/+41 | |
2010-04-28 | gatio: Remove g_at_io_shutdown | Denis Kenzior | 2 | -18/+13 | |
2010-04-28 | gatio: Get re-entrancy correct | Denis Kenzior | 1 | -3/+6 | |
2010-04-28 | gatio: Style fix for gsource id comparisons | Denis Kenzior | 1 | -2/+2 | |
2010-04-28 | gatio: Kill the reader when no more space | Denis Kenzior | 1 | -0/+4 | |
2010-04-28 | gatchat: Remove g_at_chat_set_syntax | Denis Kenzior | 2 | -14/+0 | |
Never used and too unsafe in its current form | |||||
2010-04-28 | gatchat: Add initial GAtIO implementation | Denis Kenzior | 2 | -0/+325 | |
2010-04-26 | ppp: use default ACCM when sending LCP codes 1-7 | Kristen Carlson Accardi | 3 | -0/+20 | |
According to the spec, you must transmit all Link Configuration, Termination, and Code-Reject packets as if no options had been negotiated. This requires that when encoding we use the default ACCM of 0xffffffff when sending these types of packets. | |||||
2010-04-26 | ppp: discard non-LCP packets in ESTABLISHMENT phase | Kristen Carlson Accardi | 1 | -0/+7 | |
2010-04-24 | Fix broken HDLC flag handling | Marcel Holtmann | 1 | -2/+13 | |
2010-04-24 | Fix wrong escape character check in HDLC transmit | Marcel Holtmann | 1 | -2/+2 | |