Lines Matching refs:conn_t
47 typedef boolean_t (*edesc_vpf)(conn_t *, void *, struct icmph_s *,
151 * Mandatory Access Control mode, in conn_t's conn_mac_mode field.
219 * The initial fields in the conn_t are setup by the kmem_cache constructor,
221 * the conn_t is freed.
223 * Much of the conn_t is protected by conn_lock.
259 /* Fields after this are bzero'ed when the conn_t is freed. */
457 * The hash tables and their linkage (conn_t.{hashnextp, hashprevp} are
458 * protected by the per-bucket lock. Each conn_t inserted in the list
468 DTRACE_PROBE1(conn__inc__ref, conn_t *, connp); \
476 DTRACE_PROBE1(conn__inc__ref, conn_t *, connp); \
485 DTRACE_PROBE1(conn__dec__ref, conn_t *, connp); \
515 * For matching between a conn_t and a zoneid.
683 extern conn_t *ipcl_conn_create(uint32_t, int, netstack_t *);
684 extern void ipcl_conn_destroy(conn_t *);
686 void ipcl_hash_insert_wildcard(connf_t *, conn_t *);
687 void ipcl_hash_remove(conn_t *);
688 void ipcl_hash_remove_locked(conn_t *connp, connf_t *connfp);
690 extern int ipcl_bind_insert(conn_t *);
691 extern int ipcl_bind_insert_v4(conn_t *);
692 extern int ipcl_bind_insert_v6(conn_t *);
693 extern int ipcl_conn_insert(conn_t *);
694 extern int ipcl_conn_insert_v4(conn_t *);
695 extern int ipcl_conn_insert_v6(conn_t *);
696 extern conn_t *ipcl_get_next_conn(connf_t *, conn_t *, uint32_t);
698 conn_t *ipcl_classify_v4(mblk_t *, uint8_t, uint_t, ip_recv_attr_t *,
700 conn_t *ipcl_classify_v6(mblk_t *, uint8_t, uint_t, ip_recv_attr_t *,
702 conn_t *ipcl_classify(mblk_t *, ip_recv_attr_t *, ip_stack_t *);
703 conn_t *ipcl_classify_raw(mblk_t *, uint8_t, uint32_t, ipha_t *,
705 conn_t *ipcl_iptun_classify_v4(ipaddr_t *, ipaddr_t *, ip_stack_t *);
706 conn_t *ipcl_iptun_classify_v6(in6_addr_t *, in6_addr_t *, ip_stack_t *);
707 void ipcl_globalhash_insert(conn_t *);
708 void ipcl_globalhash_remove(conn_t *);
710 conn_t *ipcl_tcp_lookup_reversed_ipv4(ipha_t *, tcpha_t *, int, ip_stack_t *);
711 conn_t *ipcl_tcp_lookup_reversed_ipv6(ip6_t *, tcpha_t *, int, uint_t,
713 conn_t *ipcl_lookup_listener_v4(uint16_t, ipaddr_t, zoneid_t, ip_stack_t *);
714 conn_t *ipcl_lookup_listener_v6(uint16_t, in6_addr_t *, uint_t, zoneid_t,
716 int conn_trace_ref(conn_t *);
717 int conn_untrace_ref(conn_t *);
718 void ipcl_conn_cleanup(conn_t *);
719 extern uint_t conn_recvancillary_size(conn_t *, crb_t, ip_recv_attr_t *,
721 extern void conn_recvancillary_add(conn_t *, crb_t, ip_recv_attr_t *,
723 conn_t *ipcl_conn_tcp_lookup_reversed_ipv4(conn_t *, ipha_t *, tcpha_t *,
725 conn_t *ipcl_conn_tcp_lookup_reversed_ipv6(conn_t *, ip6_t *, tcpha_t *,
728 extern int ip_create_helper_stream(conn_t *, ldi_ident_t);
729 extern void ip_free_helper_stream(conn_t *);