Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2005 15:43:09 -0500
From:      Aniruddha Bohra <bohra@cs.rutgers.edu>
To:        freebsd-questions@freebsd.org
Subject:   Writing raw PPP packets
Message-ID:  <436681DD.2070001@cs.rutgers.edu>

next in thread | raw e-mail | index | archive | help
Hello all,
    From the bpf(4) manpage :

A packet can be sent out on the network by writing to a bpf file descrip-
     tor.  The writes are unbuffered, meaning only one packet can be 
processed
     per write.  Currently, only writes to Ethernets and SLIP links are sup-
     ported.


    Is it possible to direct IP packets to the PPP interface without the 
kernel
routing the packets? This is for a case where the default address to a
host is over another interface and I want to force some packets through 
the PPP
interface.

Thanks
Aniruddha




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