minix/servers/inet/generic
David van Moolenbroek 9ba65d2ea8 This patch switches the MINIX3 ethernet driver stack from a port-based
model to an instance-based model. Each ethernet driver instance is now
responsible for exactly one network interface card. The port field in
/etc/inet.conf now acts as an instance field instead.

This patch also updates the data link protocol. This update:
- eliminates the concept of ports entirely;
- eliminates DL_GETNAME entirely;
- standardizes on using m_source for IPC and DL_ENDPT for safecopies;
- removes error codes from TASK/STAT replies, as they were unused;
- removes a number of other old or unused fields;
- names and renames a few other fields.

All ethernet drivers have been changed to:
- conform to the new protocol, and exactly that;
- take on an instance number based on a given "instance" argument;
- skip that number of PCI devices in probe iterations;
- use config tables and environment variables based on that number;
- no longer be limited to a predefined maximum of cards in any way;
- get rid of any leftover non-safecopy support and other ancient junk;
- have a correct banner protocol figure, or none at all.

Other changes:
* Inet.conf is now taken to be line-based, and supports #-comments.
  No existing installations are expected to be affected by this.
* A new, select-based asynchio library replaces the old one.
  Kindly contributed by Kees J. Bot.
* Inet now supports use of select() on IP devices.
  Combined, the last two changes together speed up dhcpd
  considerably in the presence of multiple interfaces.
* A small bug has been fixed in nonamed.
2010-05-17 22:22:53 +00:00
..
arp.c Removed a whole herd of unused variables. 2010-01-14 13:53:12 +00:00
arp.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
assert.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
buf.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
clock.h Initial revision 2005-04-21 14:53:53 +00:00
eth.c Removed unused symbols. 2010-01-22 22:01:08 +00:00
eth.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
eth_int.h Initial convertion to asynchronous sends for communicating with ethernet 2007-04-23 14:49:20 +00:00
event.c New inet with partial select implementation 2005-06-28 15:19:58 +00:00
event.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
icmp.c Remove U16_t and most other similar types. Rewrite functions to ansi-style 2010-04-21 11:05:22 +00:00
icmp.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
icmp_lib.h Remove U16_t and most other similar types. Rewrite functions to ansi-style 2010-04-21 11:05:22 +00:00
io.c New inet with partial select implementation 2005-06-28 15:19:58 +00:00
io.h Initial revision 2005-04-21 14:53:53 +00:00
ip.c This patch switches the MINIX3 ethernet driver stack from a port-based 2010-05-17 22:22:53 +00:00
ip.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
ip_eth.c Removed a whole herd of unused variables. 2010-01-14 13:53:12 +00:00
ip_int.h This patch switches the MINIX3 ethernet driver stack from a port-based 2010-05-17 22:22:53 +00:00
ip_ioctl.c Fixed an array bounds violation. 2010-02-24 10:39:58 +00:00
ip_lib.c Remove U16_t and most other similar types. Rewrite functions to ansi-style 2010-04-21 11:05:22 +00:00
ip_ps.c New inet with partial select implementation 2005-06-28 15:19:58 +00:00
ip_read.c This patch switches the MINIX3 ethernet driver stack from a port-based 2010-05-17 22:22:53 +00:00
ip_write.c Portability: POSIXize some of inet's error codes 2009-11-28 13:18:33 +00:00
ipr.c Remove U16_t and most other similar types. Rewrite functions to ansi-style 2010-04-21 11:05:22 +00:00
ipr.h Remove U16_t and most other similar types. Rewrite functions to ansi-style 2010-04-21 11:05:22 +00:00
psip.c New inet with partial select implementation 2005-06-28 15:19:58 +00:00
psip.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
rand256.c New inet with partial select implementation 2005-06-28 15:19:58 +00:00
rand256.h Listen/accept. Read select for UDP. 2005-07-27 12:07:12 +00:00
sr.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
tcp.c Remove U16_t and most other similar types. Rewrite functions to ansi-style 2010-04-21 11:05:22 +00:00
tcp.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
tcp_int.h Remove U16_t and most other similar types. Rewrite functions to ansi-style 2010-04-21 11:05:22 +00:00
tcp_lib.c New inet with partial select implementation 2005-06-28 15:19:58 +00:00
tcp_recv.c Removed unused symbols. 2010-01-22 22:01:08 +00:00
tcp_send.c Remove U16_t and most other similar types. Rewrite functions to ansi-style 2010-04-21 11:05:22 +00:00
type.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
udp.c Remove U16_t and most other similar types. Rewrite functions to ansi-style 2010-04-21 11:05:22 +00:00
udp.h New inet with partial select implementation 2005-06-28 15:19:58 +00:00
udp_int.h Listen/accept. Read select for UDP. 2005-07-27 12:07:12 +00:00