Kenji Arai / TYBLE16_mbedlized_os5_several_examples_1st

Dependencies:   nRF51_Vdd TextLCD BME280

Embed: (wiki syntax)

« Back to documentation index

inet_pcb_s Struct Reference

inet_pcb_s Struct Reference

Internet protocol control block. More...

#include <socket.h>

Data Fields

void * session
uint8_t local_address [16]
uint8_t remote_address [16]
uint16_t local_port
uint16_t remote_port
int16_t unicast_hop_limit
uint8_t protocol
int8_t use_min_mtu

Detailed Description

Internet protocol control block.

Definition at line 154 of file socket.h.


Field Documentation

uint8_t local_address[16]

Local address

Definition at line 159 of file socket.h.

uint16_t local_port

Local port

Definition at line 161 of file socket.h.

uint8_t protocol

IP type IPV6_NH_TCP, IPV6_NH_UDP, IPV6_NH_ICMPV6...

Definition at line 167 of file socket.h.

uint8_t remote_address[16]

Destination address

Definition at line 160 of file socket.h.

uint16_t remote_port

Destination port

Definition at line 162 of file socket.h.

void* session

Session for transport protocol - only used by TCP at present

Definition at line 157 of file socket.h.

May be -1, which will give per-interface default

Definition at line 163 of file socket.h.

int8_t use_min_mtu

RFC 3542 socket option

Definition at line 170 of file socket.h.