Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 16:33:07 -0400
From:      Alfred Perlstein <bright@rush.net>
To:        net@freebsd.org
Subject:   finding ifp from inpcb
Message-ID:  <20010611163307.O1832@superconductor.rush.net>

next in thread | raw e-mail | index | archive | help
If I have an inpcb and an packet what's the best way to send
out the packet via the inpcb's interface?  I think I want to
call ether_output_frame, but I can't figure out how to get
the ifp from the inpcb.

I'm pretty sure I have to use the routeing code to do so, however
it's not very clear to me what I should be calling and with what
parameters.

-- 
-Alfred Perlstein [alfred@freebsd.org]
Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.

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?20010611163307.O1832>