| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2010-05-10 | ppp: Keep these defines private | Denis Kenzior | 1 | -2/+0 | |
| 2010-05-10 | ppp: set address and control field | Kristen Carlson Accardi | 1 | -0/+4 | |
| Before sending to hdlc, set the address and control field. Fix hardcode of ppp header size. | |||||
| 2010-04-30 | ppp: get rid of ppp_enter_phase | Denis Kenzior | 1 | -11/+6 | |
| 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-28 | ppp: Make ppp_chap_process_packet const correct | Denis Kenzior | 1 | -1/+1 | |
| 2010-04-28 | ppp: Make ppp_net_process_packet const correct | Denis Kenzior | 1 | -1/+1 | |
| 2010-04-22 | ppp: change MTU on TUN device when MRU option received | Kristen Carlson Accardi | 1 | -1/+1 | |
| 2010-04-22 | ppp: implement MRU option | Kristen Carlson Accardi | 1 | -0/+2 | |
| If the peer requests a MRU option, set the mtu for the network phase. When we are in link establishment phase, we should continue to behave as if no option has been set and the peer should use the default MRU. This option is required for the Huawei E160G modem. | |||||
| 2010-04-14 | ppp: nak unknown auth protocol | Kristen Carlson Accardi | 1 | -0/+10 | |
| If we are sent a Config-Request for an auth proto other than CHAP with MD5, send a NAK. | |||||
| 2010-04-13 | ppp: Cleanup function definitions in ppp.h | Denis Kenzior | 1 | -11/+16 | |
| 2010-04-13 | ppp: remove pfc and acfc | Kristen Carlson Accardi | 1 | -4/+0 | |
| We will not support pfc or acfc | |||||
| 2010-04-13 | ppp: Get rid of net_open and net_close | Denis Kenzior | 1 | -3/+1 | |
| There really isn't a need for these now | |||||
| 2010-04-13 | ppp: Introduce ppp_net_down_notify | Denis Kenzior | 1 | -0/+1 | |
| 2010-04-13 | ppp: Introduce ppp_net_up_notify and use it | Denis Kenzior | 1 | -2/+2 | |
| This is slightly cleaner way than defining a weird callback function. | |||||
| 2010-04-13 | ppp: Hide ppp_net definition in ppp_net.c | Denis Kenzior | 1 | -12/+8 | |
| 2010-04-13 | ppp: Remove auth_ functions from ppp_auth.c | Denis Kenzior | 1 | -15/+8 | |
| These really serve no purpose right now as we use only CHAP. So they only take up space and make the code harder to read. If we implement 1-3 auth protocols, then they're easier handled inside gatppp.c. If we have more, then a proper auth driver framework is required. | |||||
| 2010-04-13 | ppp: introduce ppp_auth_notify | Denis Kenzior | 1 | -0/+1 | |
| This function will be notified whenever authentication has succeeded / failed. This can happen in the authentication phase or during the network phase. If auth fails, then we should proceed to the terminate phase. | |||||
| 2010-04-13 | ppp: Transition the phase directly | Denis Kenzior | 1 | -9/+7 | |
| Use of the generate event function, while more 'pure' with regard to how the spec views transitions, actually makes code more difficult to read. Instead use phase transitions directly inside gatppp. This still bleeds through a little into lcp code, and probably should be fixed in a better way eventually. | |||||
| 2010-04-13 | ppp: Use pppcp_signal functions directly | Denis Kenzior | 1 | -3/+0 | |
| No real need to wrap them behind lcp_ functions | |||||
| 2010-04-08 | ppp: Fix make some functions const correct | Denis Kenzior | 1 | -3/+3 | |
| 2010-04-06 | Fix: Allow setting of tx ACCM | Denis Kenzior | 1 | -1/+1 | |
| Specification is explicit that ACCM defaults to ~0 | |||||
| 2010-04-03 | Move PPP constants where they are used | Marcel Holtmann | 1 | -18/+0 | |
| 2010-04-03 | Make GAtPPP fields really private | Marcel Holtmann | 1 | -31/+3 | |
| 2010-04-02 | ppp: implement net close | Kristen Carlson Accardi | 1 | -0/+1 | |
| 2010-04-02 | Refactor: Get rid of packet handler registrations | Denis Kenzior | 1 | -8/+3 | |
| There are only about 4 protocols that the current ppp code handles and it is doubtful that it will grow much more. There's no point in having an extensive packet handler registration framework. | |||||
| 2010-04-02 | ppp: use queue to transmit | Kristen Carlson Accardi | 1 | -1/+3 | |
| Since we are using non buffered I/O, use a queue to transmit when buffer space is available. | |||||
| 2010-04-02 | Split out ipcp protocol into ppp_ipcp.c | Denis Kenzior | 1 | -1/+4 | |
| 2010-04-02 | ppp: fix event generation on close | Kristen Carlson Accardi | 1 | -1/+0 | |
| Prevents too early transition to PPP_DEAD | |||||
| 2010-04-01 | Remove obfuscation for some of the event handling | Marcel Holtmann | 1 | -2/+0 | |
| 2010-04-01 | Remove PPP event_queue handling and process events directly | Marcel Holtmann | 1 | -1/+0 | |
| 2010-04-01 | Remove PPP recv_queue handling and process frames directly | Marcel Holtmann | 1 | -1/+0 | |
| 2010-04-01 | Add support for recording PPP sessions in pppdump format | Marcel Holtmann | 1 | -0/+1 | |
| 2010-04-01 | Implement g_at_ppp_set_debug support | Marcel Holtmann | 1 | -0/+2 | |
| 2010-04-01 | Remove useless pppcp_protocol_data structure | Marcel Holtmann | 1 | -0/+1 | |
| 2010-03-31 | Refactor: Use GAtDisconnectFunc for ppp disconnect | Denis Kenzior | 1 | -1/+1 | |
| The ppp argument to the current disconnect callback is useless as the ppp structure is most likely stored in user data anyway. | |||||
| 2010-03-26 | ppp: send Protocol-Reject | Kristen Carlson Accardi | 1 | -0/+1 | |
| change ppp_decode to store the length of the decoded frame, so that if we have a packet with a protocol we don't understand, we can send Protocol-Reject packets. Modify ppp_cp code to add support for sending Protocol-Reject packet. | |||||
| 2010-03-22 | Use password instead of passwd as variable name | Marcel Holtmann | 1 | -1/+1 | |
| 2010-03-22 | Some additional whitespace cleanup for PPP code | Marcel Holtmann | 1 | -0/+1 | |
| 2010-03-22 | IP support for PPP | Kristen Carlson Accardi | 1 | -0/+12 | |
| Adds IPCP support, and creates a TUN interface for sending/receiving IP packets. | |||||
| 2010-03-22 | CHAP with MD5 authentication support | Kristen Carlson Accardi | 1 | -0/+15 | |
| Authentication support with CHAP and MD5 | |||||
| 2010-03-22 | PPP LCP support | Kristen Carlson Accardi | 1 | -0/+7 | |
| Implement LCP support for the PPP protocol. | |||||
| 2010-03-22 | Generic PPP control protocol support | Kristen Carlson Accardi | 1 | -0/+2 | |
| Implement a generic protocol that can be shared by both the LCP and the NCP implementation. | |||||
| 2010-03-22 | Basic PPP protocol support | Kristen Carlson Accardi | 1 | -0/+130 | |
| This patch implements the basic PPP protocol. LCP, NCP etc. are handled in a different patch. | |||||