/* Hop-by-Hop options header */ /* XXX should we pad it to force alignment on an 8-byte boundary? */ struct ip6_hbh {
u_int8_t ip6h_nxt; /* next header */
u_int8_t ip6h_len; /* length in units of 8 octets */ /* followed by options */
} __packed;
/* Destination options header */ /* XXX should we pad it to force alignment on an 8-byte boundary? */ struct ip6_dest {
u_int8_t ip6d_nxt; /* next header */
u_int8_t ip6d_len; /* length in units of 8 octets */ /* followed by options */
} __packed;
/* Routing header */ struct ip6_rthdr {
u_int8_t ip6r_nxt; /* next header */
u_int8_t ip6r_len; /* length in units of 8 octets */
u_int8_t ip6r_type; /* routing type */
u_int8_t ip6r_segleft; /* segments left */ /* followed by routing type specific data */
} __packed;
/* Type 0 Routing header */ struct ip6_rthdr0 {
u_int8_t ip6r0_nxt; /* next header */
u_int8_t ip6r0_len; /* length in units of 8 octets */
u_int8_t ip6r0_type; /* always zero */
u_int8_t ip6r0_segleft; /* segments left */
u_int32_t ip6r0_reserved; /* reserved field */
} __packed;
/* Fragment header */ struct ip6_frag {
u_int8_t ip6f_nxt; /* next header */
u_int8_t ip6f_reserved; /* reserved field */
u_int16_t ip6f_offlg; /* offset, reserved, and flag */
u_int32_t ip6f_ident; /* identification */
} __packed;
#define IP6F_OFF_MASK 0xf8ff /* mask out offset from _offlg */ #define IP6F_RESERVED_MASK 0x0600 /* reserved bits in ip6f_offlg */ #define IP6F_MORE_FRAG 0x0100 /* more-fragments flag */
/* *Internetimplementationparameters.
*/ #define IPV6_MAXHLIM 255/* maximum hoplimit */ #define IPV6_DEFHLIM 64/* default hlim */ #define IPV6_FRAGTTL 120/* ttl for fragment packets, in slowtimo tick */ #define IPV6_HLIMDEC 1/* subtracted when forwarding */
#define IPV6_MMTU 1280/* minimal MTU and reassembly. 1024 + 256 */ #define IPV6_MAXPACKET 65535/* ip6 max packet size without Jumbo payload*/
__END_DECLS
#endif/* !_NETINET_IP6_H_ */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.