Documentation

Documentation

Includes

netif/ppp/ppp_opts.h

#include "netif/ppp/ppp_opts.h"
#include "netif/ppp/ppp_opts.h"

eui64.h

#include "eui64.h"
#include "eui64.h"

Macros

Marco IPV6CP_H

#define IPV6CP_H


      

Marco CI_IFACEID

#define CI_IFACEID 1 /* Interface Identifier */
/*
 * Options.
 */

Marco CI_COMPRESSTYPE

#define CI_COMPRESSTYPE 2 /* Compression Type     */

      

Functions

Vars

Consts

Types

Typedefs

Typedef ipv6cp_options;

typedef struct ipv6cp_options {
   unsigned int neg_ifaceid   :1; /* Negotiate interface identifier? */
   unsigned int req_ifaceid   :1; /* Ask peer to send interface identifier? */
   unsigned int accept_local  :1; /* accept peer's value for iface id? */
   unsigned int opt_local     :1; /* ourtoken set by option */
   unsigned int opt_remote    :1; /* histoken set by option */
   unsigned int use_ip        :1; /* use IP as interface identifier */
#if 0
   unsigned int use_persistent :1; /* use uniquely persistent value for address */
#endif
#ifdef IPV6CP_COMP
   unsigned int neg_vj        :1; /* Van Jacobson Compression? */
#endif /* IPV6CP_COMP */

#ifdef IPV6CP_COMP
   u_short vj_protocol;       /* protocol value to use in VJ option */
#endif /* IPV6CP_COMP */
   eui64_t ourid, hisid;      /* Interface identifiers */
} ipv6cp_options;
/* No compression types yet defined.
 *#define IPV6CP_COMP	0x004f
 */