Date: Sun, 20 Jun 2004 21:08:58 +0000 (UTC) From: Bill Paul <wpaul@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_fec.c Message-ID: <200406202108.i5KL8w06068420@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2004-06-20 21:08:58 UTC FreeBSD src repository Modified files: sys/netgraph ng_fec.c Log: Remove one more unneeded reference to arpcom.ac_netgraph. Tweak things so that ng_fec has a chance of working with things other than ethernet. Use ifp->if_output of the underlying interfaces and use IF_HANDOFF() rather than depending on ether_output() and ether_output_frame() explicitly. Also, don't insist that underlying devices be IFM_ETHER when checking their link states in the link monitor code. With these changes, I was able to create a two channel bundle consisting of one ethernet interface and one 802.11 wireless device (via ndis). Note that this only works because both devices use the same if_output vector: ng_fec will not let you bundle devices with different output vectors together (it really doesn't make sense to do that). Revision Changes Path 1.11 +34 -10 src/sys/netgraph/ng_fec.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406202108.i5KL8w06068420>