diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-01-24 01:32:20 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-01-24 01:32:20 +0000 |
commit | fc2f60400f2eeb5b4d5322ee9d0bd0b218225fe4 (patch) | |
tree | ef3de707a3715f6bc27322be78dfbeaad1be3e98 /sys/net/if.c | |
parent | 8a55a31618aea1ffbd4a75915958fdcb772c3236 (diff) | |
download | FreeBSD-src-fc2f60400f2eeb5b4d5322ee9d0bd0b218225fe4.zip FreeBSD-src-fc2f60400f2eeb5b4d5322ee9d0bd0b218225fe4.tar.gz |
- 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)
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 04f8f75..d9b3dad 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: |