74struct tcpip_uipstate {
79#define UIP_APPCALL tcpip_uipcall
80#define UIP_UDP_APPCALL tcpip_uipcall
81#define UIP_ICMP6_APPCALL tcpip_icmp6_call
87typedef struct tcpip_uipstate uip_icmp6_appstate_t;
89void tcpip_uipcall(
void);
112#define tcp_markconn(conn, appstate) tcp_attach(conn, appstate)
208#define udp_markconn(conn, appstate) udp_attach(conn, appstate)
261#define udp_bind(conn, port) uip_udp_bind(conn, port)
358extern unsigned char tcpip_is_forwarding;
361#define tcpip_set_forwarding(forwarding) tcpip_do_forwarding = (forwarding)
#define PROCESS_NAME(name)
Declare the name of a process.
void tcp_unlisten(uint16_t port)
Close a listening TCP port.
void udp_attach(struct uip_udp_conn *conn, void *appstate)
Attach the current process to a UDP connection.
process_event_t tcpip_event
The uIP event.
struct uip_conn * tcp_connect(const uip_ipaddr_t *ripaddr, uint16_t port, void *appstate)
Open a TCP connection to the specified IP address and port.
struct uip_udp_conn * udp_new(const uip_ipaddr_t *ripaddr, uint16_t port, void *appstate)
Create a new UDP connection.
void tcp_attach(struct uip_conn *conn, void *appstate)
Attach a TCP connection to the current process.
uint8_t tcpip_output(const uip_lladdr_t *)
Output packet to layer 2 The eventual parameter is the MAC address of the destination.
void tcpip_icmp6_call(uint8_t type)
This function is called at reception of an ICMPv6 packet If an application registered as an ICMPv6 li...
void tcpip_poll_tcp(struct uip_conn *conn)
Cause a specified TCP connection to be polled.
struct uip_udp_conn * udp_broadcast_new(uint16_t port, void *appstate)
Create a new UDP broadcast connection.
unsigned char tcpip_do_forwarding
Is forwarding generally enabled?
uint8_t icmp6_new(void *appstate)
register an ICMPv6 callback
void tcpip_poll_udp(struct uip_udp_conn *conn)
Cause a specified UDP connection to be polled.
void tcpip_ipv6_output(void)
This function does address resolution and then calls tcpip_output.
process_event_t tcpip_icmp6_event
The ICMP6 event.
void tcpip_input(void)
Deliver an incoming packet to the TCP/IP stack.
void tcp_listen(uint16_t port)
Open a TCP port.
struct tcpip_uipstate uip_tcp_appstate_t
The type of the application state that is to be stored in the uip_conn structure.
struct tcpip_uipstate uip_udp_appstate_t
The type of the application state that is to be stored in the uip_conn structure.
Representation of a uIP TCP connection.
uip_ipaddr_t ripaddr
The IP address of the remote host.
Representation of a uIP UDP connection.
uip_ipaddr_t ripaddr
The IP address of the remote peer.
uip_udp_appstate_t appstate
The application state.
Header file for the uIP TCP/IP stack.