lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer


From: Frédéric Bernon
Subject: [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer
Date: Mon, 11 Jun 2007 08:54:48 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

URL:
  <http://savannah.nongnu.org/task/?6998>

                 Summary: Implement IPPROTO_UDPLITE for Socket layer
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: fbernon
            Submitted on: lundi 11.06.2007 à 10:54
                Category: None
         Should Start On: lundi 11.06.2007 à 00:00
   Should be Finished on: lundi 11.06.2007 à 00:00
                Priority: 1 - Later
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: fbernon
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

It seems that some sockets API support UDP-Lite.

http://kernel.org/pub/linux/kernel/people/landley/kdocs/Documentation/networking/udplite.txt.
http://www.erg.abdn.ac.uk/users/william/tools/UDPLite-patch.pdf.

I don't know what Linux currently support, but I propose to support
IPPROTO_UDPLITE in "proto" parameter for socket call:

s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDPLITE); 

To support that, the only thing to do is to change in lwip_socket

case SOCK_DGRAM:
  conn = netconn_new_with_callback(NETCONN_UDP, event_callback);

By...

case SOCK_DGRAM:
  conn =
netconn_new_with_callback(((protocol==IPPROTO_UDPLITE)?NETCONN_UDPLITE:NETCONN_UDP),
event_callback);

Or by a switch if you prefer...

I will submit if no objects...





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6998>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]