summaryrefslogtreecommitdiff
path: root/gatchat/gathdlc.c
Commit message (Collapse)AuthorAgeFilesLines
* gatchat: Update copyright informationMarcel Holtmann2011-10-101-1/+1
|
* gatchat: Fix marker handling within HDLC supportMarcel Holtmann2011-08-091-3/+10
|
* gatchat: Use hexdump format for HDLC debug messagesMarcel Holtmann2011-08-091-4/+5
|
* gatchat: Add support for sending HDLC frame start and end markersMarcel Holtmann2011-08-091-6/+22
|
* gatchat: Fix handling of HDLC debug outputMarcel Holtmann2011-07-261-12/+15
|
* gatchat: Fix unused variable casesMarcel Holtmann2011-05-271-0/+15
|
* gathdlc: Fix memory leakDenis Kenzior2011-05-251-0/+2
|
* gathdlc: Squash unneeded functionDenis Kenzior2011-05-241-6/+1
|
* gathdlc: add g_at_hdlc_resume() APIGuillaume Zajac2011-05-241-0/+16
|
* gathdlc: delete read/write handler in hdlc_suspendGuillaume Zajac2011-05-081-0/+3
|
* gathdlc: Add public suspend functionGuillaume Zajac2011-05-081-0/+9
|
* gathdlc: Make sure to set in_read_handler properlyDenis Kenzior2011-05-021-4/+4
|
* gathdlc: Add support for detecting +++ escapesDenis Kenzior2011-05-021-0/+107
|
* PPP: Optimize write buffer managementPatrick Porlan2011-03-151-22/+71
| | | | | | | | | Extend the write buffer handling in gathdlc.c to minimize stalling and process switching during large PPP transfers. The single write buffer is replaced by a queue of buffers, allowing for much larger emission windows without hugely impacting memory consumption. This reduces the time required to send 50 MB between a couple of local PPP interfaces on my laptop from ~53s to ~3s.
* gathdlc: Try to detect no carrier conditionsDenis Kenzior2011-02-281-0/+19
| | | | | | | | Sometimes we receive the no carrier embedded in a stream following the PPP packets. This might be due to write scheduling on the remote side or read scheduling locally. Try not to consume the no carrier condition and assume the previous hdlc frames will result in closing of the ppp stack.
* gathdlc: Unregister read / write handlersDenis Kenzior2011-02-281-0/+3
| | | | | When GAtHDLC is being unregistered make sure to unregister read / write handlers so as not to crash.
* gathdlc: drain the last hdlc frame processedDenis Kenzior2011-02-281-1/+1
| | | | If we're being destroyed, we should drain the last HDLC frame
* gatchat: explicitly compare pointers to NULLLucas De Marchi2010-11-291-4/+4
| | | | | | | | | | | | | | This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
* gatchat: Remove unused write_watch variable of GAtHDLCMarcel Holtmann2010-10-261-1/+0
|
* hdlc: Stop recording packets to stdout (fd = 0)Denis Kenzior2010-06-291-2/+2
|
* hdlc: Don't bother recording empty packetsDenis Kenzior2010-06-291-0/+3
|
* gathdlc: Don't crash if unreffed in callbackDenis Kenzior2010-06-181-1/+18
|
* gathdlc: Free the main HDLC structure on unrefDenis Kenzior2010-06-111-0/+1
|
* gathdlc: Add from_io constructorDenis Kenzior2010-04-291-8/+19
|
* gathdlc: Add accessor for GAtIODenis Kenzior2010-04-281-0/+8
|
* gathdlc: Port GAtHDLC to use GAtIODenis Kenzior2010-04-281-129/+24
|
* gathdlc: Add recording support, ported from PPPDenis Kenzior2010-04-281-0/+58
| | | | For protocol examination using wireshark
* gathdlc: Add receive ACCM supportDenis Kenzior2010-04-281-1/+20
|
* gathdlc: Support transmit ACCMDenis Kenzior2010-04-281-2/+24
|
* Fix broken HDLC flag handlingMarcel Holtmann2010-04-241-2/+13
|
* Fix wrong escape character check in HDLC transmitMarcel Holtmann2010-04-241-2/+2
|
* Allow real wrapping around of HDLC transmit ring bufferMarcel Holtmann2010-04-241-2/+2
|
* Add offset parameter to ring_buffer_write_ptr() functionMarcel Holtmann2010-04-241-2/+2
|
* Add support for wrapping of HDLC transmit ring bufferMarcel Holtmann2010-04-241-30/+57
|
* Use HDLC_FCS helper where possibleMarcel Holtmann2010-04-231-1/+1
|
* Use HDLC constants instead of magic numbersMarcel Holtmann2010-04-231-4/+4
|
* Add support for wrapping of HDLC receive ring bufferMarcel Holtmann2010-04-231-21/+34
|
* Use a ring buffer for non-blocking HDLC output streamsMarcel Holtmann2010-04-111-25/+93
|
* Add abstraction for HDLC stream handlingMarcel Holtmann2010-04-101-0/+282