diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-02-10 05:24:49 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-02-10 05:24:49 +0000 |
commit | 95e40724d331550a7461fa4662213cba6ae0c535 (patch) | |
tree | 9362b1659d8bb70caf65ba4e263e391a78506111 /usr.sbin/ospfd/control.h | |
parent | b4218cc65b63357cc69f467f1f4fdf296f0fe118 (diff) |
Convert ospfd over to SOCK_CLOEXEC | SOCK_NONBLOCK and make the route
socket non-blocking. Introduce the same trigger for partial rt msgs.
Diffstat (limited to 'usr.sbin/ospfd/control.h')
-rw-r--r-- | usr.sbin/ospfd/control.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.sbin/ospfd/control.h b/usr.sbin/ospfd/control.h index 8f70ef63ebc..27abc2278b6 100644 --- a/usr.sbin/ospfd/control.h +++ b/usr.sbin/ospfd/control.h @@ -1,4 +1,4 @@ -/* $OpenBSD: control.h,v 1.5 2012/04/10 07:56:54 deraadt Exp $ */ +/* $OpenBSD: control.h,v 1.6 2015/02/10 05:24:48 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -29,11 +29,6 @@ struct { int fd; } control_state; -enum blockmodes { - BM_NORMAL, - BM_NONBLOCK -}; - struct ctl_conn { TAILQ_ENTRY(ctl_conn) entry; struct imsgev iev; @@ -46,6 +41,4 @@ void control_dispatch_imsg(int, short, void *); int control_imsg_relay(struct imsg *); void control_cleanup(char *); -void session_socket_blockmode(int, enum blockmodes); - #endif /* _CONTROL_H_ */ |