Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-28 | gatppp: Add PPP server extension | Zhenhua Zhang | 4 | -36/+225 | |
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-06-23 | ppp: Fix incorrect packet length for little-endian | Zhenhua Zhang | 1 | -1/+1 | |
packet->length is in TCP/IP network byte order. It needs to call ntohs() to convert to host byte order, which is little-endian. | |||||
2010-06-21 | ppp: Fix leak in pppcp_send_protocol_reject | Zhenhua Zhang | 1 | -0/+2 | |
Free the reject pppcp packet after ppp_transmit. | |||||
2010-06-18 | gathdlc: Don't crash if unreffed in callback | Denis Kenzior | 1 | -1/+18 | |
2010-06-17 | gsmdial: Unref ppp when we get disconnected | Zhenhua Zhang | 1 | -0/+5 | |
2010-06-17 | test-server: Fix GIOChannel leak in create_tty | Zhenhua Zhang | 1 | -4/+2 | |
Remove client_io and unref server_io after creating GAtServer. | |||||
2010-06-17 | gatserver: Check for disconnection when resuming | Zhenhua Zhang | 1 | -0/+5 | |
If the internal GAtIO is no longer valid, treat it as if our channel was disconnected. | |||||
2010-06-17 | gatserver: Suspend/resume GAtServer with GAtIO | Zhenhua Zhang | 2 | -150/+114 | |
Support g_at_server_suspend and g_at_server_resume operation by using GAtIO to handle IO related function. | |||||
2010-06-11 | gatppp: whitespace issues | Denis Kenzior | 1 | -2/+2 | |
2010-06-11 | gatppp: Unref HDLC when unrefing PPP | Denis Kenzior | 1 | -0/+2 | |
2010-06-11 | gathdlc: Free the main HDLC structure on unref | Denis Kenzior | 1 | -0/+1 | |
2010-06-07 | gatchat: Check for disconnection when resuming | Denis Kenzior | 1 | -0/+5 | |
If the internal GAtIO is no longer valid, treat it as if our channel was disconnected. | |||||
2010-06-07 | Restore GAtChat disconnect handling when resuming a chat session | Marcel Holtmann | 1 | -0/+2 | |
2010-05-19 | ppp: Trivial whitespace error | Denis Kenzior | 1 | -1/+1 | |
2010-05-19 | ppp: implement ppp_packet_new | Kristen Carlson Accardi | 5 | -16/+35 | |
2010-05-11 | ppp: fix another hardcode of ppp_packet size | Kristen Carlson Accardi | 1 | -1/+1 | |
2010-05-10 | gsmdial: Shut down cleanly when ppp link dies | Denis Kenzior | 1 | -2/+4 | |
2010-05-10 | ppp: Keep these defines private | Denis Kenzior | 2 | -2/+3 | |
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 | |