[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer
From: |
Goldschmidt Simon |
Subject: |
RE: [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer |
Date: |
Mon, 11 Jun 2007 10:58:39 +0200 |
> Details:
>
> It seems that some sockets API support UDP-Lite.
>
> http://kernel.org/pub/linux/kernel/people/landley/kdocs/Docume
> ntation/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...
We'd also need the set/getsockopts for setting the checksum length
on send (maybe also receive, see the rfc for udp lite).
Simon
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Frédéric Bernon, 2007/06/11
- RE: [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer,
Goldschmidt Simon <=
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Frédéric Bernon, 2007/06/11
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Simon Goldschmidt, 2007/06/11
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Frédéric Bernon, 2007/06/11
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Frédéric Bernon, 2007/06/11
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Simon Goldschmidt, 2007/06/12
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Frédéric Bernon, 2007/06/12
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Simon Goldschmidt, 2007/06/17
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Frédéric Bernon, 2007/06/17
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Frédéric Bernon, 2007/06/17
- [lwip-devel] [task #6998] Implement IPPROTO_UDPLITE for Socket layer, Simon Goldschmidt, 2007/06/17