Re: Implementing IP_SENDIF (like SO_BINDTODEVICE)

From: Gleb Smirnoff (glebius_at_freebsd.org)
Date: 10/28/04

  • Next message: Pawel Malachowski: "Re: PPTP/PPPoE mpd/poptop performance"
    Date: Thu, 28 Oct 2004 15:41:34 +0400
    To: Julian Elischer <julian@elischer.org>, freebsd-net@freebsd.org
    
    

    On Wed, Oct 27, 2004 at 12:52:33PM -0700, Bruce M Simpson wrote:
    B> On Wed, Oct 27, 2004 at 12:28:22PM -0700, Julian Elischer wrote:
    B> > >It annoys me that we have to resort to BPF to send IP datagrams on
    B> > >unnumbered interfaces. Here is a half baked idea. Please look and
    B> > >tell me what you think.
    B> >
    B> > I've sent lots of datagrams on un-numberred interfaces using netgraph..
    B>
    B> I should qualify my post a bit more: I began thinking along these lines
    B> with the intention of enabling ISC dhcp (and dhclient) to be compiled
    B> without using bpf support. I don't have the time or interest to port ISC
    B> dhcp to use netgraph, but I'd be interested to see the results if that
    B> happened.

    ng_device can be attached to "orphans" hook of ng_ether. /dev/ngdX opened
    by dhcpd, and packets processed.

    What is benefit to get rid of bpf? What is problem with it?

    -- 
    Totus tuus, Glebius.
    GLEBIUS-RIPN GLEB-RIPE
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Pawel Malachowski: "Re: PPTP/PPPoE mpd/poptop performance"

    Relevant Pages