Home
last modified time | relevance | path

Searched refs:tcp_conn (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/lib/libc/rpc/
Dsvc_tcp.c100 struct tcp_conn { /* kept in xprt->xp_p1 */ struct
201 struct tcp_conn *cd; in makefd_xprt()
206 cd = (struct tcp_conn *)mem_alloc(sizeof(struct tcp_conn)); in makefd_xprt()
304 struct tcp_conn *cd = (struct tcp_conn *)xprt->xp_p1; in svctcp_destroy()
317 mem_free((caddr_t)cd, sizeof(struct tcp_conn)); in svctcp_destroy()
367 ((struct tcp_conn *)(xprt->xp_p1))->strm_stat = XPRT_DIED; in readtcp()
382 ((struct tcp_conn *)(xprt->xp_p1))->strm_stat = in writetcp()
393 struct tcp_conn *cd = in svctcp_stat()
394 (struct tcp_conn *)(xprt->xp_p1); in svctcp_stat()
406 struct tcp_conn *cd = in svctcp_recv()
[all …]
/openbsd/src/usr.sbin/ldpd/
Dldpe.h62 struct tcp_conn { struct
72 struct tcp_conn *tcp; argument
171 void send_notification_full(struct tcp_conn *, struct notify_msg *);
172 void send_notification(struct tcp_conn *, uint32_t, uint32_t, uint16_t);
275 struct tcp_conn *tcp_new(int, struct nbr *);
Dpacket.c40 static void tcp_close(struct tcp_conn *);
425 struct tcp_conn *tcp = nbr->tcp; in session_read()
595 struct tcp_conn *tcp = arg; in session_write()
682 struct tcp_conn *
685 struct tcp_conn *tcp; in tcp_new()
707 tcp_close(struct tcp_conn *tcp) in tcp_close()
775 struct tcp_conn *tcp; in pending_conn_timeout()
Dnotification.c32 send_notification_full(struct tcp_conn *tcp, struct notify_msg *nm) in send_notification_full()
77 send_notification(struct tcp_conn *tcp, uint32_t status_code, uint32_t msg_id, in send_notification()
/openbsd/src/usr.sbin/nsd/
Dxfrd-tcp.c611 conn = zone->tcp_conn; in xfrd_tcp_pipe_stop()
612 zone->tcp_conn = -1; in xfrd_tcp_pipe_stop()
716 assert(zone->tcp_conn == -1); in xfrd_tcp_obtain()
726 zone->tcp_conn = i; in xfrd_tcp_obtain()
731 if (zone->tcp_conn < 0) { in xfrd_tcp_obtain()
735 tp = set->tcp_state[zone->tcp_conn]; in xfrd_tcp_obtain()
743 zone->tcp_conn = -1; in xfrd_tcp_obtain()
765 zone->tcp_conn = i; in xfrd_tcp_obtain()
796 assert(zone->tcp_conn != -1); in xfrd_tcp_open()
970 assert(zone->tcp_conn != -1); in xfrd_tcp_setup_write_packet()
[all …]
Dxfrd.c517 xzone->tcp_conn = -1; in xfrd_init_slave_zone()
1009 if(z->tcp_conn != -1) { in xfrd_del_slave_zone()
1111 if(zone->tcp_conn != -1) { in xfrd_handle_zone()
1132 assert(zone->tcp_conn == -1); in xfrd_handle_zone()
1168 if(zone->zone_handler.ev_fd == -1 && zone->tcp_conn == -1) { in xfrd_handle_zone()
1286 if(zone->tcp_conn != -1) { in xfrd_udp_obtain()
1616 if(wz->tcp_conn == -1) { in xfrd_udp_release()
1889 if(zone->tcp_conn != -1) { in xfrd_send_ixfr_request_udp()
2200 if(zone->tcp_conn == -1 && TC(packet)) { in xfrd_parse_received_xfr_packet()
2308 if(zone->tcp_conn == -1 && TC(packet)) { in xfrd_parse_received_xfr_packet()
[all …]
Dxfrd.h199 int tcp_conn; member
Dremote.c981 if(zone->tcp_conn != -1) in force_transfer_zone()
1149 } else if(xz->zone_handler.ev_fd != -1 && xz->tcp_conn == -1) { in print_zonestatus()
1159 } else if(xz->tcp_conn != -1) { in print_zonestatus()
1775 if(xz->tcp_conn != -1) { in repat_interrupt_zones()