Table of contents
- FNET Overview
- FNET Demo Applications
- FNET How-To
-
FNET API
-
FNET Configuration Parameters
-
Stack Configuration Parameters
- IPv6-Specific Configuration Parameters
- IPv4-Specific Configuration Parameters
- FNET_CFG_ASSET
- FNET_CFG_TCP
- FNET_CFG_LOOPBACK
- FNET_CFG_LOOPBACK_NAME
- FNET_CFG_LOOPBACK_MULTICAST
- FNET_CFG_LOOPBACK_BROADCAST
- FNET_CFG_LOOPBACK_MTU
- FNET_CFG_MULTICAST
- FNET_CFG_MULTICAST_MAX
- FNET_CFG_MULTICAST_SOCKET_MAX
- FNET_CFG_ARP_TABLE_SIZE
- FNET_CFG_ARP_EXPIRE_TIMEOUT
- FNET_CFG_TCP_DISCARD_OUT_OF_ORDER
- FNET_CFG_TCP_URGENT
- FNET_CFG_UDP
- FNET_CFG_UDP_CHECKSUM
- FNET_CFG_RAW
- FNET_CFG_MULTITHREADING
- FNET_CFG_SOCKET_MAX
- FNET_CFG_SOCKET_BSD_NAMES
- FNET_CFG_SOCKET_CALLBACK_ON_RX
- FNET_CFG_SOCKET_TCP_MSS
- FNET_CFG_SOCKET_TCP_TX_BUF_SIZE
- FNET_CFG_SOCKET_TCP_RX_BUF_SIZE
- FNET_CFG_SOCKET_UDP_TX_BUF_SIZE
- FNET_CFG_SOCKET_UDP_RX_BUF_SIZE
- FNET_CFG_SOCKET_RAW_TX_BUF_SIZE
- FNET_CFG_SOCKET_RAW_RX_BUF_SIZE
- FNET_CFG_IP_MAX_PACKET
- FNET_CFG_TIMER_POLL_AUTOMATIC
- FNET_CFG_ASSERT
- FNET_CFG_OVERLOAD_MEMCPY
-
Platform-Specific Configuration Parameters
-
Ethernet Module Configuration Parameters
- FNET_CFG_CPU_ETH0
- FNET_CFG_CPU_ETH1
- FNET_CFG_CPU_ETH0_NAME
- FNET_CFG_CPU_ETH1_NAME
- FNET_CFG_CPU_WIFI_NAME
- FNET_CFG_CPU_ETH0_PHY_ADDR
- FNET_CFG_CPU_ETH1_PHY_ADDR
- FNET_CFG_CPU_ETH_PHY_ADDR_DISCOVER
- FNET_CFG_CPU_ETH0_MTU
- FNET_CFG_CPU_ETH1_MTU
- FNET_CFG_CPU_ETH0_VECTOR_NUMBER
- FNET_CFG_CPU_ETH1_VECTOR_NUMBER
- FNET_CFG_CPU_ETH_VECTOR_PRIORITY
- FNET_CFG_CPU_ETH_TX_BUFS_MAX
- FNET_CFG_CPU_ETH_RX_BUFS_MAX
- FNET_CFG_CPU_ETH_ATONEGOTIATION_TIMEOUT
- FNET_CFG_CPU_ETH_PROMISCUOUS
- FNET_CFG_CPU_ETH_FULL_DUPLEX
- FNET_CFG_CPU_ETH_RMII
- FNET_CFG_CPU_ETH_RMII_10T
- FNET_CFG_CPU_ETH_MIB
- FNET_CFG_CPU_ETH_HW_TX_PROTOCOL_CHECKSUM
- FNET_CFG_CPU_ETH_HW_TX_IP_CHECKSUM
- FNET_CFG_CPU_ETH_HW_RX_PROTOCOL_CHECKSUM
- FNET_CFG_CPU_ETH_HW_RX_IP_CHECKSUM
- FNET_CFG_CPU_ETH_HW_RX_MAC_ERR
- FNET_CFG_CPU_ETH_IO_INIT
- FNET_CFG_CPU_WIFI
- FNET_CFG_CPU_WIFI_FW_UPDATE
- FNET_CFG_CPU_WIFI_IO_INIT
- ColdFire Platform Configuration Parameters
- FNET_CFG_COMP_compiler_type
- FNET_CFG_CPU_processor_type
- FNET_CFG_CPU_LITTLE_ENDIAN
- FNET_CFG_CPU_CLOCK_HZ
- FNET_CFG_CPU_SERIAL_PORT_DEFAULT
- FNET_CFG_CPU_SERIAL_IO_INIT
- FNET_CFG_CPU_VECTOR_TABLE
- FNET_CFG_CPU_VECTOR_TABLE_IS_IN_RAM
- FNET_CFG_CPU_TIMER_NUMBER_MAX
- FNET_CFG_CPU_VECTOR_PRIORITY_MAX
- FNET_CFG_CPU_TIMER_VECTOR_PRIORITY
- FNET_CFG_CPU_CACHE
- FNET_CFG_CPU_CACHE_INVALIDATE
- FNET_CFG_CPU_FLASH
- FNET_CFG_CPU_FLASH_ADDRESS
- FNET_CFG_CPU_FLASH_SIZE
- FNET_CFG_CPU_FLASH_PAGE_SIZE
- FNET_CFG_CPU_FLASH_PROGRAM_SIZE
- FNET_CFG_CPU_FLASH_VERIFY
-
Ethernet Module Configuration Parameters
-
Service-Specific Configuration Parameters
- DHCPv4 Client Configuration Parameters
- DHCPv4 Server Configuration Parameters
- Auto-IP Service Configuration Parameters
- Benchmark Server Configuration Parameters
- Benchmark Client Configuration Parameters
- DNS Client Configuration Parameters
- Link-Detection Service Configuration Parameters
- LLMNR Server Configuration Parameters
- MDNS Server Configuration Parameters
- Flash Driver Configuration Parameters
- File System Configuration Parameters
- HTTP Server Configuration Parameters
- PING Service Configuration Parameters
- SNTP Client Configuration Parameters
- Serial Library Configuration Parameters
- Shell Service Configuration Parameters
- Telnet Server Configuration Parameters
- TFTP Server and Client Configuration Parameters
- TLS (Transport Layer Security) Configuration Parameters
- FNET_CFG_SERVICE_MAX
-
Stack Configuration Parameters
-
FNET Stack API
- Stack Initialization API
-
Sockets API
- fnet_ip6_addr_t
- fnet_in_addr
- fnet_sockaddr_in
- fnet_in6_addr
- fnet_sockaddr_in6
- fnet_sockaddr
- fnet_ip_mreq
- fnet_ipv6_mreq
- fnet_linger
- FNET_HTONS
- FNET_NTOHS
- FNET_HTONL
- FNET_NTOHL
- FNET_IP4_ADDR_INIT
- FNET_IP4_ADDR_STR_SIZE
- FNET_IP6_ADDR_STR_SIZE
- INADDR_ANY
- INADDR_BROADCAST
- AF_UNSPEC
- AF_INET
- AF_INET6
- AF_SUPPORTED
- FNET_SA_DATA_SIZE
- FNET_IP_ADDR_STR_SIZE
- fnet_ip4_addr_t
- fnet_address_family_t
- fnet_scope_id_t
- fnet_socket_t
- fnet_socket_type_t
- fnet_socket_state_t
- fnet_protocol_t
-
fnet_socket_options_t
- SO_ACCEPTCONN
- SO_KEEPALIVE
- SO_DONTROUTE
- SO_LINGER
- SO_OOBINLINE
- SO_SNDBUF
- SO_RCVBUF
- SO_STATE
- SO_ERROR
- SO_TYPE
- SO_RCVNUM
- SO_SNDNUM
- TCP_MSS
- TCP_BSD
- TCP_NODELAY
- TCP_FINRCVD
- TCP_URGRCVD
- TCP_KEEPIDLE
- TCP_KEEPINTVL
- TCP_KEEPCNT
- IP_TOS
- IP_TTL
- IP_MULTICAST_TTL
- IP_ADD_MEMBERSHIP
- IP_DROP_MEMBERSHIP
- IPV6_UNICAST_HOPS
- IPV6_MULTICAST_HOPS
- IPV6_JOIN_GROUP
- IPV6_LEAVE_GROUP
- fnet_msg_flags_t
- fnet_sd_flags_t
- fnet_htons
- fnet_ntohs
- fnet_htonl
- fnet_ntohl
- fnet_inet_ntoa
- fnet_inet_aton
- fnet_inet_ntop
- fnet_inet_pton
- fnet_inet_ptos
- fnet_socket
- fnet_socket_bind
- fnet_socket_listen
- fnet_socket_accept
- fnet_socket_connect
- fnet_socket_recv
- fnet_socket_recvfrom
- fnet_socket_send
- fnet_socket_sendto
- fnet_socket_shutdown
- fnet_socket_close
- fnet_socket_setopt
- fnet_socket_getopt
- fnet_socket_getpeername
- fnet_socket_getname
- fnet_socket_addr_are_equal
- fnet_socket_addr_is_unspecified
- fnet_socket_addr_is_multicast
- fnet_socket_set_callback_on_rx
-
Error Codes API
-
fnet_error_t
- FNET_ERR_OK
- FNET_ERR_NO_DESC
- FNET_ERR_NOMEM
- FNET_ERR_AGAIN
- FNET_ERR_BOUNDREQ
- FNET_ERR_INVAL
- FNET_ERR_DESTADDRREQ
- FNET_ERR_MSGSIZE
- FNET_ERR_NOPROTOOPT
- FNET_ERR_PROTONOSUPPORT
- FNET_ERR_OPNOTSUPP
- FNET_ERR_AFNOSUPPORT
- FNET_ERR_ADDRINUSE
- FNET_ERR_ADDRNOTAVAIL
- FNET_ERR_NETUNREACH
- FNET_ERR_CONNABORTED
- FNET_ERR_CONNRESET
- FNET_ERR_ISCONN
- FNET_ERR_NOTCONN
- FNET_ERR_SHUTDOWN
- FNET_ERR_INPROGRESS
- FNET_ERR_TIMEDOUT
- FNET_ERR_HOSTUNREACH
- FNET_ERR_SYSNOTREADY
- FNET_ERR_CONNCLOSED
- FNET_ERR_IPDISABLED
- FNET_ERR_BAD_DESC
- fnet_error_get
- fnet_error_set
-
fnet_error_t
-
Network Interfaces API
-
Wi-Fi Interface API
- fnet_wifi_connect_params_t
- fnet_wifi_access_point_params_t
- FNET_WIFI_SSID_SIZE
- FNET_WIFI_PASSPHRASE_SIZE_MAX
- FNET_WIFI_PASSPHRASE_SIZE_MIN
- fnet_wifi_op_mode_t
- fnet_wifi_wpa_mode_t
- fnet_wifi_connect
- fnet_wifi_disconnect
- fnet_wifi_access_point
- fnet_wifi_get_op_mode
- fnet_wifi_fw_get_version
- fnet_wifi_fw_update
- fnet_netif_statistics
- fnet_netif_ip6_addr_info
- fnet_netif_ip6_prefix
- fnet_netif_ip6_neighbor_cache
- FNET_MAC_ADDR_STR_SIZE
- FNET_ETH_MTU
- FNET_MAC_ADDR_INIT
- FNET_NETIF_NAMELEN
- FNET_NETIF_LL_ADDR_COPY
- FNET_NETIF_LL_ADDR_ARE_EQUAL
- fnet_mac_addr_t
- fnet_netif_desc_t
- fnet_netif_ll_addr_t
- fnet_netif_ip6_addr_info_t
- fnet_netif_ip6_prefix_t
- fnet_netif_ip6_neighbor_cache_t
- fnet_netif_callback_ip4_addr_conflict_t
- fnet_netif_type_t
- fnet_netif_ip6_addr_state_t
- fnet_netif_ip_addr_type_t
- fnet_mac_to_str
- fnet_str_to_mac
- fnet_netif_get_by_name
- fnet_netif_get_by_number
- fnet_netif_get_by_ip4_addr
- fnet_netif_get_name
- fnet_netif_set_default
- fnet_netif_get_default
- fnet_netif_set_ip4_addr
- fnet_netif_get_ip4_addr
- fnet_netif_set_ip4_subnet_mask
- fnet_netif_get_ip4_subnet_mask
- fnet_netif_set_ip4_gateway
- fnet_netif_get_ip4_gateway
- fnet_netif_set_ip4_dns
- fnet_netif_get_ip4_dns
- fnet_netif_set_hw_addr
- fnet_netif_get_hw_addr
- fnet_netif_get_type
- fnet_netif_get_ip4_addr_type
- fnet_netif_set_ip4_addr_type
- fnet_netif_is_connected
- fnet_netif_get_statistics
- fnet_netif_set_callback_on_ip4_addr_conflict
- fnet_netif_is_ip4_addr_conflict
- fnet_netif_clear_ip4_addr_conflict
- fnet_netif_join_ip4_multicast
- fnet_netif_leave_ip4_multicast
- fnet_netif_join_ip6_multicast
- fnet_netif_leave_ip6_multicast
- fnet_netif_get_ip6_addr
- fnet_netif_get_ip6_dns
- fnet_netif_bind_ip6_addr
- fnet_netif_unbind_ip6_addr
- fnet_netif_get_ip6_prefix
- fnet_netif_get_ip6_neighbor_cache
- fnet_netif_get_scope_id
- fnet_netif_get_mtu
- fnet_netif_get_by_scope_id
- fnet_netif_get_by_sockaddr
- fnet_netif_init
- fnet_netif_release
- fnet_netif_is_initialized
-
Wi-Fi Interface API
- ARP cache API
- Timer API
- Version Definitions
-
CPU-specific library API
- FNET_CPU_ADDR_TO_INSTRUCTION
- FNET_CPU_INSTRUCTION_TO_ADDR
- FNET_CPU_NETIF_NUMBER
- fnet_cpu_irq_desc_t
- fnet_cpu_reset
- fnet_cpu_irq_disable
- fnet_cpu_irq_enable
- fnet_cpu_serial_putchar
- fnet_cpu_serial_getchar
- fnet_cpu_serial_init
- fnet_cpu_cache_invalidate
- fnet_cpu_flash_erase
- fnet_cpu_flash_write
- fnet_cpu_isr
-
Standard library API
- FNET_NULL
- FNET_RAND_MAX
- fnet_size_t
- fnet_ssize_t
- fnet_flag_t
- fnet_index_t
- fnet_char_t
- fnet_bool_t
- fnet_return_t
- fnet_memcpy
- fnet_memcpy_func
- fnet_memset
- fnet_memset_zero
- fnet_memcmp
- fnet_strlen
- fnet_strcat
- fnet_strncat
- fnet_strcpy
- fnet_strncpy
- fnet_strrchr
- fnet_strchr
- fnet_strstr
- fnet_strcmp
- fnet_strncmp
- fnet_strcasecmp
- fnet_strcmp_splitter
- fnet_strtoul
- fnet_strtok_r
- fnet_tolower
- fnet_rand
- fnet_srand
-
FNET Service API
-
HTTP server API
- fnet_http_tls_params
- fnet_http_params
- fnet_http_auth
- fnet_http_cgi
- fnet_http_post
- fnet_http_ssi
- FNET_HTTP_VERSION_MAJOR
- FNET_HTTP_VERSION_MINOR
- FNET_HTTP_CGI_EXTENSION
- FNET_HTTP_SSI_EXTENSION
- fnet_http_desc_t
- fnet_http_session_t
- fnet_http_cgi_handle_t
- fnet_http_cgi_send_t
- fnet_http_post_handle_t
- fnet_http_post_receive_t
- fnet_http_post_send_t
- fnet_http_ssi_handle_t
- fnet_http_ssi_send_t
-
fnet_http_status_code_t
- FNET_HTTP_STATUS_CODE_NONE
- FNET_HTTP_STATUS_CODE_OK
- FNET_HTTP_STATUS_CODE_CREATED
- FNET_HTTP_STATUS_CODE_ACCEPTED
- FNET_HTTP_STATUS_CODE_NO_CONTENT
- FNET_HTTP_STATUS_CODE_MOVED_PERMANENTLY
- FNET_HTTP_STATUS_CODE_MOVED_TEMPORARILY
- FNET_HTTP_STATUS_CODE_NOT_MODIFIED
- FNET_HTTP_STATUS_CODE_BAD_REQUEST
- FNET_HTTP_STATUS_CODE_UNAUTHORIZED
- FNET_HTTP_STATUS_CODE_FORBIDDEN
- FNET_HTTP_STATUS_CODE_NOT_FOUND
- FNET_HTTP_STATUS_CODE_INTERNAL_SERVER_ERROR
- FNET_HTTP_STATUS_CODE_NOT_IMPLEMENTED
- FNET_HTTP_STATUS_CODE_BAD_GATEWAY
- FNET_HTTP_STATUS_CODE_SERVICE_UNAVAILABLE
- fnet_http_auth_scheme_t
- fnet_http_init
- fnet_http_release
- fnet_http_is_enabled
- fnet_http_query_unencode
- fnet_http_set_response_status_code
- fnet_http_set_response_content_length
- fnet_http_set_response_no_header
- TELNET server API
-
DHCPv4/BOOTP client API
- fnet_dhcp_cln_params
- fnet_dhcp_cln_options
- FNET_DHCP_CLN_LEASE_INFINITY
- FNET_DHCP_CLN_LEASE_MIN
- fnet_dhcp_cln_desc_t
- fnet_dhcp_cln_callback_t
- fnet_dhcp_cln_init
- fnet_dhcp_cln_release
- fnet_dhcp_cln_get_options
- fnet_dhcp_cln_set_callback_updated
- fnet_dhcp_cln_set_callback_discover
- fnet_dhcp_cln_is_enabled
- fnet_dhcp_cln_get_by_netif
- DHCPv4 server API
- DNS client/resolver API
- AUTOIP service API
- Benchmark server API
- Benchmark client API
- Link-Detection service API
- LLMNR server/responder API
-
MDNS (Bonjour) server/responder API
- fnet_mdns_params
- fnet_mdns_txt_key
- fnet_mdns_service
- fnet_mdns_txt_key_t
- fnet_mdns_service_t
- fnet_mdns_desc_t
- fnet_mdns_service_desc_t
- fnet_mdns_init
- fnet_mdns_release
- fnet_mdns_service_register
- fnet_mdns_service_unregister
- fnet_mdns_service_get_by_type
- fnet_mdns_announce
- fnet_mdns_is_enabled
- fnet_mdns_get_by_netif
- PING service API
- SNTP client API
-
TFTP API
- TFTP client API
- TFTP server API
- FNET_TFTP_DATA_SIZE_MAX
- fnet_tftp_request_t
- fnet_tftp_error_t
- TLS API
- Flash driver API
-
File System API
- ROM File System API
- fnet_fs_dirent
- FNET_FS_SPLITTER
- FNET_FS_EOF
- fnet_fs_dir_t
- fnet_fs_file_t
- fnet_fs_seek_origin_t
- fnet_fs_d_type_t
- fnet_fs_init
- fnet_fs_release
- fnet_fs_mount
- fnet_fs_unmount
- fnet_fs_opendir
- fnet_fs_closedir
- fnet_fs_readdir
- fnet_fs_rewinddir
- fnet_fs_fopen
- fnet_fs_fopen_re
- fnet_fs_fclose
- fnet_fs_fread
- fnet_fs_rewind
- fnet_fs_feof
- fnet_fs_fgetc
- fnet_fs_fseek
- fnet_fs_ftell
- fnet_fs_finfo
-
Shell service API
- fnet_shell_command
- fnet_shell
- fnet_shell_params
- FNET_SHELL_QUOTE_SYMBOL
- FNET_SHELL_ESCAPE_SYMBOL
- FNET_SHELL_COMMAND_SPLITTER
- fnet_shell_desc_t
- fnet_shell_cmd_function_t
- fnet_shell_state_t
- fnet_shell_init
- fnet_shell_release
- fnet_shell_help
- fnet_shell_script
- fnet_shell_script_stop
- fnet_shell_block
- fnet_shell_unblock
- fnet_shell_printf
- fnet_shell_println
- fnet_shell_putchar
- fnet_shell_getchar
- fnet_shell_switch
- fnet_shell_is_ctrlc
-
Serial Input/Output library API
- fnet_serial_stream
- FNET_SERIAL_STREAM_PORT0
- FNET_SERIAL_STREAM_PORT1
- FNET_SERIAL_STREAM_PORT2
- FNET_SERIAL_STREAM_PORT3
- FNET_SERIAL_STREAM_PORT4
- FNET_SERIAL_STREAM_PORT5
- FNET_SERIAL_STREAM_DEFAULT
- fnet_serial_stream_t
- fnet_serial_putchar
- fnet_serial_getchar
- fnet_serial_flush
- fnet_putchar
- fnet_getchar
- fnet_serial_printf
- fnet_serial_vprintf
- fnet_printf
- fnet_println
- fnet_sprintf
- fnet_snprintf
- fnet_service_desc_t
- fnet_service_poll_t
- fnet_service_poll
- fnet_service_register
- fnet_service_unregister
-
HTTP server API
-
FNET Configuration Parameters
-
Data Structures
- fnet_arp_entry_info
- fnet_autoip_params
- fnet_bench_cln_params
- fnet_bench_cln_result
- fnet_bench_srv_params
- fnet_bench_srv_result
- fnet_dhcp_cln_options
- fnet_dhcp_cln_params
- fnet_dhcp_srv_addr_pool_info_t
- fnet_dhcp_srv_params
- fnet_dns_params
- fnet_dns_resolved_addr
- fnet_fs_dirent
- fnet_fs_rom_image
- fnet_fs_rom_node
- fnet_http_auth
- fnet_http_cgi
- fnet_http_params
- fnet_http_post
- fnet_http_ssi
- fnet_http_tls_params
- fnet_in6_addr
- fnet_in_addr
- fnet_init_params
- fnet_ip6_addr_t
- fnet_ip_mreq
- fnet_ipv6_mreq
- fnet_linger
- fnet_link_params
- fnet_llmnr_params
- fnet_mdns_params
- fnet_mdns_service
- fnet_mdns_txt_key
- fnet_mutex_api_t
- fnet_netif_ip4_addr_t
- fnet_netif_ip6_addr_info
- fnet_netif_ip6_neighbor_cache
- fnet_netif_ip6_prefix
- fnet_netif_statistics
- fnet_ping_params
- fnet_serial_stream
- fnet_shell
- fnet_shell_command
- fnet_shell_params
- fnet_sntp_params
- fnet_sntp_timestamp_t
- fnet_sntp_utc_t
- fnet_sockaddr
- fnet_sockaddr_in
- fnet_sockaddr_in6
- fnet_telnet_params
- fnet_tftp_cln_params
- fnet_tftp_srv_params
- fnet_tls_params
- fnet_wifi_access_point_params_t
- fnet_wifi_connect_params_t
- Data Fields