VSF Documented
|
#include "shell/sys/linux/vsf_linux_cfg.h"
#include "../../../include/unistd.h"
#include "../../../include/errno.h"
#include "../../../include/sys/socket.h"
#include "../../../include/sys/time.h"
#include "../../../include/net/if.h"
#include "../../../include/netinet/in.h"
#include "../../../include/netinet/tcp.h"
#include "../../../include/arpa/inet.h"
#include "../../../include/ifaddrs.h"
#include "../../../include/poll.h"
#include "../../../include/fcntl.h"
#include "../../../include/linux/netlink.h"
#include "../../../include/linux/rtnetlink.h"
#include "../../../include/linux/if_addr.h"
#include "../vsf_linux_socket.h"
#include "lwip/tcpip.h"
#include "lwip/api.h"
#include "lwip/ip.h"
#include "lwip/tcp.h"
#include "lwip/udp.h"
#include "lwip/dns.h"
#include "lwip/mld6.h"
#include "lwip/igmp.h"
Data Structures | |
struct | vsf_linux_socket_group_t |
struct | vsf_linux_socket_inet_priv_t |
union | vsf_linux_sockaddr_t |
struct | vsf_linux_socket_netlink_msg_t |
struct | vsf_linux_socket_netlink_priv_t |
struct | gethostbyname_param_t |
Macros | |
#define | __VSF_LINUX_FS_CLASS_INHERIT__ |
#define | __VSF_LINUX_SOCKET_CLASS_INHERIT__ |
#define | __VSF_LINUX_CLASS_INHERIT__ |
#define | netif_get_index(netif) ((u8_t)((netif)->num + 1)) |
#define | LWIP_ASSERT_CORE_LOCKED() |
Typedefs | |
typedef struct vsf_linux_socket_group_t | vsf_linux_socket_group_t |
typedef struct vsf_linux_socket_inet_priv_t | vsf_linux_socket_inet_priv_t |
typedef union vsf_linux_sockaddr_t | vsf_linux_sockaddr_t |
typedef struct vsf_linux_socket_netlink_msg_t | vsf_linux_socket_netlink_msg_t |
typedef struct vsf_linux_socket_netlink_priv_t | vsf_linux_socket_netlink_priv_t |
typedef struct gethostbyname_param_t | gethostbyname_param_t |
Functions | |
int | __vsf_linux_socket_inet_fcntl (vsf_linux_fd_t *sfd, int cmd, uintptr_t arg) |
struct pbuf * | pbuf_free_header (struct pbuf *q, u16_t size) |
struct netif * | netif_get_by_index (u8_t idx) |
err_t | netconn_recv_udp_raw_netbuf_flags (struct netconn *conn, struct netbuf **new_buf, u8_t apiflags) |
err_t | netconn_recv_tcp_pbuf_flags (struct netconn *conn, struct pbuf **new_buf, u8_t apiflags) |
err_t | netconn_prepare_delete (struct netconn *conn) |
ssize_t | sendto (int sockfd, const void *buffer, size_t size, int flags, const struct sockaddr *dst_addr, socklen_t addrlen) |
ssize_t | recvfrom (int sockfd, void *buffer, size_t size, int flags, struct sockaddr *src_addr, socklen_t *addrlen) |
int | getifaddrs (struct ifaddrs **ifaddrs) |
void | freeifaddrs (struct ifaddrs *ifaddrs) |
int | __inet_gethostbyname (const char *name, in_addr_t *addr) |
Variables | |
const vsf_linux_socket_op_t | vsf_linux_socket_inet_op |
const vsf_linux_socket_op_t | vsf_linux_socket_netlink_op |
#define __VSF_LINUX_FS_CLASS_INHERIT__ |
#define __VSF_LINUX_SOCKET_CLASS_INHERIT__ |
#define __VSF_LINUX_CLASS_INHERIT__ |
#define netif_get_index | ( | netif | ) | ((u8_t)((netif)->num + 1)) |
#define LWIP_ASSERT_CORE_LOCKED | ( | ) |
typedef struct vsf_linux_socket_group_t vsf_linux_socket_group_t |
typedef struct vsf_linux_socket_inet_priv_t vsf_linux_socket_inet_priv_t |
typedef union vsf_linux_sockaddr_t vsf_linux_sockaddr_t |
typedef struct vsf_linux_socket_netlink_msg_t vsf_linux_socket_netlink_msg_t |
typedef struct vsf_linux_socket_netlink_priv_t vsf_linux_socket_netlink_priv_t |
typedef struct gethostbyname_param_t gethostbyname_param_t |
int __vsf_linux_socket_inet_fcntl | ( | vsf_linux_fd_t * | sfd, |
int | cmd, | ||
uintptr_t | arg | ||
) |
|
extern |
struct netif * netif_get_by_index | ( | u8_t | idx | ) |
err_t netconn_recv_udp_raw_netbuf_flags | ( | struct netconn * | conn, |
struct netbuf ** | new_buf, | ||
u8_t | apiflags | ||
) |
err_t netconn_recv_tcp_pbuf_flags | ( | struct netconn * | conn, |
struct pbuf ** | new_buf, | ||
u8_t | apiflags | ||
) |
err_t netconn_prepare_delete | ( | struct netconn * | conn | ) |
ssize_t sendto | ( | int | sockfd, |
const void * | buffer, | ||
size_t | size, | ||
int | flags, | ||
const struct sockaddr * | dst_addr, | ||
socklen_t | addrlen | ||
) |
ssize_t recvfrom | ( | int | sockfd, |
void * | buffer, | ||
size_t | size, | ||
int | flags, | ||
struct sockaddr * | src_addr, | ||
socklen_t * | addrlen | ||
) |
int getifaddrs | ( | struct ifaddrs ** | ifaddrs | ) |
void freeifaddrs | ( | struct ifaddrs * | ifaddrs | ) |
int __inet_gethostbyname | ( | const char * | name, |
in_addr_t * | addr | ||
) |
const vsf_linux_socket_op_t vsf_linux_socket_inet_op |
const vsf_linux_socket_op_t vsf_linux_socket_netlink_op |