net: Add rx_mode to ether/netif
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 15 Nov 2017 18:08:53 +0000 (13:08 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Nov 2017 15:46:57 +0000 (10:46 -0500)
commitab2ec770ece4c6eff2fa8d694414016d2a1275c3
tree187d2c98b8e2c89e78038ad6c5022325594fd65c
parent57d220a38d21a1a4102f5fc8f2c8745ca189838a
net: Add rx_mode to ether/netif

It's only used in a Linux driver.  It simplifies the driver a bit, and is
likely to help all other Linux drivers.  It's the way of the future!

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/net/ip.h
kern/src/net/netif.c