summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/if.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-01-21 15:42:37 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-01-21 15:42:37 +0000
commit0fa01991e398bc3934a8283ee5758f4f07458cd4 (patch)
treed9c1a3cb5a6a1e77bda72cbf517a7b78414d4d94 /usr.sbin/rtadvd/if.h
parentff39e4b9b57cd27df5b71896ea8d982696b72cb4 (diff)
sync router renumbering flag bit to conform to 2292bis-02 and RR RFC.
sync with latest kame rtadvd (again). mostly cosmetic.
Diffstat (limited to 'usr.sbin/rtadvd/if.h')
-rw-r--r--usr.sbin/rtadvd/if.h37
1 files changed, 18 insertions, 19 deletions
diff --git a/usr.sbin/rtadvd/if.h b/usr.sbin/rtadvd/if.h
index 9112cc8ef75..67e79483912 100644
--- a/usr.sbin/rtadvd/if.h
+++ b/usr.sbin/rtadvd/if.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: if.h,v 1.6 2001/01/21 15:11:18 itojun Exp $ */
-/* $KAME: if.h,v 1.5 2001/01/19 03:07:18 itojun Exp $ */
+/* $OpenBSD: if.h,v 1.7 2001/01/21 15:42:36 itojun Exp $ */
+/* $KAME: if.h,v 1.6 2001/01/21 15:37:14 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
@@ -37,23 +37,22 @@ extern size_t ifblock_size;
extern char *ifblock;
struct nd_opt_hdr;
-struct sockaddr_dl *if_nametosdl __P((char *name));
-int if_getmtu __P((char *name));
-int if_getflags __P((int ifindex, int oifflags));
-int lladdropt_length __P((struct sockaddr_dl *sdl));
-void lladdropt_fill __P((struct sockaddr_dl *sdl, struct nd_opt_hdr *ndopt));
+struct sockaddr_dl *if_nametosdl __P((char *));
+int if_getmtu __P((char *));
+int if_getflags __P((int, int));
+int lladdropt_length __P((struct sockaddr_dl *));
+void lladdropt_fill __P((struct sockaddr_dl *, struct nd_opt_hdr *));
int rtbuf_len __P((void));
-char *get_next_msg __P((char *buf, char *lim, int ifindex, size_t *lenp,
- int filter));
-struct in6_addr *get_addr __P((char *buf));
-int get_rtm_ifindex __P((char *buf));
-int get_ifm_ifindex __P((char *buf));
-int get_ifam_ifindex __P((char *buf));
-int get_ifm_flags __P((char *buf));
-int get_prefixlen __P((char *buf));
+char *get_next_msg __P((char *, char *, int, size_t *, int));
+struct in6_addr *get_addr __P((char *));
+int get_rtm_ifindex __P((char *));
+int get_ifm_ifindex __P((char *));
+int get_ifam_ifindex __P((char *));
+int get_ifm_flags __P((char *));
+int get_prefixlen __P((char *));
int prefixlen __P((u_char *, u_char *));
-int rtmsg_type __P((char *buf));
-int ifmsg_type __P((char *buf));
-int rtmsg_len __P((char *buf));
-int ifmsg_len __P((char *buf));
+int rtmsg_type __P((char *));
+int ifmsg_type __P((char *));
+int rtmsg_len __P((char *));
+int ifmsg_len __P((char *));
void init_iflist __P((void));