On Tue, 2008-05-27 at 09:54 -0400, Sebastien Roy wrote: > On Tue, 2008-05-27 at 02:57 -0700, Rob Loefman wrote: > > - which flag to use in dlpi_open() ? > > You shouldn't need to set any flags if your application is simply > sending and receiving IP packets through the tunnel. If your > application needs to mess with the outer IP headers (i.e., send and > receive them as part of the message data), then you'll need DLPI_RAW.
I should also add that if you want your application to work in conjunction with any IP interfaces plumbed over the tunnel, then you'll also need DLPI_PASSIVE. -Seb
