| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2010-04-28 | ppp: Make pppcp functions const correct | Denis Kenzior | 1 | -2/+2 | |
| 2010-04-26 | ppp: use default ACCM when sending LCP codes 1-7 | Kristen Carlson Accardi | 1 | -0/+2 | |
| 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-13 | ppp: Add pppcp_signal_down | Denis Kenzior | 1 | -0/+1 | |
| For use when the link is abruptly terminated by the remote side | |||||
| 2010-04-08 | ppp: Rip out the now unused option string stuff | Denis Kenzior | 1 | -1/+0 | |
| Using wireshark is much easier | |||||
| 2010-04-08 | ppp: Rip out the old option processing | Denis Kenzior | 1 | -11/+27 | |
| Put in the new option processing | |||||
| 2010-04-08 | ppp: Move some one-time setters to the proto | Denis Kenzior | 1 | -7/+6 | |
| 2010-04-07 | ppp: Add rca callback | Denis Kenzior | 1 | -7/+9 | |
| When the other side acks our options, then let us apply these options locally and start using them | |||||
| 2010-04-07 | ppp: Add pppcp option iterators | Denis Kenzior | 1 | -0/+17 | |
| 2010-04-07 | ppp: Move pppcp_timer_data private | Denis Kenzior | 1 | -8/+0 | |
| 2010-04-07 | ppp: Hide away the magic_number in ppp_lcp.c | Denis Kenzior | 1 | -3/+0 | |
| 2010-04-06 | ppp: Remove OPTION_ERR, treat errors as reject | Denis Kenzior | 1 | -1/+0 | |
| 2010-04-05 | Refactor: Make struct pppcp declaration private | Denis Kenzior | 1 | -26/+2 | |
| 2010-04-05 | Refactor: add pppcp_set/get_magic_number | Denis Kenzior | 1 | -0/+3 | |
| 2010-04-05 | Refactor: add pppcp_set_prefix | Denis Kenzior | 1 | -0/+1 | |
| 2010-04-05 | Refactor: add pppcp_get_ppp | Denis Kenzior | 1 | -0/+2 | |
| 2010-04-05 | Refactor: add pppcp_set_option_strings | Denis Kenzior | 1 | -0/+2 | |
| 2010-04-05 | Refactor: Move valid code selection to ipcp/lcp | Denis Kenzior | 1 | -0/+14 | |
| We already have a set_valid_codes function, let us use it | |||||
| 2010-04-05 | Refactor: Move packet_ops to a static look-up | Denis Kenzior | 1 | -2/+0 | |
| No need to allocate space for this, as it is always the same for all instances. | |||||
| 2010-04-05 | Refactor: Make option_scan more type safe | Denis Kenzior | 1 | -2/+2 | |
| 2010-04-05 | Refactor: Make option_process more typesafe | Denis Kenzior | 1 | -1/+2 | |
| option_process was declared with two gpointer arguments for the sole reason of being used as a GFunc. Casting to a GFunc or re-writing the foreach as a loop is preferable. | |||||
| 2010-04-05 | Refactor: Add pppcp_set_data & pppcp_get_data | Denis Kenzior | 1 | -0/+4 | |
| Using these functions makes the code much cleaner than trying to pass the priv pointer everywhere | |||||
| 2010-04-05 | Make pppcp_code enum a private structure | Marcel Holtmann | 1 | -14/+0 | |
| 2010-04-05 | Make pppcp_event_type enum a private structure | Marcel Holtmann | 1 | -22/+3 | |
| 2010-04-05 | Refactor: Move to a transition state table | Denis Kenzior | 1 | -3/+1 | |
| It is much more compact to re-implement the transition states as a table as opposed to functions with switch/case statements. The logic is made much easier to follow and much of the code duplication is eliminated | |||||
| 2010-04-05 | Refactor: Make the enum assignments explicit | Denis Kenzior | 1 | -16/+16 | |
| They will be used for certain magic later on | |||||
| 2010-04-05 | Refactor: Move the state definition to ppp_cp.c | Denis Kenzior | 1 | -14/+1 | |
| 2010-04-05 | ppp: implement Max-Failure counter | Kristen Carlson Accardi | 1 | -0/+1 | |
| put a cap on the number of Configure-Nak packets we send. | |||||
| 2010-04-01 | Remove PPP CP event_queue handling and process events directly | Marcel Holtmann | 1 | -1/+0 | |
| 2010-04-01 | Remove useless pppcp_protocol_data structure | Marcel Holtmann | 1 | -10/+2 | |
| 2010-04-01 | Add debugging for PPP LCP and IPCP options | Marcel Holtmann | 1 | -0/+2 | |
| 2010-03-26 | ppp: send Protocol-Reject | Kristen Carlson Accardi | 1 | -0/+2 | |
| 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-25 | ppp: change debug output to include control protocol prefix | Kristen Carlson Accardi | 1 | -1/+9 | |
| 2010-03-24 | use separate timers for PPP config and terminate | Kristen Carlson Accardi | 1 | -5/+10 | |
| Prevent conflicts between config timer information and terminate timer information by providing a new data structure which keeps timer information for config and terminate requests separate. | |||||
| 2010-03-22 | Generic PPP control protocol support | Kristen Carlson Accardi | 1 | -0/+139 | |
| Implement a generic protocol that can be shared by both the LCP and the NCP implementation. | |||||