std :: net::ipv6
#include <std/net/ipv6.h> source
#include <std/net/ipv6.h>
struct Ipv6Hdr { unsigned int ver_tc_fl; unsigned short payload_len; unsigned char next_hdr; unsigned char hop_limit; struct Ipv6Addr src; struct Ipv6Addr dst; }
unsigned int ver_tc_fl
version(4) + traffic class(8) + flow label(20)
unsigned short payload_len
length of payload (after fixed header)
unsigned char next_hdr
next header type (same as IPv4 protocol)
unsigned char hop_limit
struct Ipv6Addr src
struct Ipv6Addr dst