Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-16 | gatchat: Skip string contents in extract_line | Denis Kenzior | 1 | -2/+7 | |
2010-08-16 | gatchat: Handle embedded \r and \n in responses | Denis Kenzior | 1 | -1/+17 | |
2010-08-16 | gatutil: Handle non-printable characters | Denis Kenzior | 1 | -1/+1 | |
Signed arithmetic and shifts do not work well... | |||||
2010-08-12 | gatchat: Add g_at_chat_clone | Denis Kenzior | 2 | -0/+21 | |
This function will clone a chat object, but will create a new group internally. | |||||
2010-08-12 | gatchat: Make GAtChat a facade for struct at_chat | Denis Kenzior | 1 | -228/+401 | |
Each GAtChat object is now simply a representation of a set of outstanding commands and registered unsolicited notification handlers. This makes it easy to cancel entire groups, e.g. by canceling the GAtChat object itself rather than forcing the user into tracking all relevant g_at_chat_register and g_at_chat_send ids. | |||||
2010-07-09 | ppp: Add MAX_IPCP_FAILURE to avoid timeout quickly | Zhenhua Zhang | 4 | -5/+17 | |
We use IPCP NAK response to stall the progress of acquiring the client IP address from DHCP server. So we need to increase the max failure of NAKs in IPCP handshaking. | |||||
2010-07-07 | gatppp: Unset disconnect function when unref PPP | Zhenhua Zhang | 1 | -0/+3 | |
Unset IO disconnect function when we try to destroy GAtPPP instance. After freeing the instance, the IO disconnect function should not be invoked. | |||||
2010-07-07 | gatserver: Restore GAtServer disconnect handling | Zhenhua Zhang | 1 | -0/+2 | |
Restore GAtServer disconnect handling when resuming a server session | |||||
2010-07-06 | test-server: Refactor set_raw_mode | Zhenhua Zhang | 1 | -5/+5 | |
Rename variable 'options' to 'ti' and use sizeof(ti). | |||||
2010-07-06 | gatserver: Don't free twice after user disconnect | Zhenhua Zhang | 1 | -3/+0 | |
It's possible to free gatserver in user disconnect function. So we should not free it again. | |||||
2010-07-06 | test-server: Use cfmakeraw to set TTY raw mode | Zhenhua Zhang | 1 | -5/+3 | |
Use cfmakeraw to disable echoing and special characters processing. If we don't turn off ICRNL, TTY layer translates \r\n to \n\n. | |||||
2010-07-06 | gatppp: Check ppp instance before unref it | Zhenhua Zhang | 1 | -0/+3 | |
2010-06-29 | gsmdial: Wait for a no carrier before sending CFUN | Denis Kenzior | 1 | -3/+9 | |
2010-06-29 | test-server: Send a NO_CARRIER when ppp is done | Denis Kenzior | 1 | -2/+4 | |
2010-06-29 | test-server: Update to the new API | Denis Kenzior | 1 | -4/+1 | |
2010-06-29 | ppp: Don't accept 0 ip-addr/dns1/dns2 | Denis Kenzior | 1 | -3/+4 | |
2010-06-29 | ppp: Refactor server-side API | Denis Kenzior | 7 | -16/+77 | |
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-29 | test-server: Update to the new API | Denis Kenzior | 1 | -1/+1 | |
2010-06-29 | ppp: Tweak set_server_info API some more | Denis Kenzior | 4 | -16/+5 | |
2010-06-29 | hdlc: Stop recording packets to stdout (fd = 0) | Denis Kenzior | 1 | -2/+2 | |
2010-06-29 | hdlc: Don't bother recording empty packets | Denis Kenzior | 1 | -0/+3 | |
2010-06-28 | gsmdial: Configure network interface for PPP | Zhenhua Zhang | 1 | -0/+29 | |
2010-06-28 | test-server: Configure network interface | Zhenhua Zhang | 1 | -0/+31 | |
Require ROOT priviledge to: 1. Run external command to configure and bring up network interface. 2. Enable kernel IP forwarding. | |||||
2010-06-28 | ppp: Tweak the set_server_info API | Denis Kenzior | 3 | -17/+20 | |
2010-06-28 | test-server: Add PPP server support | Zhenhua Zhang | 1 | -0/+119 | |
So that gsmdial and wvdial could talk to test-server and establish PPP connection. | |||||
2010-06-28 | ppp: Refactor server RCR action | Denis Kenzior | 1 | -40/+40 | |
We need to generate the Conf-Rej / Conf-Nak in the same order as the client sent us. | |||||
2010-06-28 | ppp: Refactor client RCR action | Denis Kenzior | 1 | -29/+27 | |
2010-06-28 | ppp: Simplify the logic by re-using code | Denis Kenzior | 1 | -6/+1 | |
2010-06-28 | ppp: Minor style tweaks | Denis Kenzior | 1 | -9/+9 | |
2010-06-28 | gsmdial: Update to the new API | Zhenhua Zhang | 1 | -2/+3 | |
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 | |