mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
fixup! sock: Introduction of new application layer API
Fix some typedefs
This commit is contained in:
parent
a41bc13767
commit
1f74eae424
@ -167,7 +167,7 @@ typedef struct {
|
||||
/**
|
||||
* @brief Common IP-based transport layer end point
|
||||
*/
|
||||
typedef struct _sock_tl_ep {
|
||||
struct _sock_tl_ep {
|
||||
sock_ip_ep_t ip; /**< IP end point */
|
||||
uint16_t port; /**< transport layer port */
|
||||
};
|
||||
|
@ -39,26 +39,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief An end point for a raw IPv4/IPv6 sock object
|
||||
*/
|
||||
typedef struct {
|
||||
uint16_t family; /**< family of sock_ip_ep_t::addr as defined in @ref net_af */
|
||||
|
||||
/**
|
||||
* @brief stack-specific network interface ID
|
||||
*
|
||||
* @todo port to common network interface identifiers in PR #5511.
|
||||
*
|
||||
* Use @ref 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
|
||||
*/
|
||||
uint16_t netif;
|
||||
sock_addr_ip_t addr; /**< IP address */
|
||||
} sock_ip_ep_t;
|
||||
|
||||
/**
|
||||
* @brief Implementation-specific type of a raw IPv4/IPv6 sock object
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user