in6_var.h File Reference

API published in:
API deprecated in:


Go to the source code of this file.


Data Structures

struct   in6_addrlifetime
struct   in6_ifextra
struct   in6_ifaddr
struct   in6_addrpolicy
struct   in6_ifstat
struct   icmp6_ifstat
struct   in6_ifreq
struct   in6_aliasreq
struct   in6_prflags
struct   in6_prflags::prf_ra
struct   in6_prflags::prf_rr
struct   in6_prefixreq
struct   in6_rrenumreq
struct   in6_rrenumreq::irr_raflagmask
struct   in6_multi_mship
struct   in6_multi

Defines

#define  ia_ifp   ia_ifa.ifa_ifp
#define  ia_flags   ia_ifa.ifa_flags
#define  IN6_PREFIX_ND   1
#define  IN6_PREFIX_RR   2
#define  PR_ORIG_RA   0
#define  PR_ORIG_RR   1
#define  PR_ORIG_STATIC   2
#define  PR_ORIG_KERNEL   3
#define  ipr_raf_onlink   ipr_flags.prf_ra.onlink
#define  ipr_raf_auto   ipr_flags.prf_ra.autonomous
#define  ipr_statef_onlink   ipr_flags.prf_state.onlink
#define  ipr_rrf_decrvalid   ipr_flags.prf_rr.decrvalid
#define  ipr_rrf_decrprefd   ipr_flags.prf_rr.decrprefd
#define  irr_raf_mask_onlink   irr_raflagmask.onlink
#define  irr_raf_mask_auto   irr_raflagmask.autonomous
#define  irr_raf_mask_reserved   irr_raflagmask.reserved
#define  irr_raf_onlink   irr_flags.prf_ra.onlink
#define  irr_raf_auto   irr_flags.prf_ra.autonomous
#define  irr_statef_onlink   irr_flags.prf_state.onlink
#define  irr_rrf   irr_flags.prf_rr
#define  irr_rrf_decrvalid   irr_flags.prf_rr.decrvalid
#define  irr_rrf_decrprefd   irr_flags.prf_rr.decrprefd
#define  IA6_IN6(ia)   (&((ia)->ia_addr.sin6_addr))
#define  IA6_DSTIN6(ia)   (&((ia)->ia_dstaddr.sin6_addr))
#define  IA6_MASKIN6(ia)   (&((ia)->ia_prefixmask.sin6_addr))
#define  IA6_SIN6(ia)   (&((ia)->ia_addr))
#define  IA6_DSTSIN6(ia)   (&((ia)->ia_dstaddr))
#define  IFA_IN6(x)   (&((struct sockaddr_in6 *)((x)->ifa_addr))->sin6_addr)
#define  IFA_DSTIN6(x)   (&((struct sockaddr_in6 *)((x)->ifa_dstaddr))->sin6_addr)
#define  IFPR_IN6(x)   (&((struct sockaddr_in6 *)((x)->ifpr_prefix))->sin6_addr)
#define  SIOCSIFADDR_IN6   _IOW('i', 12, struct in6_ifreq)
#define  SIOCGIFADDR_IN6   _IOWR('i', 33, struct in6_ifreq)
#define  SIOCGIFDSTADDR_IN6   _IOWR('i', 34, struct in6_ifreq)
#define  SIOCGIFNETMASK_IN6   _IOWR('i', 37, struct in6_ifreq)
#define  SIOCDIFADDR_IN6   _IOW('i', 25, struct in6_ifreq)
#define  SIOCAIFADDR_IN6   _IOW('i', 26, struct in6_aliasreq)
#define  SIOCSIFPHYADDR_IN6   _IOW('i', 70, struct in6_aliasreq)
#define  SIOCGIFPSRCADDR_IN6   _IOWR('i', 71, struct in6_ifreq)
#define  SIOCGIFPDSTADDR_IN6   _IOWR('i', 72, struct in6_ifreq)
#define  SIOCGIFAFLAG_IN6   _IOWR('i', 73, struct in6_ifreq)
#define  SIOCGDRLST_IN6   _IOWR('i', 74, struct in6_drlist)
#define  SIOCGIFINFO_IN6   _IOWR('i', 108, struct in6_ndireq)
#define  SIOCSNDFLUSH_IN6   _IOWR('i', 77, struct in6_ifreq)
#define  SIOCGNBRINFO_IN6   _IOWR('i', 78, struct in6_nbrinfo)
#define  SIOCSPFXFLUSH_IN6   _IOWR('i', 79, struct in6_ifreq)
#define  SIOCSRTRFLUSH_IN6   _IOWR('i', 80, struct in6_ifreq)
#define  SIOCGIFALIFETIME_IN6   _IOWR('i', 81, struct in6_ifreq)
#define  SIOCSIFALIFETIME_IN6   _IOWR('i', 82, struct in6_ifreq)
#define  SIOCGIFSTAT_IN6   _IOWR('i', 83, struct in6_ifreq)
#define  SIOCGIFSTAT_ICMP6   _IOWR('i', 84, struct in6_ifreq)
#define  SIOCSDEFIFACE_IN6   _IOWR('i', 85, struct in6_ndifreq)
#define  SIOCGDEFIFACE_IN6   _IOWR('i', 86, struct in6_ndifreq)
#define  SIOCSIFINFO_FLAGS   _IOWR('i', 87, struct in6_ndireq)
#define  SIOCSSCOPE6   _IOW('i', 88, struct in6_ifreq)
#define  SIOCGSCOPE6   _IOWR('i', 89, struct in6_ifreq)
#define  SIOCGSCOPE6DEF   _IOWR('i', 90, struct in6_ifreq)
#define  SIOCSIFPREFIX_IN6   _IOW('i', 100, struct in6_prefixreq)
#define  SIOCGIFPREFIX_IN6   _IOWR('i', 101, struct in6_prefixreq)
#define  SIOCDIFPREFIX_IN6   _IOW('i', 102, struct in6_prefixreq)
#define  SIOCAIFPREFIX_IN6   _IOW('i', 103, struct in6_rrenumreq)
#define  SIOCCIFPREFIX_IN6
#define  SIOCSGIFPREFIX_IN6
#define  SIOCGETSGCNT_IN6
#define  SIOCGETMIFCNT_IN6
#define  SIOCAADDRCTL_POLICY   _IOW('u', 108, struct in6_addrpolicy)
#define  SIOCDADDRCTL_POLICY   _IOW('u', 109, struct in6_addrpolicy)
#define  IN6_IFF_ANYCAST   0x01
#define  IN6_IFF_TENTATIVE   0x02
#define  IN6_IFF_DUPLICATED   0x04
#define  IN6_IFF_DETACHED   0x08
#define  IN6_IFF_DEPRECATED   0x10
#define  IN6_IFF_NODAD   0x20
#define  IN6_IFF_AUTOCONF   0x40
#define  IN6_IFF_TEMPORARY   0x80
#define  IN6_IFF_NOPFX   0x8000
#define  IN6_IFF_NOTREADY   (IN6_IFF_TENTATIVE|IN6_IFF_DUPLICATED)

Define Documentation

#define IA6_DSTIN6 ia   )     (&((ia)->ia_dstaddr.sin6_addr))
 
#define IA6_DSTSIN6 ia   )     (&((ia)->ia_dstaddr))
 
#define IA6_IN6 ia   )     (&((ia)->ia_addr.sin6_addr))
 
#define IA6_MASKIN6 ia   )     (&((ia)->ia_prefixmask.sin6_addr))
 
#define IA6_SIN6 ia   )     (&((ia)->ia_addr))
 
#define ia_flags   ia_ifa.ifa_flags
 
#define ia_ifp   ia_ifa.ifa_ifp
 
#define IFA_DSTIN6  )     (&((struct sockaddr_in6 *)((x)->ifa_dstaddr))->sin6_addr)
 
#define IFA_IN6  )     (&((struct sockaddr_in6 *)((x)->ifa_addr))->sin6_addr)
 
#define IFPR_IN6  )     (&((struct sockaddr_in6 *)((x)->ifpr_prefix))->sin6_addr)
 
#define IN6_IFF_ANYCAST   0x01
 
#define IN6_IFF_AUTOCONF   0x40
 
#define IN6_IFF_DEPRECATED   0x10
 
#define IN6_IFF_DETACHED   0x08
 
#define IN6_IFF_DUPLICATED   0x04
 
#define IN6_IFF_NODAD   0x20
 
#define IN6_IFF_NOPFX   0x8000
 
#define IN6_IFF_NOTREADY   (IN6_IFF_TENTATIVE|IN6_IFF_DUPLICATED)
 
#define IN6_IFF_TEMPORARY   0x80
 
#define IN6_IFF_TENTATIVE   0x02
 
#define IN6_PREFIX_ND   1
 
#define IN6_PREFIX_RR   2
 
#define ipr_raf_auto   ipr_flags.prf_ra.autonomous
 
#define ipr_raf_onlink   ipr_flags.prf_ra.onlink
 
#define ipr_rrf_decrprefd   ipr_flags.prf_rr.decrprefd
 
#define ipr_rrf_decrvalid   ipr_flags.prf_rr.decrvalid
 
#define ipr_statef_onlink   ipr_flags.prf_state.onlink
 
#define irr_raf_auto   irr_flags.prf_ra.autonomous
 
#define irr_raf_mask_auto   irr_raflagmask.autonomous
 
#define irr_raf_mask_onlink   irr_raflagmask.onlink
 
#define irr_raf_mask_reserved   irr_raflagmask.reserved
 
#define irr_raf_onlink   irr_flags.prf_ra.onlink
 
#define irr_rrf   irr_flags.prf_rr
 
#define irr_rrf_decrprefd   irr_flags.prf_rr.decrprefd
 
#define irr_rrf_decrvalid   irr_flags.prf_rr.decrvalid
 
#define irr_statef_onlink   irr_flags.prf_state.onlink
 
#define PR_ORIG_KERNEL   3
 
#define PR_ORIG_RA   0
 
#define PR_ORIG_RR   1
 
#define PR_ORIG_STATIC   2
 
#define SIOCAADDRCTL_POLICY   _IOW('u', 108, struct in6_addrpolicy)
 
#define SIOCAIFADDR_IN6   _IOW('i', 26, struct in6_aliasreq)
 
#define SIOCAIFPREFIX_IN6   _IOW('i', 103, struct in6_rrenumreq)
 
#define SIOCCIFPREFIX_IN6
 

Value:

_IOW('i', 104, \
                                     struct in6_rrenumreq)
#define SIOCDADDRCTL_POLICY   _IOW('u', 109, struct in6_addrpolicy)
 
#define SIOCDIFADDR_IN6   _IOW('i', 25, struct in6_ifreq)
 
#define SIOCDIFPREFIX_IN6   _IOW('i', 102, struct in6_prefixreq)
 
#define SIOCGDEFIFACE_IN6   _IOWR('i', 86, struct in6_ndifreq)
 
#define SIOCGDRLST_IN6   _IOWR('i', 74, struct in6_drlist)
 
#define SIOCGETMIFCNT_IN6
 

Value:

_IOWR('u', 107, \
                                      struct sioc_mif_req6)
#define SIOCGETSGCNT_IN6
 

Value:

_IOWR('u', 106, \
                                      struct sioc_sg_req6)
#define SIOCGIFADDR_IN6   _IOWR('i', 33, struct in6_ifreq)
 
#define SIOCGIFAFLAG_IN6   _IOWR('i', 73, struct in6_ifreq)
 
#define SIOCGIFALIFETIME_IN6   _IOWR('i', 81, struct in6_ifreq)
 
#define SIOCGIFDSTADDR_IN6   _IOWR('i', 34, struct in6_ifreq)
 
#define SIOCGIFINFO_IN6   _IOWR('i', 108, struct in6_ndireq)
 
#define SIOCGIFNETMASK_IN6   _IOWR('i', 37, struct in6_ifreq)
 
#define SIOCGIFPDSTADDR_IN6   _IOWR('i', 72, struct in6_ifreq)
 
#define SIOCGIFPREFIX_IN6   _IOWR('i', 101, struct in6_prefixreq)
 
#define SIOCGIFPSRCADDR_IN6   _IOWR('i', 71, struct in6_ifreq)
 
#define SIOCGIFSTAT_ICMP6   _IOWR('i', 84, struct in6_ifreq)
 
#define SIOCGIFSTAT_IN6   _IOWR('i', 83, struct in6_ifreq)
 
#define SIOCGNBRINFO_IN6   _IOWR('i', 78, struct in6_nbrinfo)
 
#define SIOCGSCOPE6   _IOWR('i', 89, struct in6_ifreq)
 
#define SIOCGSCOPE6DEF   _IOWR('i', 90, struct in6_ifreq)
 
#define SIOCSDEFIFACE_IN6   _IOWR('i', 85, struct in6_ndifreq)
 
#define SIOCSGIFPREFIX_IN6
 

Value:

_IOW('i', 105, \
                                     struct in6_rrenumreq)
#define SIOCSIFADDR_IN6   _IOW('i', 12, struct in6_ifreq)
 
#define SIOCSIFALIFETIME_IN6   _IOWR('i', 82, struct in6_ifreq)
 
#define SIOCSIFINFO_FLAGS   _IOWR('i', 87, struct in6_ndireq)
 
#define SIOCSIFPHYADDR_IN6   _IOW('i', 70, struct in6_aliasreq)
 
#define SIOCSIFPREFIX_IN6   _IOW('i', 100, struct in6_prefixreq)
 
#define SIOCSNDFLUSH_IN6   _IOWR('i', 77, struct in6_ifreq)
 
#define SIOCSPFXFLUSH_IN6   _IOWR('i', 79, struct in6_ifreq)
 
#define SIOCSRTRFLUSH_IN6   _IOWR('i', 80, struct in6_ifreq)
 
#define SIOCSSCOPE6   _IOW('i', 88, struct in6_ifreq)
 

Copyright © Nokia Corporation 2001-2008
Back to top