Home
last modified time | relevance | path

Searched refs:mproc (Results 1 – 18 of 18) sorted by relevance

/openbsd/usr.sbin/smtpd/
H A Dmproc.c68 mproc_init(struct mproc *p, int fd) in mproc_init()
74 mproc_clear(struct mproc *p) in mproc_clear()
85 mproc_enable(struct mproc *p) in mproc_enable()
97 mproc_disable(struct mproc *p) in mproc_disable()
109 mproc_event_add(struct mproc *p) in mproc_event_add()
134 struct mproc *p = arg; in mproc_dispatch()
324 m_close(struct mproc *p) in m_close()
340 m_flush(struct mproc *p) in m_flush()
405 m_add_int(struct mproc *m, int v) in m_add_int()
423 m_add_time(struct mproc *m, time_t v) in m_add_time()
[all …]
H A Dsmtpd.h975 struct mproc { struct
1007 extern struct mproc *p_control; argument
1008 extern struct mproc *p_parent;
1009 extern struct mproc *p_lka;
1010 extern struct mproc *p_queue;
1011 extern struct mproc *p_scheduler;
1012 extern struct mproc *p_dispatcher;
1013 extern struct mproc *p_ca;
1446 void mproc_clear(struct mproc *);
1470 void m_close(struct mproc *);
[all …]
H A Dcontrol.c41 struct mproc mproc; member
51 static void control_imsg(struct mproc *, struct imsg *);
72 control_imsg(struct mproc *p, struct imsg *imsg) in control_imsg()
103 m_forward(&c->mproc, imsg); in control_imsg()
325 c->mproc.proc = PROC_CLIENT; in control_accept()
326 c->mproc.handler = control_dispatch_ext; in control_accept()
327 c->mproc.data = c; in control_accept()
328 if ((c->mproc.name = strdup(proc_title(c->mproc.proc))) == NULL) in control_accept()
330 mproc_init(&c->mproc, connfd); in control_accept()
331 mproc_enable(&c->mproc); in control_accept()
[all …]
H A Ddispatcher.c26 void mda_imsg(struct mproc *, struct imsg *);
27 void mta_imsg(struct mproc *, struct imsg *);
28 void smtp_imsg(struct mproc *, struct imsg *);
33 dispatcher_imsg(struct mproc *p, struct imsg *imsg) in dispatcher_imsg()
H A Dsmtpd.c63 static void setup_peers(struct mproc *, struct mproc *);
125 struct mproc *p_lka = NULL;
126 struct mproc *p_parent = NULL;
127 struct mproc *p_queue = NULL;
130 struct mproc *p_ca = NULL;
792 static struct mproc *
795 struct mproc *p; in start_child()
847 setup_peers(struct mproc *a, struct mproc *b) in setup_peers()
871 setup_done(struct mproc *p) in setup_done()
941 static struct mproc *
[all …]
H A Dresolver.c45 struct mproc *proc;
150 resolver_dispatch_request(struct mproc *proc, struct imsg *imsg) in resolver_dispatch_request()
300 resolver_dispatch_result(struct mproc *proc, struct imsg *imsg) in resolver_dispatch_result()
H A Ddns.c40 struct mproc *p;
101 dns_imsg(struct mproc *p, struct imsg *imsg) in dns_imsg()
H A Dscheduler.c30 static void scheduler_imsg(struct mproc *, struct imsg *);
46 scheduler_imsg(struct mproc *p, struct imsg *imsg) in scheduler_imsg()
H A Dqueue.c32 static void queue_imsg(struct mproc *, struct imsg *);
41 queue_imsg(struct mproc *p, struct imsg *imsg) in queue_imsg()
H A Dsmtp.c61 smtp_imsg(struct mproc *p, struct imsg *imsg) in smtp_imsg()
H A Dlka.c32 static void lka_imsg(struct mproc *, struct imsg *);
47 lka_imsg(struct mproc *p, struct imsg *imsg) in lka_imsg()
H A Dconfig.c305 struct mproc *p; in config_peer()
H A Dca.c174 ca_imsg(struct mproc *p, struct imsg *imsg) in ca_imsg()
H A Dmta.c74 static void mta_relay_show(struct mta_relay *, struct mproc *, uint32_t, time_t);
173 mta_imsg(struct mproc *p, struct imsg *imsg) in mta_imsg()
1999 mta_relay_show(struct mta_relay *r, struct mproc *p, uint32_t id, time_t t) in mta_relay_show()
H A Dmda.c103 mda_imsg(struct mproc *p, struct imsg *imsg) in mda_imsg()
H A Dmta_session.c266 mta_session_imsg(struct mproc *p, struct imsg *imsg) in mta_session_imsg()
H A Dsmtp_session.c695 smtp_session_imsg(struct mproc *p, struct imsg *imsg) in smtp_session_imsg()
/openbsd/usr.sbin/smtpd/smtpd/
H A DMakefile33 SRCS+= mproc.c