summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_cp.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-01Remove PPP CP event_queue handling and process events directlyMarcel Holtmann1-54/+4
2010-04-01Implement g_at_ppp_set_debug supportMarcel Holtmann1-9/+15
2010-04-01Remove useless pppcp_protocol_data structureMarcel Holtmann1-7/+5
2010-04-01Add debugging for PPP LCP and IPCP optionsMarcel Holtmann1-8/+41
2010-03-31Fix whitespace damage in PPP implementationMarcel Holtmann1-0/+1
2010-03-26ppp: handle Config-RejectKristen Carlson Accardi1-11/+38
if our peer sends us a Config-Reject packet, we must delete that config item and not request that it be negotiated when we send our next Config-Request.
2010-03-26ppp: use common code to get options from pppcp packet dataKristen Carlson Accardi1-31/+40
2010-03-26ppp: send Protocol-RejectKristen Carlson Accardi1-0/+42
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-26ppp: comment fixKristen Carlson Accardi1-0/+8
Put some additional clarification in comment for receiving Code-Reject and Protocol-Reject packets.
2010-03-26ppp: fix segfault in pppcp_send_code_reject()Kristen Carlson Accardi1-3/+6
fix memory corruption caused by misplaced paren when memcpying rejected packet data into Code-Reject packet.
2010-03-25ppp: change debug output to include control protocol prefixKristen Carlson Accardi1-6/+6
2010-03-25Fix some small copy-and-paste typosMarcel Holtmann1-3/+3
2010-03-25add tracing for PPP terminate pathKristen Carlson Accardi1-0/+10
Insert some calls to pppcp_trace() for future debugging needs.
2010-03-24use separate timers for PPP config and terminateKristen Carlson Accardi1-48/+53
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-24switch to g_timeout_add_seconds()Kristen Carlson Accardi1-2/+2
we don't care that much about the exactness of our timer, so use the more power efficient call.
2010-03-24Style: No point to write a function to wrap g_freeDenis Kenzior1-10/+4
Using casting magic works well enough, and more consistent with the rest of the library.
2010-03-24fix memory leaks after ppp_transmitKristen Carlson Accardi1-9/+27
Free packets in ppp_cp after calling ppp_transmit()
2010-03-24fix memory leaks in option handlingKristen Carlson Accardi1-1/+14
free the data as well as the link when deleting options lists.
2010-03-22Remove pointless optimization attempt with g_list_length()Marcel Holtmann1-8/+1
2010-03-22Unnest some more functions in PPP CP implementationMarcel Holtmann1-19/+20
2010-03-22Some additional whitespace cleanup for PPP codeMarcel Holtmann1-3/+6
2010-03-22Fix the broken PPP CP debug trace functionMarcel Holtmann1-5/+6
2010-03-22Remove some heavy nesting that is not needed at allMarcel Holtmann1-15/+15
2010-03-22Fix another pointer casting issue on 32-bit systemsMarcel Holtmann1-9/+11
2010-03-22Generic PPP control protocol supportKristen Carlson Accardi1-0/+1503
Implement a generic protocol that can be shared by both the LCP and the NCP implementation.