[PATCH] openbsc/src/ipaccess/ipaccess-find.c: FreeBSD uses IP_SENDIF as analog of the Linux socket option SO_BINDTODEVICE

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Nikola Kolev koue at chaosophia.net
Wed May 7 08:04:07 UTC 2014


IP_SENDIF is broadly an analogue of the Linux socket option 
SO_BINDTODEVICE. It is used to bypass the traditional BSD source 
interface selection logic. It is a sledgehammer hack used to output 
datagrams on a specific interface which may not yet have an address, 
e.g. for DHCP.

-- 
Nikola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openbsc-freebsd-ipaccess-find-patch.diff
Type: application/octet-stream
Size: 522 bytes
Desc: openbsc-freebsd-ipaccess-find-patch.diff
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20140507/1db64454/attachment.obj>


More information about the OpenBSC mailing list