Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2000 18:45:37 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        freebsd-net@freebsd.org
Cc:        julian@elischer.org
Subject:   Patch review request (ng_ether(4))
Message-ID:  <200006020145.SAA98179@bubba.whistle.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'd appreciate any reviews of this patch:

  ftp://ftp.whistle.com/pub/archie/misc/NGETHER.patch

What this does is:

  - Change the ng_ether(4) netgraph node type to get rid of the
    "divert" and "orphans" hooks, replacing them with these hooks:

      "lower" - connection to the raw device
      "upper" - connection to the upper protocol layers

    This should allow much more interesting Ethernet operations 
    using netgraph, especially things that filter, etc. For example,
    bridging can all be done with a netgraph node.

  - Moves all the netgraph-specific functionality out of net/if_ethersubr.c
    and into a new file netgraph/ng_ether.c

  - Allows a KLD for ng_ether.ko so your kernel doesn't have to
    be compiled with options NETGRAPH to use it. When loaded, all
    ethernet interfaces become netgraph nodes as well.. including
    PCCARDS inserted later.

Note: ppp(8) will have to be modified slightly before this gets commited;
haven't done this yet but it should be trivial.

Thanks,
-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006020145.SAA98179>