Home
last modified time | relevance | path

Searched refs:ctl_conns (Results 1 – 17 of 17) sorted by relevance

/dports/net/frr7-pythontools/frr-frr-7.5.1/ldpd/
H A Dcontrol.h28 TAILQ_HEAD(ctl_conns, ctl_conn);
30 extern struct ctl_conns ctl_conns;
H A Dcontrol.c35 struct ctl_conns ctl_conns; variable
142 TAILQ_INSERT_TAIL(&ctl_conns, c, entry); in control_accept()
152 TAILQ_FOREACH(c, &ctl_conns, entry) { in control_connbyfd()
165 TAILQ_FOREACH(c, &ctl_conns, entry) { in control_connbypid()
184 TAILQ_REMOVE(&ctl_conns, c, entry); in control_close()
H A Dldpe.c163 TAILQ_INIT(&ctl_conns); in ldpe_init()
/dports/net/frr7/frr-frr-7.5.1/ldpd/
H A Dcontrol.h28 TAILQ_HEAD(ctl_conns, ctl_conn);
30 extern struct ctl_conns ctl_conns;
H A Dcontrol.c35 struct ctl_conns ctl_conns; variable
142 TAILQ_INSERT_TAIL(&ctl_conns, c, entry); in control_accept()
152 TAILQ_FOREACH(c, &ctl_conns, entry) { in control_connbyfd()
165 TAILQ_FOREACH(c, &ctl_conns, entry) { in control_connbypid()
184 TAILQ_REMOVE(&ctl_conns, c, entry); in control_close()
H A Dldpe.c163 TAILQ_INIT(&ctl_conns); in ldpe_init()
/dports/www/obhttpd/httpd-7.0.20211221/src/usr.sbin/httpd/
H A Dcontrol.c38 struct ctl_connlist ctl_conns = TAILQ_HEAD_INITIALIZER(ctl_conns); variable
177 TAILQ_INSERT_TAIL(&ctl_conns, c, entry); in control_accept()
185 TAILQ_FOREACH(c, &ctl_conns, entry) { in control_connbyfd()
204 TAILQ_REMOVE(&ctl_conns, c, entry); in control_close()
312 TAILQ_FOREACH(c, &ctl_conns, entry) in control_imsg_forward()
/dports/net/openbgpd6/openbgpd-6.9p0/src/bgpd/
H A Dcontrol.c32 TAILQ_HEAD(ctl_conns, ctl_conn) ctl_conns = TAILQ_HEAD_INITIALIZER(ctl_conns);
147 TAILQ_FOREACH(ctl_conn, &ctl_conns, entry) { in control_fill_pfds()
187 TAILQ_INSERT_TAIL(&ctl_conns, ctl_conn, entry); in control_accept()
197 TAILQ_FOREACH(c, &ctl_conns, entry) { in control_connbyfd()
210 TAILQ_FOREACH(c, &ctl_conns, entry) { in control_connbypid()
225 TAILQ_REMOVE(&ctl_conns, c, entry); in control_close()
/dports/mail/opensmtpd/opensmtpd-6.8.0p2/usr.sbin/smtpd/
H A Dcontrol.c77 static struct tree ctl_conns; variable
112 c = tree_get(&ctl_conns, imsg->hdr.peerid); in control_imsg()
120 c = tree_get(&ctl_conns, imsg->hdr.peerid); in control_imsg()
244 tree_init(&ctl_conns); in control()
339 } while (tree_get(&ctl_conns, connid)); in control_accept()
352 tree_xset(&ctl_conns, c->id, c); in control_accept()
373 tree_xpop(&ctl_conns, c->id); in control_close()
/dports/net/openntpd/openntpd-6.8p1/src/
H A Dntpd.h311 TAILQ_HEAD(ctl_conns, ctl_conn) ;
356 extern struct ctl_conns ctl_conns;
H A Dcontrol.c154 TAILQ_INSERT_TAIL(&ctl_conns, ctl_conn, entry); in control_accept()
164 TAILQ_FOREACH(c, &ctl_conns, entry) { in control_connbyfd()
183 TAILQ_REMOVE(&ctl_conns, c, entry); in control_close()
H A Dntp.c47 struct ctl_conns ctl_conns; variable
193 TAILQ_INIT(&ctl_conns); in ntp_main()
339 TAILQ_FOREACH(cc, &ctl_conns, entry) { in ntp_main()
/dports/net/openmdns/mdnsd-0.7/mdnsd/
H A Dmdnsd.c48 ctl_conns_t ctl_conns; variable
357 TAILQ_INIT(&ctl_conns); in main()
H A Dcontrol.c579 TAILQ_INSERT_TAIL(&ctl_conns, c, entry); in control_accept()
587 for (c = TAILQ_FIRST(&ctl_conns); c != NULL && c->iev.ibuf.fd != fd; in control_connbyfd()
599 for (c = TAILQ_FIRST(&ctl_conns); c != NULL && c->iev.ibuf.pid != pid; in control_connbypid()
618 TAILQ_REMOVE(&ctl_conns, c, entry); in control_close()
H A Dmdnsd.h403 typedef TAILQ_HEAD(ctl_conns, ctl_conn) ctl_conns_t;
404 extern ctl_conns_t ctl_conns;
H A Dmdns.c631 TAILQ_FOREACH(c, &ctl_conns, entry) { in rr_notify_in()
707 TAILQ_FOREACH(c, &ctl_conns, entry) { in rr_notify_out()
/dports/www/obhttpd/httpd-7.0.20211221/
H A DChangeLog1619 of ctl_conns TAILQ with TAILQ_FOREACH().