version 1.1.1.1, 2012/02/21 17:26:11
|
version 1.1.1.3, 2013/07/21 23:54:41
|
Line 26
|
Line 26
|
#include "vty.h" |
#include "vty.h" |
#include "zebra/interface.h" |
#include "zebra/interface.h" |
|
|
|
/* NB: RTADV is defined in zebra/interface.h above */ |
|
#ifdef RTADV |
|
|
/* Router advertisement prefix. */ |
/* Router advertisement prefix. */ |
struct rtadv_prefix |
struct rtadv_prefix |
{ |
{ |
/* Prefix to be advertised. */ |
/* Prefix to be advertised. */ |
struct prefix prefix; | struct prefix_ipv6 prefix; |
|
|
/* The value to be placed in the Valid Lifetime in the Prefix */ |
/* The value to be placed in the Valid Lifetime in the Prefix */ |
u_int32_t AdvValidLifetime; |
u_int32_t AdvValidLifetime; |
Line 47 struct rtadv_prefix
|
Line 50 struct rtadv_prefix
|
/* The value to be placed in the Autonomous Flag. */ |
/* The value to be placed in the Autonomous Flag. */ |
int AdvAutonomousFlag; |
int AdvAutonomousFlag; |
|
|
/* The value to be placed in the Router Address Flag (RFC3775 7.2). */ | /* The value to be placed in the Router Address Flag [RFC6275 7.2]. */ |
int AdvRouterAddressFlag; |
int AdvRouterAddressFlag; |
#ifndef ND_OPT_PI_FLAG_RADDR |
#ifndef ND_OPT_PI_FLAG_RADDR |
#define ND_OPT_PI_FLAG_RADDR 0x20 |
#define ND_OPT_PI_FLAG_RADDR 0x20 |
Line 58 struct rtadv_prefix
|
Line 61 struct rtadv_prefix
|
extern void rtadv_config_write (struct vty *, struct interface *); |
extern void rtadv_config_write (struct vty *, struct interface *); |
extern void rtadv_init (void); |
extern void rtadv_init (void); |
|
|
/* draft-ietf-mip6-mipext-advapi-03 */ | /* RFC4584 Extension to Sockets API for Mobile IPv6 */ |
|
|
#ifndef ND_OPT_ADV_INTERVAL |
#ifndef ND_OPT_ADV_INTERVAL |
#define ND_OPT_ADV_INTERVAL 7 /* Adv Interval Option */ |
#define ND_OPT_ADV_INTERVAL 7 /* Adv Interval Option */ |
Line 95 struct nd_opt_homeagent_info { /* Home Agent info */
|
Line 98 struct nd_opt_homeagent_info { /* Home Agent info */
|
#endif |
#endif |
|
|
extern const char *rtadv_pref_strs[]; |
extern const char *rtadv_pref_strs[]; |
|
|
|
#endif /* RTADV */ |
|
|
#endif /* _ZEBRA_RTADV_H */ |
#endif /* _ZEBRA_RTADV_H */ |