Lines Matching defs:tl_endpt_t

313  * Each endpoint is represented by the tl_endpt_t structure which keeps all the
547 typedef struct tl_endpt tl_endpt_t;
549 typedef void (tlproc_t)(mblk_t *, tl_endpt_t *);
610 tl_endpt_t *_te_oconp; /* conn request pending */
611 tl_endpt_t *_te_conp; /* connected endpt */
619 tl_endpt_t *_te_lastep; /* last dest. endpoint */
620 tl_endpt_t *_te_flowq; /* flow controlled on whom */
831 static void tl_do_proto(mblk_t *, tl_endpt_t *);
832 static void tl_do_ioctl(mblk_t *, tl_endpt_t *);
833 static void tl_do_ioctl_ser(mblk_t *, tl_endpt_t *);
836 static void tl_bind(mblk_t *, tl_endpt_t *);
837 static void tl_bind_ser(mblk_t *, tl_endpt_t *);
839 static void tl_unbind(mblk_t *, tl_endpt_t *);
842 static void tl_conn_req_ser(mblk_t *, tl_endpt_t *);
843 static void tl_conn_res(mblk_t *, tl_endpt_t *);
844 static void tl_discon_req(mblk_t *, tl_endpt_t *);
845 static void tl_capability_req(mblk_t *, tl_endpt_t *);
846 static void tl_info_req_ser(mblk_t *, tl_endpt_t *);
847 static void tl_addr_req_ser(mblk_t *, tl_endpt_t *);
848 static void tl_info_req(mblk_t *, tl_endpt_t *);
849 static void tl_addr_req(mblk_t *, tl_endpt_t *);
850 static void tl_connected_cots_addr_req(mblk_t *, tl_endpt_t *);
851 static void tl_data(mblk_t *, tl_endpt_t *);
852 static void tl_exdata(mblk_t *, tl_endpt_t *);
853 static void tl_ordrel(mblk_t *, tl_endpt_t *);
854 static void tl_unitdata(mblk_t *, tl_endpt_t *);
855 static void tl_unitdata_ser(mblk_t *, tl_endpt_t *);
857 static tl_endpt_t *tl_find_peer(tl_endpt_t *, tl_addr_t *);
858 static tl_endpt_t *tl_sock_find_peer(tl_endpt_t *, struct so_ux_addr *);
859 static boolean_t tl_get_any_addr(tl_endpt_t *, tl_addr_t *);
860 static void tl_cl_backenable(tl_endpt_t *);
861 static void tl_co_unconnect(tl_endpt_t *);
863 static void tl_discon_ind(tl_endpt_t *, uint32_t);
866 static tl_icon_t *tl_icon_find(tl_endpt_t *, t_scalar_t);
867 static void tl_icon_queuemsg(tl_endpt_t *, t_scalar_t, mblk_t *);
868 static boolean_t tl_icon_hasprim(tl_endpt_t *, t_scalar_t, t_scalar_t);
869 static void tl_icon_sendmsgs(tl_endpt_t *, mblk_t **);
878 static void tl_freetip(tl_endpt_t *, tl_icon_t *);
879 static void tl_free(tl_endpt_t *);
886 static void tl_serializer_enter(tl_endpt_t *, tlproc_t, mblk_t *);
887 static void tl_serializer_exit(tl_endpt_t *);
888 static boolean_t tl_noclose(tl_endpt_t *);
889 static void tl_closeok(tl_endpt_t *);
890 static void tl_refhold(tl_endpt_t *);
891 static void tl_refrele(tl_endpt_t *);
894 static void tl_close_ser(mblk_t *, tl_endpt_t *);
895 static void tl_close_finish_ser(mblk_t *, tl_endpt_t *);
896 static void tl_wput_data_ser(mblk_t *, tl_endpt_t *);
897 static void tl_proto_ser(mblk_t *, tl_endpt_t *);
898 static void tl_putq_ser(mblk_t *, tl_endpt_t *);
899 static void tl_wput_common_ser(mblk_t *, tl_endpt_t *);
900 static void tl_wput_ser(mblk_t *, tl_endpt_t *);
901 static void tl_wsrv_ser(mblk_t *, tl_endpt_t *);
902 static void tl_rsrv_ser(mblk_t *, tl_endpt_t *);
903 static void tl_addr_unbind(tl_endpt_t *);
983 tl_cache = kmem_cache_create("tl_cache", sizeof (tl_endpt_t),
1140 tl_refhold(tl_endpt_t *tep)
1146 tl_refrele(tl_endpt_t *tep)
1158 tl_endpt_t *tep = buf;
1160 bzero(tep, sizeof (tl_endpt_t));
1174 tl_endpt_t *tep = buf;
1184 tl_free(tl_endpt_t *tep)
1285 tl_serializer_enter(tl_endpt_t *tep, tlproc_t tlproc, mblk_t *mp)
1300 tl_serializer_exit(tl_endpt_t *tep)
1333 tl_refhold((tl_endpt_t *)val);
1387 tl_noclose(tl_endpt_t *tep)
1405 tl_closeok(tl_endpt_t *tep)
1422 tl_endpt_t *tep;
1478 list_create(&tep->te_flowlist, sizeof (tl_endpt_t),
1479 offsetof(tl_endpt_t, te_flows));
1530 tl_endpt_t *tep = (tl_endpt_t *)rq->q_ptr;
1531 tl_endpt_t *elp = NULL;
1640 tl_close_ser(mblk_t *mp, tl_endpt_t *tep)
1664 tl_endpt_t *peer_tep = tep->te_conp;
1686 tl_close_finish_ser(mblk_t *mp, tl_endpt_t *tep)
1725 tl_endpt_t *tep = (tl_endpt_t *)wq->q_ptr;
1893 tl_putq_ser(mblk_t *mp, tl_endpt_t *tep)
1906 tl_wput_common_ser(mblk_t *mp, tl_endpt_t *tep)
1927 tl_wput_ser(mblk_t *mp, tl_endpt_t *tep)
1938 tl_wput_data_ser(mblk_t *mp, tl_endpt_t *tep)
1940 tl_endpt_t *peer_tep = tep->te_conp;
1995 tl_endpt_t *tep = (tl_endpt_t *)wq->q_ptr;
2023 tl_wsrv_ser(mblk_t *ser_mp, tl_endpt_t *tep)
2066 tl_endpt_t *tep = (tl_endpt_t *)rq->q_ptr;
2086 tl_rsrv_ser(mblk_t *mp, tl_endpt_t *tep)
2088 tl_endpt_t *peer_tep;
2117 tl_do_proto(mblk_t *mp, tl_endpt_t *tep)
2202 tl_do_ioctl_ser(mblk_t *mp, tl_endpt_t *tep)
2214 tl_do_ioctl(mblk_t *mp, tl_endpt_t *tep)
2335 tl_bind_ser(mblk_t *mp, tl_endpt_t *tep)
2351 tl_bind(mblk_t *mp, tl_endpt_t *tep)
2658 tl_unbind(mblk_t *mp, tl_endpt_t *tep)
2737 tl_endpt_t *tep;
2742 tep = (tl_endpt_t *)wq->q_ptr;
2806 tl_endpt_t *tep = (tl_endpt_t *)wq->q_ptr;
2810 tl_endpt_t *peer_tep = NULL;
3045 tl_conn_req_ser(mblk_t *mp, tl_endpt_t *tep)
3048 tl_endpt_t *peer_tep = tep->te_oconp;
3325 tl_conn_res(mblk_t *mp, tl_endpt_t *tep)
3333 tl_endpt_t *acc_ep = NULL, *cl_ep = NULL;
3857 tl_discon_req(mblk_t *mp, tl_endpt_t *tep)
3862 tl_endpt_t *peer_tep = tep->te_conp;
3863 tl_endpt_t *srv_tep = tep->te_oconp;
4173 tl_addr_req_ser(mblk_t *mp, tl_endpt_t *tep)
4185 tl_addr_req(mblk_t *mp, tl_endpt_t *tep)
4255 tl_connected_cots_addr_req(mblk_t *mp, tl_endpt_t *tep)
4257 tl_endpt_t *peer_tep = tep->te_conp;
4312 tl_copy_info(struct T_info_ack *ia, tl_endpt_t *tep)
4331 tl_capability_req(mblk_t *mp, tl_endpt_t *tep)
4371 tl_info_req_ser(mblk_t *mp, tl_endpt_t *tep)
4383 tl_info_req(mblk_t *mp, tl_endpt_t *tep)
4412 tl_data(mblk_t *mp, tl_endpt_t *tep)
4417 tl_endpt_t *peer_tep;
4613 tl_exdata(mblk_t *mp, tl_endpt_t *tep)
4618 tl_endpt_t *peer_tep;
4777 tl_ordrel(mblk_t *mp, tl_endpt_t *tep)
4782 tl_endpt_t *peer_tep;
4906 tl_endpt_t *tep;
4915 tep = (tl_endpt_t *)wq->q_ptr;
4974 tl_unitdata_ser(mblk_t *mp, tl_endpt_t *tep)
4995 tl_unitdata(mblk_t *mp, tl_endpt_t *tep)
5001 tl_endpt_t *peer_tep;
5333 static tl_endpt_t *
5334 tl_find_peer(tl_endpt_t *tep, tl_addr_t *ap)
5336 tl_endpt_t *peer_tep = NULL;
5363 static tl_endpt_t *
5364 tl_sock_find_peer(tl_endpt_t *tep, soux_addr_t *ux_addr)
5366 tl_endpt_t *peer_tep = NULL;
5414 tl_get_any_addr(tl_endpt_t *tep, tl_addr_t *req)
5506 tl_cl_backenable(tl_endpt_t *tep)
5509 tl_endpt_t *elp;
5527 tl_co_unconnect(tl_endpt_t *tep)
5529 tl_endpt_t *peer_tep = tep->te_conp;
5530 tl_endpt_t *srv_tep = tep->te_oconp;
5533 tl_endpt_t *cl_tep;
5736 tl_discon_ind(tl_endpt_t *tep, uint32_t reason)
5809 tl_icon_find(tl_endpt_t *tep, t_scalar_t seqno)
5828 tl_icon_queuemsg(tl_endpt_t *tep, t_scalar_t seqno, mblk_t *nmp)
5880 tl_icon_hasprim(tl_endpt_t *tep, t_scalar_t seqno, t_scalar_t prim)
5900 tl_icon_sendmsgs(tl_endpt_t *tep, mblk_t **mpp)
5982 tl_endpt_t *tep = (tl_endpt_t *)wq->q_ptr;
6082 tl_endpt_t *tep;
6085 tep = (tl_endpt_t *)wq->q_ptr;
6139 tl_endpt_t *tep;
6141 tep = (tl_endpt_t *)wq->q_ptr;
6206 tl_endpt_t *tep = (tl_endpt_t *)wq->q_ptr;
6224 tl_endpt_t *tep = (tl_endpt_t *)wq->q_ptr;
6242 tl_endpt_t *tep;
6244 tep = (tl_endpt_t *)wq->q_ptr;
6267 tl_freetip(tl_endpt_t *tep, tl_icon_t *tip)
6288 tl_addr_unbind(tl_endpt_t *tep)
6290 tl_endpt_t *elp;