Regarding Flow of sendto (UDP) using IPv6.

Lowell Gilbert freebsd-questions-local at
Wed Oct 17 07:37:36 PDT 2007

"Prasad Dandra" <dbprasad at> writes:

> I have some doubts regarding the BSD stack flow.
> I am very much interested to know the code flow from sendto (UDP case) upto
> udp6_output function when used in IPv6 client (simple client) and also how
> the local port and destination address are assigned without using bind
> when 1st time the sendto is called i.e  where the pcbconnect and pcbbind are
> called (particularly in case of ipv6)?
> Any information provided about the links, books to be refered for more
> details will also be helpful.

Bear in mind that the IPv6 implementation in FreeBSD has recently been
exchanged for a different one, but I don't think the basic concepts
are much changed.  For that matter, the IPv4 model (which has plenty
of book documentation covering it) isn't very different.

More information about the freebsd-questions mailing list