You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/11/17 19:07:48 UTC

[GitHub] [incubator-nuttx] patacongo opened a new issue #2327: Incomplete TCP Urgent OOB Data Support

patacongo opened a new issue #2327:
URL: https://github.com/apache/incubator-nuttx/issues/2327


   net/tcp/tcp_input.c contains data to detect the presence of urgent OOB data in a packet.  It will also save the a pointer to the urgent data and the size of the urgent data.
   
   However, there is no logic in place to either send or receive urgent data.  In order to fully support urgent data we would need to:
   
   1. Add logic in send() to handle the MSG_OOB flag.
   2. If the MSB_OOB flag is set, send() should buffer the urgent data in separate write buffers.
   
   and similarly,
   
   3. On receipt of urgent data, the received data should be buffered in read-ahead buffers separate from the "normal" TCP data
   4. Add logic in recv() to handle the MSG_OOB flag.
   5. If the MSB_OOB flag is set, recv() should take the urgent data from the special read-ahead buffer (or wait for urgent data to arrive).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org