cvs commit: src/sys/netgraph ng_fec.c

Bill Paul wpaul at FreeBSD.org
Sun Jun 20 14:08:59 PDT 2004


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


More information about the cvs-src mailing list