Back to index

glibc  2.9
Classes | Defines
ip6.h File Reference
#include <inttypes.h>
#include <netinet/in.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ip6_hdr
struct  ip6_ext
struct  ip6_hbh
struct  ip6_dest
struct  ip6_rthdr
struct  ip6_rthdr0
struct  ip6_frag
struct  ip6_opt
struct  ip6_opt_jumbo
struct  ip6_opt_nsap
struct  ip6_opt_tunnel
struct  ip6_opt_router
union  ip6_hdr.ip6_ctlun
struct  ip6_hdrctl.ip6_ctlun.ip6_un1

Defines

#define ip6_vfc   ip6_ctlun.ip6_un2_vfc
#define ip6_flow   ip6_ctlun.ip6_un1.ip6_un1_flow
#define ip6_plen   ip6_ctlun.ip6_un1.ip6_un1_plen
#define ip6_nxt   ip6_ctlun.ip6_un1.ip6_un1_nxt
#define ip6_hlim   ip6_ctlun.ip6_un1.ip6_un1_hlim
#define ip6_hops   ip6_ctlun.ip6_un1.ip6_un1_hlim
#define IP6F_OFF_MASK   0xfff8 /* mask out offset from _offlg */
#define IP6F_RESERVED_MASK   0x0006 /* reserved bits in ip6f_offlg */
#define IP6F_MORE_FRAG   0x0001 /* more-fragments flag */
#define IP6OPT_TYPE(o)   ((o) & 0xc0)
#define IP6OPT_TYPE_SKIP   0x00
#define IP6OPT_TYPE_DISCARD   0x40
#define IP6OPT_TYPE_FORCEICMP   0x80
#define IP6OPT_TYPE_ICMP   0xc0
#define IP6OPT_TYPE_MUTABLE   0x20
#define IP6OPT_PAD1   0
#define IP6OPT_PADN   1
#define IP6OPT_JUMBO   0xc2
#define IP6OPT_NSAP_ADDR   0xc3
#define IP6OPT_TUNNEL_LIMIT   0x04
#define IP6OPT_ROUTER_ALERT   0x05
#define IP6OPT_JUMBO_LEN   6
#define IP6_ALERT_MLD   0x0000
#define IP6_ALERT_RSVP   0x0001
#define IP6_ALERT_AN   0x0002

Class Documentation

struct ip6_hdr

Definition at line 25 of file ip6.h.

Class Members
union ip6_hdr ip6_ctlun
struct ip6_ext

Definition at line 51 of file ip6.h.

Class Members
uint8_t ip6e_len
uint8_t ip6e_nxt
struct ip6_hbh

Definition at line 58 of file ip6.h.

Class Members
uint8_t ip6h_len
uint8_t ip6h_nxt
struct ip6_dest

Definition at line 66 of file ip6.h.

Class Members
uint8_t ip6d_len
uint8_t ip6d_nxt
struct ip6_rthdr

Definition at line 74 of file ip6.h.

Class Members
uint8_t ip6r_len
uint8_t ip6r_nxt
uint8_t ip6r_segleft
uint8_t ip6r_type
struct ip6_rthdr0

Definition at line 84 of file ip6.h.

Class Members
uint8_t ip6r0_len
uint8_t ip6r0_nxt
uint8_t ip6r0_reserved
uint8_t ip6r0_segleft
uint8_t ip6r0_slmap
uint8_t ip6r0_type
struct ip6_frag

Definition at line 97 of file ip6.h.

Class Members
uint32_t ip6f_ident
uint8_t ip6f_nxt
uint16_t ip6f_offlg
uint8_t ip6f_reserved
struct ip6_opt

Definition at line 116 of file ip6.h.

Class Members
uint8_t ip6o_len
uint8_t ip6o_type
struct ip6_opt_jumbo

Definition at line 143 of file ip6.h.

Class Members
uint8_t ip6oj_jumbo_len
uint8_t ip6oj_len
uint8_t ip6oj_type
struct ip6_opt_nsap

Definition at line 152 of file ip6.h.

Class Members
uint8_t ip6on_dst_nsap_len
uint8_t ip6on_len
uint8_t ip6on_src_nsap_len
uint8_t ip6on_type
struct ip6_opt_tunnel

Definition at line 163 of file ip6.h.

Class Members
uint8_t ip6ot_encap_limit
uint8_t ip6ot_len
uint8_t ip6ot_type
struct ip6_opt_router

Definition at line 171 of file ip6.h.

Class Members
uint8_t ip6or_len
uint8_t ip6or_type
uint8_t ip6or_value
union ip6_hdr.ip6_ctlun

Definition at line 27 of file ip6.h.

Class Members
ip6_ctlun ip6_un1
uint8_t ip6_un2_vfc
struct ip6_hdr::ip6_hdrctl.ip6_ctlun.ip6_un1

Definition at line 29 of file ip6.h.

Class Members
uint32_t ip6_un1_flow
uint8_t ip6_un1_hlim
uint8_t ip6_un1_nxt
uint16_t ip6_un1_plen

Define Documentation

#define IP6_ALERT_AN   0x0002

Definition at line 182 of file ip6.h.

#define IP6_ALERT_MLD   0x0000

Definition at line 180 of file ip6.h.

#define IP6_ALERT_RSVP   0x0001

Definition at line 181 of file ip6.h.

#define ip6_flow   ip6_ctlun.ip6_un1.ip6_un1_flow

Definition at line 44 of file ip6.h.

#define ip6_hlim   ip6_ctlun.ip6_un1.ip6_un1_hlim

Definition at line 47 of file ip6.h.

#define ip6_hops   ip6_ctlun.ip6_un1.ip6_un1_hlim

Definition at line 48 of file ip6.h.

#define ip6_nxt   ip6_ctlun.ip6_un1.ip6_un1_nxt

Definition at line 46 of file ip6.h.

#define ip6_plen   ip6_ctlun.ip6_un1.ip6_un1_plen

Definition at line 45 of file ip6.h.

#define ip6_vfc   ip6_ctlun.ip6_un2_vfc

Definition at line 43 of file ip6.h.

#define IP6F_MORE_FRAG   0x0001 /* more-fragments flag */

Definition at line 108 of file ip6.h.

#define IP6F_OFF_MASK   0xfff8 /* mask out offset from _offlg */

Definition at line 106 of file ip6.h.

#define IP6F_RESERVED_MASK   0x0006 /* reserved bits in ip6f_offlg */

Definition at line 107 of file ip6.h.

#define IP6OPT_JUMBO   0xc2

Definition at line 137 of file ip6.h.

#define IP6OPT_JUMBO_LEN   6

Definition at line 149 of file ip6.h.

#define IP6OPT_NSAP_ADDR   0xc3

Definition at line 138 of file ip6.h.

#define IP6OPT_PAD1   0

Definition at line 134 of file ip6.h.

#define IP6OPT_PADN   1

Definition at line 135 of file ip6.h.

#define IP6OPT_ROUTER_ALERT   0x05

Definition at line 140 of file ip6.h.

#define IP6OPT_TUNNEL_LIMIT   0x04

Definition at line 139 of file ip6.h.

#define IP6OPT_TYPE (   o)    ((o) & 0xc0)

Definition at line 126 of file ip6.h.

#define IP6OPT_TYPE_DISCARD   0x40

Definition at line 128 of file ip6.h.

#define IP6OPT_TYPE_FORCEICMP   0x80

Definition at line 129 of file ip6.h.

#define IP6OPT_TYPE_ICMP   0xc0

Definition at line 130 of file ip6.h.

#define IP6OPT_TYPE_MUTABLE   0x20

Definition at line 131 of file ip6.h.

#define IP6OPT_TYPE_SKIP   0x00

Definition at line 127 of file ip6.h.