Inet6rthdrspace, Inet6_rthdr_space – Comtrol eCos User Manual

Page 541

Advertising
background image

Chapter 38. TCP/IP Library Reference

S. Deering and R. Hinden, Internet Protocol, Version 6 (IPv6)

Specification, RFC2460, December 1998.

HISTORY

The implementation first appeared in KAME advanced networking kit.

STANDARDS

The functions are documented in “Advanced Sockets API for IPv6”

(RFC2292).

BUGS

The text was shamelessly copied from RFC2292.

BSD

December 10, 1999

BSD

inet6_rthdr_space

INET6_RTHDR_SPACE(3)

System Library Functions Manual

INET6_RTHDR_SPACE(3)

NAME

inet6_rthdr_space, inet6_rthdr_init, inet6_rthdr_add,

inet6_rthdr_lasthop, inet6_rthdr_reverse, inet6_rthdr_segments,

inet6_rthdr_getaddr, inet6_rthdr_getflags - IPv6 Routing Header Options

manipulation

SYNOPSIS

#include

<

netinet/in.h>

size_t

inet6_rthdr_space(int type, int segments);

struct cmsghdr *

inet6_rthdr_init(void *bp, int type);

int

inet6_rthdr_add(struct cmsghdr *cmsg, const struct in6_addr *addr,

unsigned int flags);

int

inet6_rthdr_lasthop(struct cmsghdr *cmsg, unsigned int flags);

int

inet6_rthdr_reverse(const struct cmsghdr *in, struct cmsghdr *out);

int

inet6_rthdr_segments(const struct cmsghdr *cmsg);

struct in6_addr *

inet6_rthdr_getaddr(struct cmsghdr *cmsg, int index);

int

437

Advertising