summaryrefslogtreecommitdiff
path: root/nuttx/TODO
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-17 15:34:50 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-17 15:34:50 -0600
commit1117846b864d3016a67d6130cf81a15b10bf085a (patch)
treea82d42d9f3489950ec3a5272b19f8539df9b73a0 /nuttx/TODO
parent3f5c77926b0d250d00b6e5d95223ad800ec0eb2d (diff)
downloadpx4-nuttx-1117846b864d3016a67d6130cf81a15b10bf085a.tar.gz
px4-nuttx-1117846b864d3016a67d6130cf81a15b10bf085a.tar.bz2
px4-nuttx-1117846b864d3016a67d6130cf81a15b10bf085a.zip
Update TODO; Cosmetic changes to comments
Diffstat (limited to 'nuttx/TODO')
-rw-r--r--nuttx/TODO24
1 files changed, 23 insertions, 1 deletions
diff --git a/nuttx/TODO b/nuttx/TODO
index eb078b044..06ce3ddcc 100644
--- a/nuttx/TODO
+++ b/nuttx/TODO
@@ -15,7 +15,7 @@ nuttx/
(8) Kernel/Protected Builds
(4) C++ Support
(6) Binary loaders (binfmt/)
- (11) Network (net/, drivers/net)
+ (12) Network (net/, drivers/net)
(4) USB (drivers/usbdev, drivers/usbhost)
(10) Libraries (libc/, )
(11) File system/Generic drivers (fs/, drivers/)
@@ -829,6 +829,28 @@ o Network (net/, drivers/net)
Priority: Medium. Important on slow applications that will not accept
connections promptly.
+ Title: PER DEVICE PORT NUMBERS
+ Description: TCP and UDP ports numbers are assigned as separater but global resources.
+ Separate meaning that a UDP and TCP socket with the same port number are
+ distinct. But global in the since that each TCP port number must be unique
+ and TCP sockets. UDP port numbers must be similarly unique.
+
+ This causes prorblems for the case where there multiple network devices
+ configured into the system. In that case, it should be possible to assign
+ the same TCP (or UDP) port number if the connection is associated with
+ different network devices. For example, if there are two instances of
+ a webserver, each listening for connections on a different device, each
+ should be able to use port 80 to listen for connections.
+
+ The solution is is move the TCP and UDP port related resources: They
+ should not be global but shoud, instead, by a part of the device structure,
+ struct net_drivers_s.
+
+ Status: Open
+ Priority: Very low if you have only a single network interface. Higher if you
+ have more than one. Very high if you need to have the same port numbers
+ on each network served by the device.
+
o USB (drivers/usbdev, drivers/usbhost)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^