Lines Matching refs:conn_t
100 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_t *, uint_t);
155 static conn_t *rawip_do_open(int, cred_t *, int *, int);
156 static void rawip_do_close(conn_t *);
157 static int rawip_do_bind(conn_t *, struct sockaddr *, socklen_t);
158 static int rawip_do_unbind(conn_t *);
159 static int rawip_do_connect(conn_t *, const struct sockaddr *, socklen_t,
304 * the conn_t in the fanout table.
317 conn_t *connp = Q_TO_CONN(q);
420 rawip_do_bind(conn_t *connp, struct sockaddr *sa, socklen_t len)
595 conn_t *connp = icmp->icmp_connp;
619 conn_t *connp = Q_TO_CONN(q);
716 rawip_do_connect(conn_t *connp, const struct sockaddr *sa, socklen_t len,
948 rawip_do_close(conn_t *connp)
985 conn_t *connp;
1005 icmp_close_free(conn_t *connp)
1031 icmp_do_disconnect(conn_t *connp)
1066 conn_t *connp = Q_TO_CONN(q);
1096 icmp_disconnect(conn_t *connp)
1143 conn_t *connp = (conn_t *)arg1;
1271 icmp_icmp_error_ipv6(conn_t *connp, mblk_t *mp, ip_recv_attr_t *ira)
1448 conn_t *connp = icmp->icmp_connp;
1505 conn_t *connp = icmp->icmp_connp;
1579 conn_t *connp;
1664 static conn_t *
1668 conn_t *connp;
1708 * Since this conn_t/icmp_t is not yet visible to anybody else we don't
1857 icmp_opt_get(conn_t *connp, int level, int name, uchar_t *ptr)
1960 conn_t *connp = Q_TO_CONN(q);
1974 conn_t *connp = coa->coa_connp;
2170 icmp_opt_set(conn_t *connp, uint_t optset_context, int level, int name,
2361 conn_t *connp = Q_TO_CONN(q);
2376 icmp_prepend_hdr(conn_t *connp, ip_xmit_attr_t *ixa, const ip_pkt_t *ipp,
2458 icmp_build_hdr_template(conn_t *connp, const in6_addr_t *v6src,
2512 icmp_ulp_recv(conn_t *connp, mblk_t *mp, uint_t len)
2559 conn_t *connp = (conn_t *)arg1;
2845 conn_t *connp = Q_TO_CONN(q);
2936 rawip_do_unbind(conn_t *connp)
2973 conn_t *connp = Q_TO_CONN(q);
3013 icmp_output_hdrincl(conn_t *connp, mblk_t *mp, cred_t *cr, pid_t pid)
3306 icmp_output_attach_policy(mblk_t *mp, conn_t *connp, ip_xmit_attr_t *ixa)
3332 icmp_output_ancillary(conn_t *connp, sin_t *sin, sin6_t *sin6, mblk_t *mp,
3651 icmp_output_connected(conn_t *connp, mblk_t *mp, cred_t *cr, pid_t pid)
3773 /* Done with conn_t */
3811 icmp_output_lastdst(conn_t *connp, mblk_t *mp, cred_t *cr, pid_t pid,
3925 /* Done with conn_t */
3978 icmp_prepend_header_template(conn_t *connp, ip_xmit_attr_t *ixa, mblk_t *mp,
4125 conn_t *connp = Q_TO_CONN(q);
4375 icmp_output_newdst(conn_t *connp, mblk_t *data_mp, sin_t *sin, sin6_t *sin6,
4631 /* Done with conn_t */
4716 conn_t *connp = Q_TO_CONN(q);
4872 conn_t *connp = Q_TO_CONN(q);
5112 conn_t *connp = (conn_t *)proto_handle;
5134 rawip_implicit_bind(conn_t *connp)
5163 rawip_unbind(conn_t *connp)
5185 conn_t *connp = (conn_t *)proto_handle;
5252 conn_t *connp = (conn_t *)proto_handle;
5356 conn_t *connp;
5385 conn_t *connp = (conn_t *)proto_handle;
5415 conn_t *connp = (conn_t *)proto_handle;
5436 conn_t *connp = (conn_t *)proto_handle;
5452 conn_t *connp = (conn_t *)proto_handle;
5487 conn_t *connp = (conn_t *)proto_handle;
5530 conn_t *connp = (conn_t *)proto_handle;
5543 conn_t *connp = (conn_t *)proto_handle;
5562 conn_t *connp = (conn_t *)proto_handle;
5574 conn_t *connp = (conn_t *)proto_handle;
5582 * ip_create_helper_stream takes care of locking the conn_t,
5629 conn_t *connp = (conn_t *)proto_handle;