diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-10-15 23:35:43 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-10-15 23:35:43 +0000 |
commit | 825466e44c9a56a7b16f4d3eb0fa1212ff7f0a70 (patch) | |
tree | 1bfd32e17b04d173d1ef837a8713504a4c4d3092 | |
parent | af15a7c0ea97a90742c6bc9d032f3a2bbfec42eb (diff) |
c++ friendly, sync w/kame. pvalchev ok
-rw-r--r-- | sys/netinet6/in6_var.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/netinet6/in6_var.h b/sys/netinet6/in6_var.h index cd27737b9a2..c4d42d54011 100644 --- a/sys/netinet6/in6_var.h +++ b/sys/netinet6/in6_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_var.h,v 1.21 2003/06/02 23:28:15 millert Exp $ */ +/* $OpenBSD: in6_var.h,v 1.22 2003/10/15 23:35:42 itojun Exp $ */ /* $KAME: in6_var.h,v 1.55 2001/02/16 12:49:45 itojun Exp $ */ /* @@ -271,13 +271,15 @@ struct in6_aliasreq { * prefix related flags passed between kernel(NDP related part) and * user land command(ifconfig) and daemon(rtadvd). */ +struct prf_ra { + u_char onlink : 1; + u_char autonomous : 1; + u_char router : 1; + u_char reserved : 5; +}; + struct in6_prflags { - struct prf_ra { - u_char onlink : 1; - u_char autonomous : 1; - u_char router : 1; - u_char reserved : 5; - } prf_ra; + struct prf_ra prf_ra; u_char prf_reserved1; u_short prf_reserved2; /* want to put this on 4byte offset */ |