Loading...
Searching...
No Matches
_sock_tl_ep Struct Reference

Common IP-based transport layer end point. More...

Detailed Description

Common IP-based transport layer end point.

Definition at line 215 of file sock.h.

#include <sock.h>

Data Fields

int family
 family of sock_ip_ep_t::addr
 
union { 
 
   uint8_t   ipv6 [16] 
 IPv6 address mode. More...
 
   uint8_t   ipv4 [4] 
 IPv4 address mode. More...
 
   uint32_t   ipv4_u32 
 IPv4 address in network byte order More...
 
addr 
 address
 
uint16_t netif
 stack-specific network interface ID
 
uint16_t port
 transport layer port (in host byte order)
 

Field Documentation

◆ family

int _sock_tl_ep::family

family of sock_ip_ep_t::addr

See also
UNIX address families

Definition at line 221 of file sock.h.

◆ ipv4

uint8_t _sock_tl_ep::ipv4[4]

IPv4 address mode.

Definition at line 232 of file sock.h.

◆ ipv4_u32

uint32_t _sock_tl_ep::ipv4_u32

IPv4 address in network byte order

Definition at line 233 of file sock.h.

◆ ipv6

uint8_t _sock_tl_ep::ipv6[16]

IPv6 address mode.

Note
only available if SOCK_HAS_IPV6 is defined.

Definition at line 230 of file sock.h.

◆ netif

uint16_t _sock_tl_ep::netif

stack-specific network interface ID

Todo:
port to common network interface identifiers in PR #5511.

Use SOCK_ADDR_ANY_NETIF for any interface. For reception this is the local interface the message came over, for transmission, this is the local interface the message should be send over

Definition at line 246 of file sock.h.

◆ port

uint16_t _sock_tl_ep::port

transport layer port (in host byte order)

Definition at line 247 of file sock.h.


The documentation for this struct was generated from the following file: