Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2010-04-02 | Fix tabs vs. whitespace coding style violation | Marcel Holtmann | 1 | -1/+1 | |
2010-04-02 | Add more missing break statements | Marcel Holtmann | 3 | -3/+6 | |
2010-04-02 | ppp: fix missing breaks in switch statements | Kristen Carlson Accardi | 1 | -5/+4 | |
2010-04-02 | Add missing break or fall through comments to switch statements | Marcel Holtmann | 1 | -1/+22 | |
2010-04-02 | Always reset option_rval for every option | Marcel Holtmann | 1 | -2/+8 | |
2010-04-02 | Add missing arpa/inet.h includes | Marcel Holtmann | 1 | -0/+1 | |
2010-04-02 | ppp: use queue to transmit | Kristen Carlson Accardi | 3 | -44/+94 | |
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 | 5 | -221/+256 | |
2010-04-02 | ppp: fix event generation on close | Kristen Carlson Accardi | 3 | -17/+5 | |
Prevents too early transition to PPP_DEAD | |||||
2010-04-02 | Fix: Make the C-APDU logic more readable | Denis Kenzior | 1 | -7/+11 | |
2010-04-02 | Style: Multiline comments | Denis Kenzior | 1 | -3/+6 | |
2010-04-02 | Fix: Tweak the language parser | Denis Kenzior | 1 | -2/+9 | |
2010-04-02 | Fix: Remove erroneous comment | Denis Kenzior | 1 | -1/+0 | |
2010-04-02 | Fix: AT Commands are probably just text | Denis Kenzior | 1 | -3/+3 | |
2010-04-02 | Fix: Trivial indentation issues | Denis Kenzior | 1 | -16/+16 | |
2010-04-02 | Add parser for browser identity objects | Yang Gu | 2 | -0/+18 | |
2010-04-02 | Add parser for language objects | Yang Gu | 1 | -0/+21 | |
2010-04-02 | Add parser for dtmf string objects | Yang Gu | 1 | -0/+24 | |
2010-04-02 | Add parser for bc repeat indicator objects | Yang Gu | 1 | -0/+10 | |
2010-04-02 | Add parser for at response objects | Yang Gu | 1 | -0/+10 | |
2010-04-02 | Add parser for at command objects | Yang Gu | 1 | -0/+32 | |
2010-04-02 | Add parser for date-time and time zone objects | Yang Gu | 1 | -0/+19 | |
2010-04-02 | Make function decode_scts public | Yang Gu | 2 | -6/+9 | |
2010-04-02 | Add parser for timer value objects | Yang Gu | 2 | -0/+27 | |
2010-04-02 | Refactor: Break out semi-octet decoder | Yang Gu | 2 | -6/+13 | |
Refactor decode_scts to use this function |