Standard IPv6 header. More...
#include <gnunet_tun_lib.h>
Data Fields | |
unsigned int | traffic_class_h: 4 |
unsigned int | version: 4 |
unsigned int | traffic_class_l: 4 |
unsigned int | flow_label: 20 |
uint16_t | payload_length |
Length of the payload, excluding this header. More... | |
uint8_t | next_header |
For example, IPPROTO_UDP or IPPROTO_TCP. More... | |
uint8_t | hop_limit |
How many more hops can this packet be forwarded? More... | |
struct in6_addr | source_address |
Origin of the packet. More... | |
struct in6_addr | destination_address |
Destination of the packet. More... | |
Standard IPv6 header.
Definition at line 159 of file gnunet_tun_lib.h.
unsigned int GNUNET_TUN_IPv6Header::traffic_class_h |
Definition at line 162 of file gnunet_tun_lib.h.
unsigned int GNUNET_TUN_IPv6Header::version |
Definition at line 163 of file gnunet_tun_lib.h.
Referenced by GNUNET_TUN_initialize_ipv6_header(), and process_helper_messages().
unsigned int GNUNET_TUN_IPv6Header::traffic_class_l |
Definition at line 164 of file gnunet_tun_lib.h.
unsigned int GNUNET_TUN_IPv6Header::flow_label |
Definition at line 165 of file gnunet_tun_lib.h.
uint16_t GNUNET_TUN_IPv6Header::payload_length |
Length of the payload, excluding this header.
Definition at line 176 of file gnunet_tun_lib.h.
Referenced by GNUNET_TUN_calculate_tcp6_checksum(), GNUNET_TUN_calculate_udp6_checksum(), GNUNET_TUN_initialize_ipv6_header(), message_token(), process_helper_messages(), send_icmp_packet_via_tun(), send_tcp_packet_via_tun(), and send_udp_packet_via_tun().
uint8_t GNUNET_TUN_IPv6Header::next_header |
For example, IPPROTO_UDP or IPPROTO_TCP.
Definition at line 181 of file gnunet_tun_lib.h.
Referenced by GNUNET_TUN_calculate_tcp6_checksum(), GNUNET_TUN_calculate_udp6_checksum(), GNUNET_TUN_initialize_ipv6_header(), message_token(), and process_helper_messages().
uint8_t GNUNET_TUN_IPv6Header::hop_limit |
How many more hops can this packet be forwarded?
Definition at line 186 of file gnunet_tun_lib.h.
Referenced by GNUNET_TUN_initialize_ipv6_header().
struct in6_addr GNUNET_TUN_IPv6Header::source_address |
Origin of the packet.
Definition at line 191 of file gnunet_tun_lib.h.
Referenced by GNUNET_TUN_calculate_tcp6_checksum(), GNUNET_TUN_calculate_udp6_checksum(), GNUNET_TUN_initialize_ipv6_header(), message_token(), process_helper_messages(), send_icmp_packet_via_tun(), send_tcp_packet_via_tun(), and send_udp_packet_via_tun().
struct in6_addr GNUNET_TUN_IPv6Header::destination_address |
Destination of the packet.
Definition at line 196 of file gnunet_tun_lib.h.
Referenced by GNUNET_TUN_initialize_ipv6_header(), message_token(), process_helper_messages(), send_icmp_packet_via_tun(), send_tcp_packet_via_tun(), and send_udp_packet_via_tun().