Data Structures | Macros | Typedefs | Enumerations

SimpleLink NetApp. More...

+ Collaboration diagram for NetApp:

Data Structures

struct  _slHttpServerData_t
 
struct  _slHttpServerPostData_t
 
struct  _slHttpServerString_t
 
struct  SlHttpServerEvent_t
 
union  SlHttpServerEventData_u
 
struct  SlHttpServerResponse_t
 
union  SlHttpServerResponsedata_u
 
struct  SlNetAppDhcpServerBasicOpt_t
 
struct  SlNetAppGetFullServiceIpv4List_t
 
struct  SlNetAppGetFullServiceWithTextIpv4List_t
 
struct  SlNetAppGetShortServiceIpv4List_t
 
struct  SlNetAppServiceAdvertiseTimingParameters_t
 
struct  SlPingReport_t
 
struct  SlPingStartCommand_t
 

Macros

#define MAX_ACTION_LEN   (30)
 
#define MAX_AUTH_NAME_LEN   (20)
 
#define MAX_AUTH_PASSWORD_LEN   (20)
 
#define MAX_AUTH_REALM_LEN   (20)
 
#define MAX_DEVICE_URN_LEN   (15+1)
 
#define MAX_DOMAIN_NAME_LEN   (24+1)
 
#define MAX_INPUT_STRING   (64) /* because of WPA */
 
#define MAX_TOKEN_NAME_LEN   (20)
 
#define MAX_TOKEN_VALUE_LEN   MAX_INPUT_STRING
 
#define NETAPP_MAX_SERVICE_HOST_NAME_SIZE   (64)
 
#define NETAPP_MAX_SERVICE_NAME_SIZE   (60)
 
#define NETAPP_MAX_SERVICE_TEXT_SIZE   (256)
 
#define NETAPP_SET_DHCP_SRV_BASIC_OPT   (0)
 
#define NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN   (0)
 
#define NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME   (1)
 
#define NETAPP_SET_GET_DNS_OPT_DOMAIN_NAME   (0)
 
#define NETAPP_SET_GET_HTTP_OPT_AUTH_CHECK   (1)
 
#define NETAPP_SET_GET_HTTP_OPT_AUTH_NAME   (2)
 
#define NETAPP_SET_GET_HTTP_OPT_AUTH_PASSWORD   (3)
 
#define NETAPP_SET_GET_HTTP_OPT_AUTH_REALM   (4)
 
#define NETAPP_SET_GET_HTTP_OPT_PORT_NUMBER   (0)
 
#define NETAPP_SET_GET_HTTP_OPT_ROM_PAGES_ACCESS   (5)
 
#define NETAPP_SET_GET_MDNS_CONT_QUERY_OPT   (1)
 
#define NETAPP_SET_GET_MDNS_QEVETN_MASK_OPT   (2)
 
#define NETAPP_SET_GET_MDNS_TIMING_PARAMS_OPT   (3)
 
#define SL_ERROR_DEVICE_NAME_INVALID   (-118)
 
#define SL_ERROR_DEVICE_NAME_LEN_ERR   (-117)
 
#define SL_ERROR_DOMAIN_NAME_INVALID   (-120)
 
#define SL_ERROR_DOMAIN_NAME_LEN_ERR   (-119)
 
#define SL_ERROR_NETAPP_RX_BUFFER_LENGTH_ERROR   (-230)
 
#define SL_NET_APP_DEVICE_CONFIG_ID   (16)
 
#define SL_NET_APP_DHCP_SERVER_ID   (2)
 
#define SL_NET_APP_DNS_BAD_ADDRESS_ERROR   (-164) /* Improperly formatted IPv4 or IPv6 address */
 
#define SL_NET_APP_DNS_BAD_ID_ERROR   (-167) /* DNS packet from server does not match query ID */
 
#define SL_NET_APP_DNS_BUFFER_SIZE_ERROR   (-206) /* List size buffer is bigger than internally allowed in the NWP */
 
#define SL_NET_APP_DNS_DUPLICATE_ENTRY   (-175) /* Duplicate entry exists in DNS server table */
 
#define SL_NET_APP_DNS_EMPTY_DNS_SERVER_LIST   (-171) /* DNS Client's list of DNS servers is empty */
 
#define SL_NET_APP_DNS_ERROR   (-160) /* DNS internal error */
 
#define SL_NET_APP_DNS_ERROR_SERVICE_NAME_ERROR   (-204) /* Illegal service name according to the RFC */
 
#define SL_NET_APP_DNS_GET_SERVICE_LIST_FLAG_ERROR   (-208)
 
#define SL_NET_APP_DNS_HOST_NAME_ERROR   (-181) /* Host name error. Host name format is not allowed according to RFC 1033,1034,1035, 6763 */
 
#define SL_NET_APP_DNS_IDENTICAL_SERVICES_ERROR   (-201) /* Trying to register a service that is already exists */
 
#define SL_NET_APP_DNS_MALFORMED_PACKET   (-166) /* Improperly formed or corrupted DNS packet received */
 
#define SL_NET_APP_DNS_MAX_SERVICES_ERROR   (-200) /* Maximum advertise services are already configured */
 
#define SL_NET_APP_DNS_MISMATCHED_RESPONSE   (-174) /* Server response type does not match the query request*/
 
#define SL_NET_APP_DNS_NAME_MISMATCH   (-179) /* Illegal service name according to the RFC */
 
#define SL_NET_APP_DNS_NET_APP_SET_ERROR   (-207) /* Illegal length of one of the mDNS Set functions */
 
#define SL_NET_APP_DNS_NO_ANSWER   (-177) /* No response for one-shot query */
 
#define SL_NET_APP_DNS_NO_CONFIGURATION_ERROR   (-209)
 
#define SL_NET_APP_DNS_NO_KNOWN_ANSWER   (-178) /* No known answer for query */
 
#define SL_NET_APP_DNS_NO_MORE_ENTRIES   (-182) /* No more entries be found. */
 
#define SL_NET_APP_DNS_NO_SERVER   (-161) /* No DNS server was specified */
 
#define SL_NET_APP_DNS_NOT_EXISTED_SERVICE_ERROR   (-203) /* Trying to delete service that does not existed */
 
#define SL_NET_APP_DNS_NOT_STARTED   (-180) /* mDNS is not running */
 
#define SL_NET_APP_DNS_PACKET_CREATE_ERROR   (-170) /* Error creating DNS packet */
 
#define SL_NET_APP_DNS_PARAM_ERROR   (-168) /* Invalid non pointer input to API */
 
#define SL_NET_APP_DNS_QUERY_FAILED   (-163) /* DNS query failed; no DNS server sent an 'answer' */
 
#define SL_NET_APP_DNS_QUERY_NO_RESPONSE   (-159) /* DNS query failed, no response */
 
#define SL_NET_APP_DNS_RETRY_A_QUERY   (-176) /* SOA status returned; web site only exists as IPv4 */
 
#define SL_NET_APP_DNS_RX_PACKET_ALLOCATION_ERROR   (-205) /* Retry request */
 
#define SL_NET_APP_DNS_SERVER_AUTH_ERROR   (-172) /* Server not able to authenticate answer/authority data*/
 
#define SL_NET_APP_DNS_SERVER_NOT_FOUND   (-169) /* Server not found in Client list of DNS servers */
 
#define SL_NET_APP_DNS_SIZE_ERROR   (-165) /* DNS destination size is too small */
 
#define SL_NET_APP_DNS_TIMEOUT   (-162) /* DNS timeout occured */
 
#define SL_NET_APP_DNS_ZERO_GATEWAY_IP_ADDRESS   (-173) /* DNS Client IP instance has a zero gateway IP address */
 
#define SL_NET_APP_HTTP_SERVER_ID   (1)
 
#define SL_NET_APP_MASK_ALL_TYPE_OF_SERVICE   (0xFFFFFFFF)
 
#define SL_NET_APP_MASK_DEVICE_INFO_TYPE_OF_SERVICE   (0x00000002)
 
#define SL_NET_APP_MASK_GUID_TYPE_OF_SERVICE   (0x00000020)
 
#define SL_NET_APP_MASK_H323_TYPE_OF_SERVICE   (0x00000040)
 
#define SL_NET_APP_MASK_HTTP_TYPE_OF_SERVICE   (0x00000004)
 
#define SL_NET_APP_MASK_HTTPS_TYPE_OF_SERVICE   (0x00000008)
 
#define SL_NET_APP_MASK_IPP_TYPE_OF_SERVICE   (0x00000001)
 
#define SL_NET_APP_MASK_NTP_TYPE_OF_SERVICE   (0x00000080)
 
#define SL_NET_APP_MASK_OBJECITVE_TYPE_OF_SERVICE   (0x00000100)
 
#define SL_NET_APP_MASK_RAOP_TYPE_OF_SERVICE   (0x00080000)
 
#define SL_NET_APP_MASK_RDP_TYPE_OF_SERVICE   (0x00000200)
 
#define SL_NET_APP_MASK_REMOTE_TYPE_OF_SERVICE   (0x00000400)
 
#define SL_NET_APP_MASK_RTSP_TYPE_OF_SERVICE   (0x00000800)
 
#define SL_NET_APP_MASK_SIP_TYPE_OF_SERVICE   (0x00001000)
 
#define SL_NET_APP_MASK_SMB_TYPE_OF_SERVICE   (0x00002000)
 
#define SL_NET_APP_MASK_SOAP_TYPE_OF_SERVICE   (0x00004000)
 
#define SL_NET_APP_MASK_SSH_TYPE_OF_SERVICE   (0x00008000)
 
#define SL_NET_APP_MASK_TELNET_TYPE_OF_SERVICE   (0x00010000)
 
#define SL_NET_APP_MASK_TFTP_TYPE_OF_SERVICE   (0x00020000)
 
#define SL_NET_APP_MASK_WORKSATION_TYPE_OF_SERVICE   (0x00000010)
 
#define SL_NET_APP_MASK_XMPP_CLIENT_TYPE_OF_SERVICE   (0x00040000)
 
#define SL_NET_APP_MDNS_ID   (4)
 
#define SL_NETAPP_FAMILY_MASK   (0x80)
 
#define SL_NETAPP_HTTPSETTOKENVALUE   (1)
 
#define SL_NETAPP_RESPONSE_NONE   (0)
 

Typedefs

typedef void(* P_SL_DEV_PING_CALLBACK )(SlPingReport_t *)
 
typedef struct _slHttpServerData_t slHttpServerData_t
 
typedef struct
_slHttpServerPostData_t 
slHttpServerPostData_t
 
typedef struct
_slHttpServerString_t 
slHttpServerString_t
 

Enumerations

enum  SlNetAppGetServiceListType_e
 

Detailed Description


Data Structure Documentation

struct _slHttpServerData_t

Data Fields

_u8 name_len
 
_u8token_name
 
_u8token_value
 
_u8 value_len
 

Field Documentation

_u8 name_len
_u8* token_name
_u8* token_value
_u8 value_len
struct _slHttpServerPostData_t
+ Collaboration diagram for _slHttpServerPostData_t:

Data Fields

slHttpServerString_t action
 
slHttpServerString_t token_name
 
slHttpServerString_t token_value
 

Field Documentation

slHttpServerString_t token_value
struct _slHttpServerString_t

Data Fields

_u8data
 
_u8 len
 

Field Documentation

_u8* data
_u8 len
struct SlHttpServerEvent_t
+ Collaboration diagram for SlHttpServerEvent_t:

Data Fields

_u32 Event
 
SlHttpServerEventData_u EventData
 

Field Documentation

_u32 Event
union SlHttpServerEventData_u
+ Collaboration diagram for SlHttpServerEventData_u:

Data Fields

slHttpServerPostData_t httpPostData
 
slHttpServerString_t httpTokenName
 

Field Documentation

slHttpServerPostData_t httpPostData
slHttpServerString_t httpTokenName
struct SlHttpServerResponse_t
+ Collaboration diagram for SlHttpServerResponse_t:

Data Fields

_u32 Response
 
SlHttpServerResponsedata_u ResponseData
 

Field Documentation

_u32 Response
union SlHttpServerResponsedata_u
+ Collaboration diagram for SlHttpServerResponsedata_u:

Data Fields

slHttpServerString_t token_value
 

Field Documentation

slHttpServerString_t token_value
struct SlNetAppDhcpServerBasicOpt_t

Data Fields

_u32 ipv4_addr_last
 
_u32 ipv4_addr_start
 
_u32 lease_time
 

Field Documentation

_u32 ipv4_addr_last
_u32 ipv4_addr_start
_u32 lease_time
struct SlNetAppGetFullServiceIpv4List_t
struct SlNetAppGetFullServiceWithTextIpv4List_t
struct SlNetAppGetShortServiceIpv4List_t

Data Fields

_u16 Reserved
 
_u32 service_ipv4
 
_u16 service_port
 

Field Documentation

_u16 Reserved
_u32 service_ipv4
_u16 service_port
struct SlNetAppServiceAdvertiseTimingParameters_t

Data Fields

_u32 k
 
_u32 max_time
 
_u32 Maxinterval
 
_u32 p
 
_u32 RetransInterval
 
_u32 t
 

Field Documentation

_u32 k
_u32 max_time
_u32 Maxinterval
_u32 p
_u32 RetransInterval
_u32 t
struct SlPingReport_t

Data Fields

_u16 AvgRoundTime
 
_u16 MaxRoundTime
 
_u16 MinRoundTime
 
_u32 PacketsReceived
 
_u32 PacketsSent
 
_u32 TestTime
 

Field Documentation

_u16 AvgRoundTime
_u16 MaxRoundTime
_u16 MinRoundTime
_u32 PacketsReceived
_u32 PacketsSent
_u32 TestTime
struct SlPingStartCommand_t

Data Fields

_u32 Flags
 
_u32 Ip
 
_u32 Ip1OrPaadding
 
_u32 Ip2OrPaadding
 
_u32 Ip3OrPaadding
 
_u32 PingIntervalTime
 
_u16 PingRequestTimeout
 
_u16 PingSize
 
_u32 TotalNumberOfAttempts
 

Field Documentation

_u32 Flags
_u32 Ip
_u32 Ip1OrPaadding
_u32 Ip2OrPaadding
_u32 Ip3OrPaadding
_u32 PingIntervalTime
_u16 PingRequestTimeout
_u16 PingSize
_u32 TotalNumberOfAttempts

Macro Definition Documentation

#define MAX_ACTION_LEN   (30)
#define MAX_AUTH_NAME_LEN   (20)
#define MAX_AUTH_PASSWORD_LEN   (20)
#define MAX_AUTH_REALM_LEN   (20)
#define MAX_DEVICE_URN_LEN   (15+1)
#define MAX_DOMAIN_NAME_LEN   (24+1)
#define MAX_INPUT_STRING   (64) /* because of WPA */
#define MAX_TOKEN_NAME_LEN   (20)
#define MAX_TOKEN_VALUE_LEN   MAX_INPUT_STRING
#define NETAPP_MAX_SERVICE_HOST_NAME_SIZE   (64)
#define NETAPP_MAX_SERVICE_NAME_SIZE   (60)
#define NETAPP_MAX_SERVICE_TEXT_SIZE   (256)
#define NETAPP_SET_DHCP_SRV_BASIC_OPT   (0)
#define NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN   (0)
#define NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME   (1)
#define NETAPP_SET_GET_DNS_OPT_DOMAIN_NAME   (0)
#define NETAPP_SET_GET_HTTP_OPT_AUTH_CHECK   (1)
#define NETAPP_SET_GET_HTTP_OPT_AUTH_NAME   (2)
#define NETAPP_SET_GET_HTTP_OPT_AUTH_PASSWORD   (3)
#define NETAPP_SET_GET_HTTP_OPT_AUTH_REALM   (4)
#define NETAPP_SET_GET_HTTP_OPT_PORT_NUMBER   (0)
#define NETAPP_SET_GET_HTTP_OPT_ROM_PAGES_ACCESS   (5)
#define NETAPP_SET_GET_MDNS_CONT_QUERY_OPT   (1)
#define NETAPP_SET_GET_MDNS_QEVETN_MASK_OPT   (2)
#define NETAPP_SET_GET_MDNS_TIMING_PARAMS_OPT   (3)
#define SL_ERROR_DEVICE_NAME_INVALID   (-118)
#define SL_ERROR_DEVICE_NAME_LEN_ERR   (-117)
#define SL_ERROR_DOMAIN_NAME_INVALID   (-120)
#define SL_ERROR_DOMAIN_NAME_LEN_ERR   (-119)
#define SL_ERROR_NETAPP_RX_BUFFER_LENGTH_ERROR   (-230)
#define SL_NET_APP_DEVICE_CONFIG_ID   (16)
#define SL_NET_APP_DHCP_SERVER_ID   (2)
#define SL_NET_APP_DNS_BAD_ADDRESS_ERROR   (-164) /* Improperly formatted IPv4 or IPv6 address */
#define SL_NET_APP_DNS_BAD_ID_ERROR   (-167) /* DNS packet from server does not match query ID */
#define SL_NET_APP_DNS_BUFFER_SIZE_ERROR   (-206) /* List size buffer is bigger than internally allowed in the NWP */
#define SL_NET_APP_DNS_DUPLICATE_ENTRY   (-175) /* Duplicate entry exists in DNS server table */
#define SL_NET_APP_DNS_EMPTY_DNS_SERVER_LIST   (-171) /* DNS Client's list of DNS servers is empty */
#define SL_NET_APP_DNS_ERROR   (-160) /* DNS internal error */
#define SL_NET_APP_DNS_ERROR_SERVICE_NAME_ERROR   (-204) /* Illegal service name according to the RFC */
#define SL_NET_APP_DNS_GET_SERVICE_LIST_FLAG_ERROR   (-208)
#define SL_NET_APP_DNS_HOST_NAME_ERROR   (-181) /* Host name error. Host name format is not allowed according to RFC 1033,1034,1035, 6763 */
#define SL_NET_APP_DNS_IDENTICAL_SERVICES_ERROR   (-201) /* Trying to register a service that is already exists */
#define SL_NET_APP_DNS_MALFORMED_PACKET   (-166) /* Improperly formed or corrupted DNS packet received */
#define SL_NET_APP_DNS_MAX_SERVICES_ERROR   (-200) /* Maximum advertise services are already configured */
#define SL_NET_APP_DNS_MISMATCHED_RESPONSE   (-174) /* Server response type does not match the query request*/
#define SL_NET_APP_DNS_NAME_MISMATCH   (-179) /* Illegal service name according to the RFC */
#define SL_NET_APP_DNS_NET_APP_SET_ERROR   (-207) /* Illegal length of one of the mDNS Set functions */
#define SL_NET_APP_DNS_NO_ANSWER   (-177) /* No response for one-shot query */
#define SL_NET_APP_DNS_NO_CONFIGURATION_ERROR   (-209)
#define SL_NET_APP_DNS_NO_KNOWN_ANSWER   (-178) /* No known answer for query */
#define SL_NET_APP_DNS_NO_MORE_ENTRIES   (-182) /* No more entries be found. */
#define SL_NET_APP_DNS_NO_SERVER   (-161) /* No DNS server was specified */
#define SL_NET_APP_DNS_NOT_EXISTED_SERVICE_ERROR   (-203) /* Trying to delete service that does not existed */
#define SL_NET_APP_DNS_NOT_STARTED   (-180) /* mDNS is not running */
#define SL_NET_APP_DNS_PACKET_CREATE_ERROR   (-170) /* Error creating DNS packet */
#define SL_NET_APP_DNS_PARAM_ERROR   (-168) /* Invalid non pointer input to API */
#define SL_NET_APP_DNS_QUERY_FAILED   (-163) /* DNS query failed; no DNS server sent an 'answer' */
#define SL_NET_APP_DNS_QUERY_NO_RESPONSE   (-159) /* DNS query failed, no response */
#define SL_NET_APP_DNS_RETRY_A_QUERY   (-176) /* SOA status returned; web site only exists as IPv4 */
#define SL_NET_APP_DNS_RX_PACKET_ALLOCATION_ERROR   (-205) /* Retry request */
#define SL_NET_APP_DNS_SERVER_AUTH_ERROR   (-172) /* Server not able to authenticate answer/authority data*/
#define SL_NET_APP_DNS_SERVER_NOT_FOUND   (-169) /* Server not found in Client list of DNS servers */
#define SL_NET_APP_DNS_SIZE_ERROR   (-165) /* DNS destination size is too small */
#define SL_NET_APP_DNS_TIMEOUT   (-162) /* DNS timeout occured */
#define SL_NET_APP_DNS_ZERO_GATEWAY_IP_ADDRESS   (-173) /* DNS Client IP instance has a zero gateway IP address */
#define SL_NET_APP_HTTP_SERVER_ID   (1)
#define SL_NET_APP_MASK_ALL_TYPE_OF_SERVICE   (0xFFFFFFFF)
#define SL_NET_APP_MASK_DEVICE_INFO_TYPE_OF_SERVICE   (0x00000002)
#define SL_NET_APP_MASK_GUID_TYPE_OF_SERVICE   (0x00000020)
#define SL_NET_APP_MASK_H323_TYPE_OF_SERVICE   (0x00000040)
#define SL_NET_APP_MASK_HTTP_TYPE_OF_SERVICE   (0x00000004)
#define SL_NET_APP_MASK_HTTPS_TYPE_OF_SERVICE   (0x00000008)
#define SL_NET_APP_MASK_IPP_TYPE_OF_SERVICE   (0x00000001)
#define SL_NET_APP_MASK_NTP_TYPE_OF_SERVICE   (0x00000080)
#define SL_NET_APP_MASK_OBJECITVE_TYPE_OF_SERVICE   (0x00000100)
#define SL_NET_APP_MASK_RAOP_TYPE_OF_SERVICE   (0x00080000)
#define SL_NET_APP_MASK_RDP_TYPE_OF_SERVICE   (0x00000200)
#define SL_NET_APP_MASK_REMOTE_TYPE_OF_SERVICE   (0x00000400)
#define SL_NET_APP_MASK_RTSP_TYPE_OF_SERVICE   (0x00000800)
#define SL_NET_APP_MASK_SIP_TYPE_OF_SERVICE   (0x00001000)
#define SL_NET_APP_MASK_SMB_TYPE_OF_SERVICE   (0x00002000)
#define SL_NET_APP_MASK_SOAP_TYPE_OF_SERVICE   (0x00004000)
#define SL_NET_APP_MASK_SSH_TYPE_OF_SERVICE   (0x00008000)
#define SL_NET_APP_MASK_TELNET_TYPE_OF_SERVICE   (0x00010000)
#define SL_NET_APP_MASK_TFTP_TYPE_OF_SERVICE   (0x00020000)
#define SL_NET_APP_MASK_WORKSATION_TYPE_OF_SERVICE   (0x00000010)
#define SL_NET_APP_MASK_XMPP_CLIENT_TYPE_OF_SERVICE   (0x00040000)
#define SL_NET_APP_MDNS_ID   (4)
#define SL_NETAPP_FAMILY_MASK   (0x80)
#define SL_NETAPP_HTTPSETTOKENVALUE   (1)
#define SL_NETAPP_RESPONSE_NONE   (0)

Typedef Documentation

typedef void(* P_SL_DEV_PING_CALLBACK)(SlPingReport_t *)

Enumeration Type Documentation

Enumerator
SL_NET_APP_FULL_SERVICE_WITH_TEXT_IPV4_TYPE 
SL_NET_APP_FULL_SERVICE_IPV4_TYPE 
SL_NET_APP_SHORT_SERVICE_IPV4_TYPE 

This documentation file has been automatically generated on Fri Oct 4 2019 03:47:32 by doxygen 1.8.8