Classes | Macros | Typedefs
m2m_socket_host_if.h File Reference

BSD compatible socket interface internal types. More...

#include "socket/include/socket.h"
Include dependency graph for m2m_socket_host_if.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tstrAcceptReply
 
struct  tstrBindCmd
 
struct  tstrBindReply
 
struct  tstrConnectCmd
 
struct  tstrConnectReply
 Connect Reply, contains sock number and error value. More...
 
struct  tstrDnsReply
 DNS Reply, contains hostName and HostIP. More...
 
struct  tstrListenCmd
 
struct  tstrListenReply
 
struct  tstrPingCmd
 
struct  tstrPingReply
 
struct  tstrRecvCmd
 
struct  tstrRecvReply
 
struct  tstrSendCmd
 
struct  tstrSendReply
 Send Reply, contains socket number and number of sent bytes. More...
 
struct  tstrSetSocketOptCmd
 
struct  tstrSockAddr
 
struct  tstrSSLSetSockOptCmd
 
struct  tstrSSLSocketCreateCmd
 

Macros

#define PING_ERR_DEST_UNREACH   1
 
#define PING_ERR_SUCCESS   0
 
#define PING_ERR_TIMEOUT   2
 
#define SOCKET_CMD_ACCEPT   0x43
 
#define SOCKET_CMD_BIND   0x41
 
#define SOCKET_CMD_CLOSE   0x49
 
#define SOCKET_CMD_CONNECT   0x44
 
#define SOCKET_CMD_DNS_RESOLVE   0x4A
 
#define SOCKET_CMD_INVALID   0x00
 
#define SOCKET_CMD_LISTEN   0x42
 
#define SOCKET_CMD_PING   0x52
 
#define SOCKET_CMD_RECV   0x46
 
#define SOCKET_CMD_RECVFROM   0x48
 
#define SOCKET_CMD_SEND   0x45
 
#define SOCKET_CMD_SENDTO   0x47
 
#define SOCKET_CMD_SET_SOCKET_OPTION   0x4F
 
#define SOCKET_CMD_SSL_CLOSE   0x4E
 
#define SOCKET_CMD_SSL_CONNECT   0x4B
 
#define SOCKET_CMD_SSL_CREATE   0x50
 
#define SOCKET_CMD_SSL_RECV   0x4D
 
#define SOCKET_CMD_SSL_SEND   0x4C
 
#define SOCKET_CMD_SSL_SET_SOCK_OPT   0x51
 
#define SSL_MAX_OPT_LEN   HOSTNAME_MAX_SIZE
 

Typedefs

typedef sint8 SOCKET
 Definition for socket handler data type. Socket ID,used with all socket operations to uniquely identify the socket handler. The ID is uniquely assigned at socket creation when calling socket operation. More...
 
typedef tstrSockAddr tstrUIPSockAddr
 

Detailed Description

BSD compatible socket interface internal types.

Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.

Definition in file m2m_socket_host_if.h.

Macro Definition Documentation

◆ PING_ERR_DEST_UNREACH

#define PING_ERR_DEST_UNREACH   1

Definition at line 177 of file m2m_socket_host_if.h.

◆ PING_ERR_SUCCESS

#define PING_ERR_SUCCESS   0

Definition at line 176 of file m2m_socket_host_if.h.

◆ PING_ERR_TIMEOUT

#define PING_ERR_TIMEOUT   2

Definition at line 178 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_ACCEPT

#define SOCKET_CMD_ACCEPT   0x43

Socket Accepting command value.

Definition at line 84 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_BIND

#define SOCKET_CMD_BIND   0x41

Socket Binding command value.

Definition at line 72 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_CLOSE

#define SOCKET_CMD_CLOSE   0x49

Socket Close command value.

Definition at line 120 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_CONNECT

#define SOCKET_CMD_CONNECT   0x44

Socket Connecting command value.

Definition at line 90 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_DNS_RESOLVE

#define SOCKET_CMD_DNS_RESOLVE   0x4A

Socket DNS Resolve command value.

Definition at line 126 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_INVALID

#define SOCKET_CMD_INVALID   0x00

Invlaid Socket command value.

Definition at line 66 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_LISTEN

#define SOCKET_CMD_LISTEN   0x42

Socket Listening command value.

Definition at line 78 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_PING

#define SOCKET_CMD_PING   0x52

Definition at line 170 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_RECV

#define SOCKET_CMD_RECV   0x46

Socket Recieve command value.

Definition at line 102 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_RECVFROM

#define SOCKET_CMD_RECVFROM   0x48

Socket RecieveFrom command value.

Definition at line 114 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_SEND

#define SOCKET_CMD_SEND   0x45

Socket send command value.

Definition at line 96 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_SENDTO

#define SOCKET_CMD_SENDTO   0x47

Socket sendTo command value.

Definition at line 108 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_SET_SOCKET_OPTION

#define SOCKET_CMD_SET_SOCKET_OPTION   0x4F

Set Socket Option command value.

Definition at line 156 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_SSL_CLOSE

#define SOCKET_CMD_SSL_CLOSE   0x4E

SSL-Socket Close command value.

Definition at line 150 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_SSL_CONNECT

#define SOCKET_CMD_SSL_CONNECT   0x4B

SSL-Socket Connect command value.

Definition at line 132 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_SSL_CREATE

#define SOCKET_CMD_SSL_CREATE   0x50

Definition at line 162 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_SSL_RECV

#define SOCKET_CMD_SSL_RECV   0x4D

SSL-Socket Recieve command value.

Definition at line 144 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_SSL_SEND

#define SOCKET_CMD_SSL_SEND   0x4C

SSL-Socket Send command value.

Definition at line 138 of file m2m_socket_host_if.h.

◆ SOCKET_CMD_SSL_SET_SOCK_OPT

#define SOCKET_CMD_SSL_SET_SOCK_OPT   0x51

Definition at line 167 of file m2m_socket_host_if.h.

◆ SSL_MAX_OPT_LEN

#define SSL_MAX_OPT_LEN   HOSTNAME_MAX_SIZE

Definition at line 62 of file m2m_socket_host_if.h.

Typedef Documentation

◆ tstrUIPSockAddr

Definition at line 196 of file m2m_socket_host_if.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:06