/openbsd/usr.sbin/smtpd/ |
H A D | mproc.c | 68 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 D | smtpd.h | 975 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 D | control.c | 41 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 D | dispatcher.c | 26 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 D | smtpd.c | 63 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 D | resolver.c | 45 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 D | dns.c | 40 struct mproc *p; 101 dns_imsg(struct mproc *p, struct imsg *imsg) in dns_imsg()
|
H A D | scheduler.c | 30 static void scheduler_imsg(struct mproc *, struct imsg *); 46 scheduler_imsg(struct mproc *p, struct imsg *imsg) in scheduler_imsg()
|
H A D | queue.c | 32 static void queue_imsg(struct mproc *, struct imsg *); 41 queue_imsg(struct mproc *p, struct imsg *imsg) in queue_imsg()
|
H A D | smtp.c | 61 smtp_imsg(struct mproc *p, struct imsg *imsg) in smtp_imsg()
|
H A D | lka.c | 32 static void lka_imsg(struct mproc *, struct imsg *); 47 lka_imsg(struct mproc *p, struct imsg *imsg) in lka_imsg()
|
H A D | config.c | 305 struct mproc *p; in config_peer()
|
H A D | ca.c | 174 ca_imsg(struct mproc *p, struct imsg *imsg) in ca_imsg()
|
H A D | mta.c | 74 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 D | mda.c | 103 mda_imsg(struct mproc *p, struct imsg *imsg) in mda_imsg()
|
H A D | mta_session.c | 266 mta_session_imsg(struct mproc *p, struct imsg *imsg) in mta_session_imsg()
|
H A D | smtp_session.c | 695 smtp_session_imsg(struct mproc *p, struct imsg *imsg) in smtp_session_imsg()
|
/openbsd/usr.sbin/smtpd/smtpd/ |
H A D | Makefile | 33 SRCS+= mproc.c
|