22#ifndef LWIP_SOCK_INTERNAL_H
23#define LWIP_SOCK_INTERNAL_H
31#include "lwip/ip_addr.h"
42#ifndef LWIP_SOCK_TCP_ACCEPT_TIMEOUT
43#define LWIP_SOCK_TCP_ACCEPT_TIMEOUT (0)
51int lwip_sock_create(
struct netconn **conn,
const struct _sock_tl_ep *local,
53 uint16_t flags,
int type);
54uint16_t lwip_sock_bind_addr_to_netif(
const ip_addr_t *bind_addr);
55int lwip_sock_get_addr(
struct netconn *conn,
struct _sock_tl_ep *ep, u8_t local);
56#if defined(MODULE_LWIP_SOCK_UDP) || defined(MODULE_LWIP_SOCK_IP)
57int lwip_sock_recv(
struct netconn *conn, uint32_t timeout,
struct netbuf **buf);
59ssize_t lwip_sock_sendv(
struct netconn *conn,
const iolist_t *snips,
60 int proto,
const struct _sock_tl_ep *remote,
int type);
61static inline ssize_t lwip_sock_send(
struct netconn *conn,
62 const void *data,
size_t len,
63 int proto,
const struct _sock_tl_ep *remote,
int type)
70 return lwip_sock_sendv(conn, &snip, proto, remote, type);
Global UNIX address family definitions.
Common sock API definitions.
Common IP-based transport layer end point.
iolist structure definition
void * iol_base
ptr to this list entries data