Searched refs:conn_t (Results 1 - 25 of 82) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/inet/
H A Dip_rts.h66 extern void ip_rts_register(conn_t *);
70 extern void ip_rts_unregister(conn_t *);
85 extern void rts_queue_input(mblk_t *, conn_t *, sa_family_t, uint_t,
88 extern int ip_rts_request_common(mblk_t *mp, conn_t *, cred_t *);
H A Dsctp_ip.h42 extern conn_t *sctp_find_conn(in6_addr_t *, in6_addr_t *, uint32_t,
44 extern conn_t *sctp_fanout(in6_addr_t *, in6_addr_t *, uint32_t,
47 extern void sctp_input(conn_t *, ipha_t *, ip6_t *, mblk_t *, ip_recv_attr_t *);
53 extern void sctp_free(conn_t *);
H A Dip_multi.h66 extern void ilg_delete_all(conn_t *connp);
67 extern boolean_t conn_hasmembers_ill_withsrc_v4(conn_t *, ipaddr_t,
69 extern boolean_t conn_hasmembers_ill_withsrc_v6(conn_t *,
102 extern int ip_mrouter_get(int, conn_t *, uchar_t *);
103 extern int ip_mrouter_set(int, conn_t *, int, uchar_t *, int);
107 extern int ip_opt_add_group(conn_t *, boolean_t,
109 extern int ip_opt_delete_group(conn_t *, boolean_t,
H A Dipclassifier.h47 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 *, conn
[all...]
H A Dtcp_impl.h110 conn_t *connp;
604 extern void tcp_close_common(conn_t *, int);
610 extern conn_t *tcp_create_common(cred_t *, boolean_t, boolean_t, int *);
613 extern int tcp_do_bind(conn_t *, struct sockaddr *, socklen_t, cred_t *,
615 extern int tcp_do_connect(conn_t *, const struct sockaddr *, socklen_t,
617 extern int tcp_do_listen(conn_t *, struct sockaddr *, socklen_t, int,
619 extern int tcp_do_unbind(conn_t *);
628 extern void tcp_reinput(conn_t *, mblk_t *, ip_recv_attr_t *, ip_stack_t *);
644 extern int tcp_bind_check(conn_t *, struct sockaddr *, socklen_t,
685 ip_stack_t *i, conn_t *);
[all...]
H A Dproto_set.c41 proto_set_rx_hiwat(queue_t *q, conn_t *connp, size_t size)
68 proto_set_rx_lowat(queue_t *q, conn_t *connp, size_t size)
100 proto_set_maxpsz(queue_t *q, conn_t *connp, size_t size)
133 proto_set_tx_maxblk(queue_t *q, conn_t *connp, ssize_t size)
159 proto_set_tx_copyopt(queue_t *q, conn_t *connp, int copyopt)
185 proto_set_tx_wroff(queue_t *q, conn_t *connp, size_t size)
217 proto_set_rx_oob_opt(conn_t *connp, boolean_t onoff)
H A Dip.h218 #define Q_TO_CONN(q) ((conn_t *)(q)->q_ptr)
251 DTRACE_PROBE1(conn__inc__ioctlref, conn_t *, (connp)); \
263 DTRACE_PROBE1(conn__dec__ioctlref, conn_t *, (connp)); \
640 * interleaving between e.g., add and delete operations for the same conn_t,
647 * such as the references from open endpoints (ill_t and conn_t's
737 typedef struct conn_s conn_t; typedef in typeref:struct:conn_s
834 * The conn drain list structure (idl_t), protected by idl_lock. Each conn_t
860 conn_t *idl_conn; /* Head of drain list */
2081 * well as inside IP. It is also used to cache information in the conn_t i.e.
2082 * replaces conn_ire and the IPsec caching in the conn_t
[all...]
H A Drawip_impl.h64 * The addresses and ports in the conn_t and icmp_state are protected by
70 conn_t *icmp_connp;
H A Drts_impl.h81 conn_t *rts_connp;
H A Dsqueue.c62 * squeue mapping is stored in "conn_t" member "conn_sqp".
428 conn_t *connp;
467 connp = (conn_t *)mp->b_prev;
483 sqp, mblk_t *, mp, conn_t *, connp);
486 sqp, conn_t *, connp);
586 connp = (conn_t *)mp->b_prev;
608 sqp, mblk_t *, mp, conn_t *, connp);
611 sqp, conn_t *, connp);
716 conn_t *connp;
778 connp = (conn_t *)m
[all...]
H A Doptcom.h198 extern int process_auxiliary_options(conn_t *, void *, t_uscalar_t,
199 void *, optdb_obj_t *, int (*)(conn_t *, uint_t, int, int, uint_t,
H A Dipsec_impl.h664 * code), which could be cached in the conn_t for connected endpoints, or
853 extern mblk_t *ipsec_check_global_policy(mblk_t *, conn_t *, ipha_t *,
855 extern mblk_t *ipsec_check_inbound_policy(mblk_t *, conn_t *, ipha_t *, ip6_t *,
865 extern int ipsec_conn_cache_policy(conn_t *, boolean_t);
866 extern void ipsec_cache_outbound_policy(const conn_t *, const in6_addr_t *,
870 extern void ipsec_latch_inbound(conn_t *connp, ip_recv_attr_t *ira);
902 extern ipsec_policy_t *ipsec_find_policy(int, const conn_t *,
918 extern int ipsec_set_req(cred_t *, conn_t *, ipsec_req_t *);
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_socket.c98 conn_t *connp = (conn_t *)proto_handle;
135 conn_t *lconnp, *econnp;
144 econnp = (conn_t *)eproto_handle;
149 lconnp = (conn_t *)listener->tcp_connp;
202 conn_t *connp = (conn_t *)proto_handle;
240 conn_t *connp = (conn_t *)proto_handle;
279 conn_t *conn
[all...]
H A Dtcp_timers.c136 tcp_timeout(conn_t *connp, void (*f)(void *), hrtime_t tim)
180 conn_t *connp;
193 conn_t *connp = (conn_t *)arg;
231 tcp_timeout_cancel(conn_t *connp, timeout_id_t id)
421 conn_t *connp = (conn_t *)arg;
518 conn_t *connp = (conn_t *)arg;
538 conn_t *conn
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipclassifier.c32 * The connection state is kept in conn_t data structure and contains, among
89 * conn_t *ipcl_classify_v4(mp, protocol, hdr_len, ira, ip_stack)
90 * conn_t *ipcl_classify_v6(mp, protocol, hdr_len, ira, ip_stack)
157 * conn_t *ipcl_tcp_lookup_reversed_ipv4(ipha_t *, tcpha_t *, int, ip_stack);
158 * conn_t *ipcl_tcp_lookup_reversed_ipv6(ip6_t *, tcpha_t *, int, uint_t,
165 * conn_t *ipcl_lookup_listener_v4(lport, laddr, protocol,
167 * conn_t *ipcl_lookup_listener_v6(lport, laddr, protocol, ifindex,
191 * connp conn_t to be inserted
204 * connp conn_t to be inserted
214 * conn_t *ipcl_conn_creat
[all...]
H A Drts.c132 static conn_t *rts_open(int flag, cred_t *credp);
203 rts_common_close(queue_t *q, conn_t *connp)
242 conn_t *connp = Q_TO_CONN(q);
257 conn_t *connp;
308 static conn_t *
314 conn_t *connp;
411 conn_t *connp = Q_TO_CONN(q);
432 conn_t *connp = Q_TO_CONN(q);
481 conn_t *connp = Q_TO_CONN(q);
512 conn_t *conn
[all...]
H A Dicmp.c100 static int icmp_build_hdr_template(conn_t *, const in6_addr_t *,
104 static void icmp_close_free(conn_t *);
113 static void icmp_icmp_error_ipv6(conn_t *connp, mblk_t *mp,
117 static conn_t *icmp_open(int family, cred_t *credp, int *err, int flags);
123 int icmp_opt_set(conn_t *connp, uint_t optset_context,
127 int icmp_opt_get(conn_t *connp, int level, int name,
129 static int icmp_output_newdst(conn_t *connp, mblk_t *data_mp, sin_t *sin,
131 static mblk_t *icmp_prepend_hdr(conn_t *, ip_xmit_attr_t *, const ip_pkt_t *,
133 static mblk_t *icmp_prepend_header_template(conn_t *, ip_xmit_attr_t *,
144 static void icmp_ulp_recv(conn_t *, mblk_
[all...]
H A Dip_helper_stream.c62 * set the q_ptr of the 'q' to the conn_t pointer passed in
67 conn_t *connp = *((conn_t **)mp->b_cont->b_rptr);
173 * Public interface for creating an IP stream with shared conn_t
177 * for the conn_t.
180 ip_create_helper_stream(conn_t *connp, ldi_ident_t li)
241 * Caller must ensure no concurrent use of the conn_t, which is normally
242 * done by calling this from the close routine when the conn_t is quiesced.
245 ip_free_helper_stream(conn_t *connp)
H A Dipdrop.c321 DTRACE_IP7(drop__in, mblk_t *, mp, conn_t *, NULL, void_ip_t *,
327 DTRACE_IP7(drop__in, mblk_t *, mp, conn_t *, NULL, void_ip_t *,
343 DTRACE_IP7(drop__out, mblk_t *, mp, conn_t *, NULL, void_ip_t *,
349 DTRACE_IP7(drop__out, mblk_t *, mp, conn_t *, NULL, void_ip_t *,
H A Dip_multi.c64 static void ilm_bld_flists(conn_t *conn, void *arg);
83 static ilg_t *ilg_lookup(conn_t *, const in6_addr_t *, ipaddr_t ifaddr,
86 static int ilg_add(conn_t *connp, const in6_addr_t *group,
89 static void ilg_delete(conn_t *connp, ilg_t *ilg, const in6_addr_t *src);
92 static int ip_opt_delete_group_excl(conn_t *connp,
98 static int ip_msfilter_ill(conn_t *, mblk_t *, const ip_ioctl_cmd_t *,
101 static void ilg_check_detach(conn_t *, ill_t *);
102 static void ilg_check_reattach(conn_t *, ill_t *);
223 conn_ilg_alloc(conn_t *connp, int *errp)
270 ilm_bld_flists(conn_t *conn
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c574 conn_t *connp = sctp->sctp_connp;
714 conn_t *connp = sctp->sctp_connp;
789 conn_t conn_t; local
792 if (mdb_vread(&conn_t, sizeof (conn_t),
794 mdb_warn("failed to read conn_t V4");
799 mdb_nhconvert(&port, &conn_t.conn_lport, sizeof (port));
800 mdb_printf("AF_INET %I %d ", conn_t.conn_laddr_v4, port);
806 if (IPCL_IS_TCP(&conn_t)
819 conn_t conn_t; local
[all...]
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c125 static int udp_build_hdr_template(conn_t *, const in6_addr_t *,
129 static void udp_close_free(conn_t *);
143 static void udp_icmp_error_ipv6(conn_t *connp, mblk_t *mp,
156 int udp_opt_set(conn_t *connp, uint_t optset_context,
160 int udp_opt_get(conn_t *connp, int level, int name,
162 static int udp_output_connected(conn_t *connp, mblk_t *mp, cred_t *cr,
164 static int udp_output_lastdst(conn_t *connp, mblk_t *mp, cred_t *cr,
166 static int udp_output_newdst(conn_t *connp, mblk_t *data_mp, sin_t *sin,
169 static mblk_t *udp_prepend_hdr(conn_t *, ip_xmit_attr_t *, const ip_pkt_t *,
172 static mblk_t *udp_prepend_header_template(conn_t *, ip_xmit_attr_
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_l2t.h68 struct l2t_entry *t4_l2t_get(struct port_info *pi, conn_t *connp);
/illumos-gate/usr/src/uts/common/sys/tsol/
H A Dtnet.h69 ip_recv_attr_t *, const conn_t *);
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_bind.c64 conn_t *connp = sctp->sctp_connp;
129 conn_t *connp = sctp->sctp_connp;
232 conn_t *connp = sctp->sctp_connp;
341 conn_t *connp = sctp->sctp_connp;
465 conn_t *connp = sctp->sctp_connp;
548 conn_t *connp = sctp->sctp_connp;
598 conn_t *lconnp = lsctp->sctp_connp;

Completed in 171 milliseconds

1234