[illumos-Developer] Cluster hook functions in "inet/tcp.h"

Sergio Lopez sergio.lopez at nologin.es
Mon Jan 17 01:45:00 PST 2011


Hi,

Currently, "inet/tcp.h" declares the following hook functions for
cluster networking:

extern void     (*cl_inet_listen)(netstackid_t, uint8_t, sa_family_t,
                    uint8_t *, in_port_t, void *);
extern void     (*cl_inet_unlisten)(netstackid_t, uint8_t, sa_family_t,
                    uint8_t *, in_port_t, void *);

Recent versions of OHAC/colorado define these functions by its own,
causing the compiler to complain when building. Since AFAIK these hooks
are only used by OHAC, perhaps it should be considered to remove them
from the public headers (internally, they're already defined in
"inet/tcp_cluster.h").

What do you think?



More information about the Developer mailing list