Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <in6.h>

s6_addr

Interface status: externallyDefinedApi

s6_addr __u6_addr.__u6_addr8

Description

__u6_addr.__u6_addr8

[Top]


IN6ADDR_ANY_INIT

IN6ADDR_ANY_INIT {{{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }}}

Description

To handle IP6 addresses

[Top]


IN6ADDR_LOOPBACK_INIT

IN6ADDR_LOOPBACK_INIT {{{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }}}

Description

To handle IP6 addresses

[Top]


IN6ADDR_NODELOCAL_ALLNODES_INIT

IN6ADDR_NODELOCAL_ALLNODES_INIT {{{ 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }}}

Description

To handle IP6 addresses

[Top]


IN6ADDR_INTFACELOCAL_ALLNODES_INIT

IN6ADDR_INTFACELOCAL_ALLNODES_INIT {{{ 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }}}

Description

To handle IP6 addresses

[Top]


IN6ADDR_LINKLOCAL_ALLNODES_INIT

IN6ADDR_LINKLOCAL_ALLNODES_INIT {{{ 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }}}

Description

To handle IP6 addresses

[Top]


IN6ADDR_LINKLOCAL_ALLROUTERS_INIT

IN6ADDR_LINKLOCAL_ALLROUTERS_INIT {{{ 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 }}}

Description

To handle IP6 addresses

[Top]


IN6_ARE_ADDR_EQUAL

IN6_ARE_ADDR_EQUAL (a, b) (memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0)

Description

Equality. NOTE: Some of kernel programming environment (for example, openbsd or sparc) does not supply memcmp(const void *,const void *,size_t)memcmp(const void *,const void *,size_t). For userland memcmp(const void *,const void *,size_t)memcmp(const void *,const void *,size_t) is preferred as it is in ANSI standard.

Parameters

a

b

[Top]


IN6_IS_ADDR_UNSPECIFIED

IN6_IS_ADDR_UNSPECIFIED (a) ((*(const u_int32_t *)(const void *)(&(a)->s6_addr[0]) == 0) &&  \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[4]) == 0) &&  \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[8]) == 0) &&  \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[12]) == 0))

Description

Unspecified

Parameters

a

[Top]


IN6_IS_ADDR_LOOPBACK

IN6_IS_ADDR_LOOPBACK (a) ((*(const u_int32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[4]) == 0) &&  \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[8]) == 0) &&  \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[12]) == ntohl(1)))

Description

Loopback

Parameters

a

[Top]


IN6_IS_ADDR_V4COMPAT

IN6_IS_ADDR_V4COMPAT (a) ((*(const u_int32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[4]) == 0) &&  \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[8]) == 0) &&  \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[12]) != 0) && \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[12]) != ntohl(1)))

Description

IPv4 compatible

Parameters

a

[Top]


IN6_IS_ADDR_V4MAPPED

IN6_IS_ADDR_V4MAPPED (a) ((*(const u_int32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[4]) == 0) &&  \
     (*(const u_int32_t *)(const void *)(&(a)->s6_addr[8]) == ntohl(0x0000ffff)))

Description

Mapped

Parameters

a

[Top]


IN6_IS_ADDR_LINKLOCAL

IN6_IS_ADDR_LINKLOCAL (a) (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0x80))

Description

Unicast Scope. Note that we must check topmost 10 bits only, not 16 bits (see RFC2373).

Parameters

a

[Top]


IN6_IS_ADDR_MC_NODELOCAL

IN6_IS_ADDR_MC_NODELOCAL (a) (IN6_IS_ADDR_MULTICAST(a) &&   \
     (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_NODELOCAL))

Description

Multicast Scope

Parameters

a

[Top]


IN6_IS_ADDR_MC_LINKLOCAL

IN6_IS_ADDR_MC_LINKLOCAL (a) (IN6_IS_ADDR_MULTICAST(a) &&   \
     (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_LINKLOCAL))

Description

Multicast Scope

Parameters

a

[Top]


IN6_IS_ADDR_MC_SITELOCAL

IN6_IS_ADDR_MC_SITELOCAL (a) (IN6_IS_ADDR_MULTICAST(a) &&   \
     (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_SITELOCAL))

Description

Multicast Scope

Parameters

a

[Top]


IN6_IS_ADDR_MC_ORGLOCAL

IN6_IS_ADDR_MC_ORGLOCAL (a) (IN6_IS_ADDR_MULTICAST(a) &&    \
     (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_ORGLOCAL))

Description

Multicast Scope

Parameters

a

[Top]


IN6_IS_ADDR_MC_GLOBAL

IN6_IS_ADDR_MC_GLOBAL (a) (IN6_IS_ADDR_MULTICAST(a) &&  \
     (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_GLOBAL))

Description

Multicast Scope

Parameters

a

[Top]


IPV6_SOCKOPT_RESERVED1

IPV6_SOCKOPT_RESERVED1 3

Description

reserved for future use

[Top]


IPV6_UNICAST_HOPS

Interface status: externallyDefinedApi

IPV6_UNICAST_HOPS 4

Description

int; IP6 hops

[Top]


IPV6_MULTICAST_IF

Interface status: externallyDefinedApi

IPV6_MULTICAST_IF 9

Description

u_int; set or get IP6 multicast if

[Top]


IPV6_MULTICAST_HOPS

Interface status: externallyDefinedApi

IPV6_MULTICAST_HOPS 10

Description

int; set or get IP6 multicast hops

[Top]


IPV6_MULTICAST_LOOP

Interface status: externallyDefinedApi

IPV6_MULTICAST_LOOP 11

Description

u_int; set or get IP6 multicast loopback

[Top]


IPV6_JOIN_GROUP

IPV6_JOIN_GROUP 12

Description

ip6_mreq; join a group membership

[Top]


IPV6_LEAVE_GROUP

IPV6_LEAVE_GROUP 13

Description

ip6_mreq; leave a group membership

[Top]


IPV6_PORTRANGE

IPV6_PORTRANGE 14

Description

int; range to choose for unspec port

[Top]


ICMP6_FILTER

ICMP6_FILTER 18

Description

icmp6_filter; icmp6 filter

[Top]


IPV6_RTHDRDSTOPTS

IPV6_RTHDRDSTOPTS 35

Description

ip6_dest; send dst option before rthdr

[Top]


IPV6_RECVPKTINFO

IPV6_RECVPKTINFO 36

Description

bool; recv if, dst addr

[Top]


IPV6_RECVHOPLIMIT

IPV6_RECVHOPLIMIT 37

Description

bool; recv hop limit

[Top]


IPV6_RECVRTHDR

IPV6_RECVRTHDR 38

Description

bool; recv routing header

[Top]


IPV6_RECVHOPOPTS

IPV6_RECVHOPOPTS 39

Description

bool; recv hop-by-hop option

[Top]


IPV6_RECVDSTOPTS

IPV6_RECVDSTOPTS 40

Description

bool; recv dst option after rthdr

[Top]


IPV6_USE_MIN_MTU

IPV6_USE_MIN_MTU 42

Description

bool; send packets at the minimum MTU

[Top]


IPV6_RECVPATHMTU

IPV6_RECVPATHMTU 43

Description

bool; notify an according MTU

[Top]


IPV6_PATHMTU

IPV6_PATHMTU 44

Description

mtuinfo; get the current path MTU (sopt), 4 bytes int; MTU notification (cmsg)

[Top]


IPV6_PKTINFO

IPV6_PKTINFO 46

Description

in6_pktinfo; send if, src addr

[Top]


IPV6_HOPLIMIT

IPV6_HOPLIMIT 47

Description

int; send hop limit

[Top]


IPV6_NEXTHOP

IPV6_NEXTHOP 48

Description

sockaddr; next hop addr

[Top]


IPV6_DSTOPTS

IPV6_DSTOPTS 50

Description

ip6_dest; send dst option befor rthdr

[Top]


IPV6_RTHDR

IPV6_RTHDR 51

Description

new socket options introduced in RFC3542. ip6_dest; send dst option before rthdr

[Top]


IPV6_PORTRANGE_DEFAULT

IPV6_PORTRANGE_DEFAULT 0

Description

Argument for IPV6_PORTRANGE: - which range to search when port is unspecified at bind or connect. default range.

[Top]


IPV6_PORTRANGE_HIGH

IPV6_PORTRANGE_HIGH 1

Description

Argument for IPV6_PORTRANGE: - which range to search when port is unspecified at bind or connect."high" - request firewall bypass

[Top]


IPV6_PORTRANGE_LOW

IPV6_PORTRANGE_LOW 2

Description

Argument for IPV6_PORTRANGE: - which range to search when port is unspecified at bind or connect. "low" - vouchsafe security

[Top]


IPV6PROTO_MAXID

IPV6PROTO_MAXID (IPPROTO_PIM + 1)

Description

Definitions for inet6 sysctl operations.

[Top]


IPV6CTL_FORWARDING

Interface status: externallyDefinedApi

IPV6CTL_FORWARDING 1

Description

Names for IP sysctl objects. act as router.

[Top]


IPV6CTL_SENDREDIRECTS

Interface status: externallyDefinedApi

IPV6CTL_SENDREDIRECTS 2

Description

Names for IP sysctl objects. may send redirects when forwarding.

[Top]


IPV6CTL_DEFHLIM

Interface status: externallyDefinedApi

IPV6CTL_DEFHLIM 3

Description

Names for IP sysctl objects. default Hop-Limit.

[Top]


IPV6CTL_FORWSRCRT

IPV6CTL_FORWSRCRT 5

Description

forward source-routed dgrams

[Top]


IPV6CTL_STATS

IPV6CTL_STATS 6

Description

stats

[Top]


IPV6CTL_MRTSTATS

IPV6CTL_MRTSTATS 7

Description

multicast forwarding stats

[Top]


IPV6CTL_MRTPROTO

IPV6CTL_MRTPROTO 8

Description

multicast routing protocol

[Top]


IPV6CTL_MAXFRAGPACKETS

Interface status: externallyDefinedApi

IPV6CTL_MAXFRAGPACKETS 9

Description

max packets reassembly queue

[Top]


IPV6CTL_SOURCECHECK

IPV6CTL_SOURCECHECK 10

Description

verify source route and intf

[Top]


IPV6CTL_SOURCECHECK_LOGINT

IPV6CTL_SOURCECHECK_LOGINT 11

Description

minimume logging interval

[Top]


IPV6CTL_ACCEPT_RTADV

Interface status: externallyDefinedApi

IPV6CTL_ACCEPT_RTADV 12

Description

Names for IP sysctl objects

[Top]


IPV6CTL_KEEPFAITH

Interface status: externallyDefinedApi

IPV6CTL_KEEPFAITH 13

Description

Names for IP sysctl objects.

[Top]


IPV6CTL_LOG_INTERVAL

Interface status: externallyDefinedApi

IPV6CTL_LOG_INTERVAL 14

Description

Names for IP sysctl objects.

[Top]


IPV6CTL_HDRNESTLIMIT

Interface status: externallyDefinedApi

IPV6CTL_HDRNESTLIMIT 15

Description

Names for IP sysctl objects.

[Top]


IPV6CTL_DAD_COUNT

Interface status: externallyDefinedApi

IPV6CTL_DAD_COUNT 16

Description

Names for IP sysctl objects.

[Top]


IPV6CTL_AUTO_FLOWLABEL

Interface status: externallyDefinedApi

IPV6CTL_AUTO_FLOWLABEL 17

Description

Names for IP sysctl objects.

[Top]


IPV6CTL_DEFMCASTHLIM

Interface status: externallyDefinedApi

IPV6CTL_DEFMCASTHLIM 18

Description

Names for IP sysctl objects.

[Top]


IPV6CTL_GIF_HLIM

Interface status: externallyDefinedApi

IPV6CTL_GIF_HLIM 19

Description

Names for IP sysctl objects. default HLIM for gif encap packet.

[Top]


IPV6CTL_KAME_VERSION

Interface status: externallyDefinedApi

IPV6CTL_KAME_VERSION 20

Description

Names for IP sysctl objects.

[Top]


IPV6CTL_USE_DEPRECATED

Interface status: externallyDefinedApi

IPV6CTL_USE_DEPRECATED 21

Description

Names for IP sysctl objects. use deprecated addr (RFC2462 5.5.4)

[Top]


IPV6CTL_RR_PRUNE

Interface status: externallyDefinedApi

IPV6CTL_RR_PRUNE 22

Description

Names for IP sysctl objects. walk timer for router renumbering.

[Top]


IPV6CTL_V6ONLY

IPV6CTL_V6ONLY 24

Description

cloned route expiration time

[Top]


IPV6CTL_RTEXPIRE

Interface status: externallyDefinedApi

IPV6CTL_RTEXPIRE 25

Description

cloned route expiration time

[Top]


IPV6CTL_RTMINEXPIRE

Interface status: externallyDefinedApi

IPV6CTL_RTMINEXPIRE 26

Description

min value for expiration time

[Top]


IPV6CTL_RTMAXCACHE

Interface status: externallyDefinedApi

IPV6CTL_RTMAXCACHE 27

Description

trigger level for dynamic expire

[Top]


IPV6CTL_USETEMPADDR

IPV6CTL_USETEMPADDR 32

Description

use temporary addresses (RFC3041)

[Top]


IPV6CTL_TEMPPLTIME

IPV6CTL_TEMPPLTIME 33

Description

preferred lifetime for tmpaddrs

[Top]


IPV6CTL_TEMPVLTIME

IPV6CTL_TEMPVLTIME 34

Description

valid lifetime for tmpaddrs

[Top]


IPV6CTL_AUTO_LINKLOCAL

IPV6CTL_AUTO_LINKLOCAL 35

Description

automatic link-local addr assign

[Top]


IPV6CTL_RIP6STATS

IPV6CTL_RIP6STATS 36

Description

raw_ip6 stats

[Top]


IPV6CTL_PREFER_TEMPADDR

IPV6CTL_PREFER_TEMPADDR 37

Description

prefer temporary addr as src

[Top]


IPV6CTL_ADDRCTLPOLICY

IPV6CTL_ADDRCTLPOLICY 38

Description

get or set address selection policy

[Top]


IPV6CTL_MAXFRAGS

IPV6CTL_MAXFRAGS 41

Description

max fragments

[Top]


IPV6CTL_STEALTH

IPV6CTL_STEALTH 45

Description

New entries should be added here from current IPV6CTL_MAXID value. to define items, should talk with KAME guys first, for BSD compatibility 42-44 is already used in KAME

[Top]


IPV6CTL_MAXID

IPV6CTL_MAXID 46

Description

MAXID