Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-09 | ppp: Use flags not booleans for ipcp options | Denis Kenzior | 1 | -25/+30 | |
2010-04-09 | ppp: Use flags instead of booleans for lcp options | Denis Kenzior | 1 | -3/+5 | |
2010-04-08 | ppp: Stop the timer when re-starting | Denis Kenzior | 1 | -10/+9 | |
In case we receive NAK/REJ we should stop and re-start the timer, otherwise we end up generating multiple Conf-Reqs | |||||
2010-04-08 | ppp: Rip out the now unused option string stuff | Denis Kenzior | 3 | -31/+0 | |
Using wireshark is much easier | |||||
2010-04-08 | ppp: Port LCP to the new option framework | Denis Kenzior | 1 | -73/+99 | |
2010-04-08 | ppp: port IPCP to the new option framework | Denis Kenzior | 1 | -62/+160 | |
2010-04-08 | ppp: Rip out the old option processing | Denis Kenzior | 2 | -464/+129 | |
Put in the new option processing | |||||
2010-04-08 | ppp: Fix make some functions const correct | Denis Kenzior | 2 | -4/+4 | |
2010-04-08 | ppp: Make iterators work all the time | Denis Kenzior | 1 | -1/+1 | |
2010-04-08 | ppp: Move some one-time setters to the proto | Denis Kenzior | 4 | -87/+52 | |
2010-04-07 | ppp: Add rca callback | Denis Kenzior | 4 | -40/+71 | |
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 | 2 | -0/+63 | |
2010-04-07 | ppp: Remove lcp_protocol_reject | Denis Kenzior | 2 | -6/+1 | |
Use pppcp_send_reject_protocol | |||||
2010-04-07 | ppp: Move pppcp_timer_data private | Denis Kenzior | 2 | -8/+8 | |
2010-04-07 | ppp: Cleanup ipcp.c | Denis Kenzior | 1 | -8/+6 | |
2010-04-07 | ppp: Hide away the magic_number in ppp_lcp.c | Denis Kenzior | 3 | -22/+19 | |
2010-04-06 | ppp: Use auth->proto, not ppp->proto | Denis Kenzior | 1 | -2/+1 | |
Otherwise we move on to NCP stage prematurely | |||||
2010-04-06 | Fix: Allow setting of tx ACCM | Denis Kenzior | 2 | -4/+4 | |
Specification is explicit that ACCM defaults to ~0 | |||||
2010-04-06 | ppp: Remove OPTION_ERR, treat errors as reject | Denis Kenzior | 2 | -6/+2 | |
2010-04-06 | ppp: Verify magic number is not zero | Denis Kenzior | 1 | -1/+10 | |
2010-04-06 | ppp: Move up the look up table definition | Denis Kenzior | 1 | -15/+15 | |
2010-04-06 | ppp: Implement receive ACCM | Denis Kenzior | 1 | -2/+8 | |
2010-04-05 | Refactor: Make struct pppcp declaration private | Denis Kenzior | 4 | -42/+39 | |
2010-04-05 | Refactor: add pppcp_set/get_magic_number | Denis Kenzior | 3 | -2/+15 | |
2010-04-05 | Refactor: add pppcp_set_prefix | Denis Kenzior | 4 | -2/+8 | |
2010-04-05 | Refactor: add pppcp_get_ppp | Denis Kenzior | 4 | -5/+12 | |
2010-04-05 | Refactor: add pppcp_set_option_strings | Denis Kenzior | 4 | -2/+9 | |
2010-04-05 | Refactor: Move valid code selection to ipcp/lcp | Denis Kenzior | 4 | -58/+50 | |
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 | 2 | -18/+16 | |
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 | 4 | -6/+8 | |
2010-04-05 | Refactor: Make option_process more typesafe | Denis Kenzior | 4 | -10/+12 | |
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 | 4 | -11/+22 | |
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 | 4 | -37/+51 | |
2010-04-05 | Make pppcp_event_type enum a private structure | Marcel Holtmann | 5 | -28/+47 | |
2010-04-05 | Refactor: Move to a transition state table | Denis Kenzior | 2 | -544/+121 | |
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 | 2 | -18/+18 | |
2010-04-05 | ppp: implement Max-Failure counter | Kristen Carlson Accardi | 2 | -0/+23 | |
put a cap on the number of Configure-Nak packets we send. | |||||
2010-04-03 | Move PPP constants where they are used | Marcel Holtmann | 4 | -19/+21 | |
2010-04-03 | Make GAtPPP fields really private | Marcel Holtmann | 4 | -56/+64 | |
2010-04-02 | Hide internals of ring buffer structure | Marcel Holtmann | 2 | -6/+8 | |
2010-04-02 | Remove circular inclusion protection from ring buffer header | Marcel Holtmann | 1 | -13/+0 | |
2010-04-02 | Fix some cases where g_try_new should be used | Marcel Holtmann | 4 | -12/+3 | |
2010-04-02 | Move frame NULL checks into the unstuffing function | Marcel Holtmann | 1 | -8/+5 | |
2010-04-02 | Fix coding style with callback structures | Marcel Holtmann | 2 | -12/+12 | |
2010-04-02 | ppp: implement net close | Kristen Carlson Accardi | 2 | -5/+7 | |
2010-04-02 | Refactor: Get rid of (now) pointless comments | Denis Kenzior | 4 | -8/+0 | |
2010-04-02 | Also the default case should have a break statement | Marcel Holtmann | 1 | -1/+2 | |
2010-04-02 | Remove the PPP option from gsmdial | Denis Kenzior | 1 | -6/+0 | |
Pointless since we should always connect using PPP | |||||
2010-04-02 | Refactor: Get rid of packet handler registrations | Denis Kenzior | 6 | -74/+26 | |
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. |