mod_prop_info_t
icmp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
icmp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
static mod_prop_info_t icmp_propinfo_tbl[] = {
is->is_propinfo_tbl = (mod_prop_info_t *)kmem_alloc(arrsz, KM_SLEEP);
ip_propinfo_count * sizeof (mod_prop_info_t));
arrsz = ip_propinfo_count * sizeof (mod_prop_info_t);
ipst->ips_propinfo_tbl = (mod_prop_info_t *)kmem_alloc(arrsz, KM_SLEEP);
extern mod_prop_info_t ip_propinfo_tbl[];
mod_prop_info_t *ptbl = NULL, *pinfo = NULL;
mod_prop_info_t *pinfo = NULL;
ip_set_debug(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
ip_get_debug(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
ip_set_cgtp_filter(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
ip_get_mtu(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
ip_set_src_multihoming(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
ip_set_hostmodel(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
ip_get_hostmodel(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
ip_set_forwarding(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
mod_prop_info_t ip_propinfo_tbl[] = {
ip_get_forwarding(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
mod_prop_info_t *is_propinfo_tbl; /* holds the icmp tunables */
extern mod_prop_info_t sctp_propinfo_tbl[];
arrsz = sctp_propinfo_count * sizeof (mod_prop_info_t);
sctps->sctps_propinfo_tbl = (mod_prop_info_t *)kmem_alloc(arrsz,
sctp_propinfo_count * sizeof (mod_prop_info_t));
sctp_listener_conf_del(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
sctp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
sctp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
mod_prop_info_t sctp_propinfo_tbl[] = {
sctp_listener_conf_get(netstack_t *stack, mod_prop_info_t *pinfo,
sctp_listener_conf_add(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
arrsz = tcp_propinfo_count * sizeof (mod_prop_info_t);
tcps->tcps_propinfo_tbl = (mod_prop_info_t *)kmem_alloc(arrsz,
tcp_propinfo_count * sizeof (mod_prop_info_t));
extern mod_prop_info_t tcp_propinfo_tbl[];
tcp_listener_conf_add(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
tcp_listener_conf_del(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
tcp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
tcp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
tcp_smallest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
tcp_largest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
tcp_set_cc_algorithm(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
tcp_get_cc_algorithm(netstack_t *stack, mod_prop_info_t *pinfo,
mod_prop_info_t tcp_propinfo_tbl[] = {
tcp_set_1948phrase(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
tcp_listener_conf_get(netstack_t *stack, mod_prop_info_t *pinfo,
mod_get_boolean(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
mod_uint32_value(const void *pval, mod_prop_info_t *pinfo, uint_t flags,
mod_set_uint32(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
mod_set_aligned(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
mod_get_uint32(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
mod_get_buf_prop_range(mod_prop_info_t ptbl[], mod_prop_info_t *pinfo,
mod_prop_info_t *maxbuf_pinfo = mod_prop_lookup(ptbl, "max_buf",
mod_set_buf_prop(mod_prop_info_t ptbl[], netstack_t *stack, cred_t *cr,
mod_prop_info_t *pinfo, const char *ifname, const void *pval, uint_t flags)
mod_get_buf_prop(mod_prop_info_t ptbl[], netstack_t *stack,
mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize,
mod_get_allprop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
mod_prop_info_t *ptbl, *prop;
mod_set_extra_privports(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
mod_prop_info_t *
mod_prop_lookup(mod_prop_info_t ptbl[], const char *prop_name, uint_t proto)
mod_prop_info_t *pinfo;
mod_get_extra_privports(netstack_t *stack, mod_prop_info_t *pinfo,
prop_perm2const(mod_prop_info_t *pinfo)
mod_set_boolean(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
extern int mod_uint32_value(const void *, mod_prop_info_t *,
extern mod_prop_info_t *mod_prop_lookup(mod_prop_info_t[], const char *,
extern int mod_set_buf_prop(mod_prop_info_t[], netstack_t *,
cred_t *cr, mod_prop_info_t *, const char *, const void *, uint_t);
extern int mod_get_buf_prop(mod_prop_info_t[], netstack_t *,
mod_prop_info_t *, const char *, void *, uint_t, uint_t);
typedef int mod_prop_setf_t(netstack_t *, cred_t *, mod_prop_info_t *,
typedef int mod_prop_getf_t(netstack_t *, mod_prop_info_t *, const char *,
extern mod_prop_info_t udp_propinfo_tbl[];
arrsz = udp_propinfo_count * sizeof (mod_prop_info_t);
us->us_propinfo_tbl = (mod_prop_info_t *)kmem_alloc(arrsz,
udp_propinfo_count * sizeof (mod_prop_info_t));
udp_set_buf_prop(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
udp_get_buf_prop(netstack_t *stack, mod_prop_info_t *pinfo, const char *ifname,
udp_smallest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
udp_largest_anon_set(netstack_t *stack, cred_t *cr, mod_prop_info_t *pinfo,
mod_prop_info_t udp_propinfo_tbl[] = {