diff options
author | remi <remi@openbsd.org> | 2018-07-12 13:45:03 +0000 |
---|---|---|
committer | remi <remi@openbsd.org> | 2018-07-12 13:45:03 +0000 |
commit | 5d393f89df4eea79e7642c10962031cfb716a811 (patch) | |
tree | 30b6dff64934a86127c8ef29b6b2d1c14a375e5c /usr.sbin/ospf6d/ospf6d.h | |
parent | Remove cases for 1-bit and 4-bit color depths in efifb_ioctl(), as we (diff) | |
download | wireguard-openbsd-5d393f89df4eea79e7642c10962031cfb716a811.tar.xz wireguard-openbsd-5d393f89df4eea79e7642c10962031cfb716a811.zip |
Add support for rdomains.
small quirk from tb@
ok phessler@
Diffstat (limited to 'usr.sbin/ospf6d/ospf6d.h')
-rw-r--r-- | usr.sbin/ospf6d/ospf6d.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ospf6d/ospf6d.h b/usr.sbin/ospf6d/ospf6d.h index 38314e2992c..25972892395 100644 --- a/usr.sbin/ospf6d/ospf6d.h +++ b/usr.sbin/ospf6d/ospf6d.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6d.h,v 1.36 2018/07/12 12:19:05 remi Exp $ */ +/* $OpenBSD: ospf6d.h,v 1.37 2018/07/12 13:45:03 remi Exp $ */ /* * Copyright (c) 2004, 2007 Esben Norby <norby@openbsd.org> @@ -312,6 +312,7 @@ struct iface { u_int32_t ls_ack_cnt; time_t uptime; unsigned int ifindex; + u_int rdomain; int fd; int state; int mtu; @@ -384,6 +385,7 @@ struct ospfd_conf { int flags; u_int8_t border; u_int8_t redistribute; + u_int rdomain; char *csock; }; @@ -525,7 +527,7 @@ struct iface *if_find(unsigned int); struct iface *if_findname(char *); struct iface *if_new(u_short, char *); void if_update(struct iface *, int, int, u_int8_t, u_int8_t, - u_int64_t); + u_int64_t, u_int32_t); /* in_cksum.c */ u_int16_t in_cksum(void *, size_t); @@ -534,7 +536,7 @@ u_int16_t in_cksum(void *, size_t); u_int16_t iso_cksum(void *, u_int16_t, u_int16_t); /* kroute.c */ -int kr_init(int); +int kr_init(int, u_int); int kr_change(struct kroute *, int); int kr_delete(struct kroute *); void kr_shutdown(void); |