picking a new AF_* number for NETLINK ?

Baptiste Daroussin bapt at FreeBSD.org
Fri Jan 17 13:06:18 UTC 2014


On Fri, Jan 17, 2014 at 12:19:02AM +0100, Luigi Rizzo wrote:
> In porting the kernel openvswitch code to FreeBSD we
> have implemented netlink sockets, so we need to pick a
> number to use for AF_NETLINK/PF_NETLINK in the messages.
> 
> Obviously we'd like ovs to be loadable as a module on existing
> kernels, so i wonder if there are any restrictions on what we
> can use -- specifically, whether we should make sure that
> 
> 	AF_NETLINK < AF_MAX 
> 
> or that is irrelevant.

I asked this question a couple of month ago to Alfred (who did the reservation
stuff) exactly for AF_NETLINK which I planned to implement here is his answer:

| You want to take 38.
| 
| The next person should take 40.
| 
| All odds until 133 are allocated for vendors and should not be used by FreeBSD
| code.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140117/678f35d5/attachment.sig>


More information about the freebsd-current mailing list