From 6cdcc159763ff167b37ccdb648dabbf2bb2275a5 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Fri, 24 Jan 2003 01:32:20 +0000 Subject: - add support for IPX (tested with mount -t nwfs and mars_nwe), IP fast forwarding, SIOCGIFADDR, setting hardware address (not currently enabled in cm driver), multicasts (experimental) - add ARC_MAX_DATA, use IF_HANDOFF, remove arc_sprintf() and some unused variables - if_simloop logic is made more similar to ethernet - drop not ours packets early (if we are not in promiscous mode) Submitted by: mark tinguely (partially) --- sys/net/if.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/net/if.c') diff --git a/sys/net/if.c b/sys/net/if.c index 04f8f759e78c0..d9b3dad766178 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1950,6 +1950,8 @@ if_setlladdr(struct ifnet *ifp, const u_char *lladdr, int len) case IFT_ISO88025: case IFT_L2VLAN: bcopy(lladdr, ((struct arpcom *)ifp->if_softc)->ac_enaddr, len); + /* FALLTHROUGH */ + case IFT_ARCNET: bcopy(lladdr, LLADDR(sdl), len); break; default: -- cgit v1.3