patchlwIP - A Lightweight TCP/IP stack - Patches: patch #8871, unixsim: add PPPoS Rx thread...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8871: unixsim: add PPPoS Rx thread (lwip-contrib)

Submitter:  Stephan Linz <slz>
Submitted:  Tue 19 Jan 2016 07:56:47 AM UTC
   
 
Category:  PPP Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  gradator Open/Closed:  Closed
Planned Release:  None

Tue 19 Jan 2016 08:29:59 PM UTC, comment #1: 

Absolutely, applied (with some nitpick changes), thank you ! :)

Having threads running this way just to do I/O is quite a bad design choice (compared to using epoll or even poll/select for example) on a Linux system, but hey!, this is just an example for OS targets and the TCP/IP API :-)

Sylvain

Sylvain Rochet <gradator>
Group Member
Tue 19 Jan 2016 07:56:47 AM UTC, original submission:  

As describe in lwip/doc/ppp.txt chapter "Upgrading from lwIP <= 1.4.x to lwIP >= 1.5.x" the unixsim must provide its own PPP input thread to read raw data from serial line: "... PPP_INPROC_OWNTHREAD was broken by design and was removed, you have to create your own serial rx thread ..." Details about howto do that can read in the same document in chapter "PPPoS input path".

PPP_INPROC_OWNTHREAD was removed with lwip commit "PPP, removed PPP_INPROC_OWNTHREAD feature, which almost only make things harder" (25f9f55878f008113bc1f4a0068d4827ed4595b9)

Stephan Linz <slz>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gradator (Posted a comment)
  • -email is unavailable- added by slz (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-01-19 gradator CategoryPlatform ports PPP
        StatusNone Done
        Assigned toNone gradator
        Open/ClosedOpen Closed
    2016-01-19 slz Attached File- Added 0001-unixsim-add-PPPoS-Rx-thread.patch, #36091

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code