User`s guide
KwikNet Low Level Services
K
A
DAK
143
4.6 KwikNet Library Services
The KwikNet Library provides a set of network services from which the real-time system
designer can choose. Many of the services are optional and, if not used or configured
into your KwikNet Library, will not even be present in your final KwikNet system.
The following list summarizes the KwikNet low level service procedures which are
accessible to the user. These procedures are all present in the KwikNet Library. They are
grouped functionally for easy reference.
kn_enter Launch the KwikNet TCP/IP Stack
kn_exit Terminate the KwikNet TCP/IP Stack
kn_godown Initiate a shutdown of the KwikNet TCP/IP Stack
kn_state Sense the operating state of the KwikNet TCP/IP Stack
kn_panic Generate a KwikNet fatal error
kn_yield Yield to the KwikNet Task (single threaded use only)
kn_addserver Install (add) a server function (single threaded use only)
kn_fmt Format a text string
kn_dprintf Format and log a text message
kn_logbuffree Free a KwikNet log buffer
kn_netevent Notify application of a significant network event
(this function must be provided by your application)
kn_netstats Log KwikNet network statistics
kn_ifadd Add a network interface
kn_ifopen Open a network interface
kn_ifclose Close a network interface
kn_ifmodem Attach the modem driver to a network interface
kn_ifnethook Register a network hook procedure for a network interface
kn_ifaddress Get the IP address of a local network interface
kn_iffind Find a network interface with a specific network tag
kn_ifnext Find next available network interface
kn_ifinfo Fetch information about a network interface
kn_ifstate Query the state of a network interface
kn_inet_addr Convert a dotted decimal IP address to numeric form
kn_inet_ntoa Convert a numeric IP address to dotted decimal string form
kn_udpopen Open a UDP channel to send/receive UDP datagrams on a network
kn_udpclose Close a UDP channel
kn_udpbind Bind a local IP address and port to a UDP channel
kn_udpsend Send a UDP datagram on a network
kn_udpfree Free a received UDP message packet
kn_cksum Compute an IP checksum
...more