74 struct tcpip_uipstate {
79 #define UIP_APPCALL tcpip_uipcall 80 #define UIP_UDP_APPCALL tcpip_uipcall 81 #define UIP_ICMP6_APPCALL tcpip_icmp6_call 87 typedef struct tcpip_uipstate uip_icmp6_appstate_t;
89 void tcpip_uipcall(
void);
113 #define tcp_markconn(conn, appstate) tcp_attach(conn, appstate) 209 #define udp_markconn(conn, appstate) udp_attach(conn, appstate) 262 #define udp_bind(conn, port) uip_udp_bind(conn, port) 291 CCIF
extern process_event_t tcpip_icmp6_event;
312 void tcpip_icmp6_call(uint8_t type);
341 void tcpip_set_quotefunc(
bool (* f)(
const uip_ipaddr_t *destipaddr));
342 void tcpip_flow_on(
void);
350 void tcpip_set_outputfunc(uint8_t (* f)(
const uip_lladdr_t *));
353 void tcpip_set_outputfunc(uint8_t (* f)(
void));
360 void tcpip_ipv6_output(
void);
371 extern unsigned char tcpip_is_forwarding;
374 #define tcpip_set_forwarding(forwarding) tcpip_do_forwarding = (forwarding) void udp_attach(struct uip_udp_conn *conn, void *appstate)
CCIF void tcpip_input(void)
Deliver an incoming packet to the TCP/IP stack.
void tcpip_poll_tcp(struct uip_conn *conn)
struct uip_udp_conn * udp_broadcast_new(uint16_t port, void *appstate)
CCIF void tcp_attach(struct uip_conn *conn, void *appstate)
CCIF struct uip_conn * tcp_connect(uip_ipaddr_t *ripaddr, uint16_t port, void *appstate)
CCIF process_event_t tcpip_event
CCIF void tcp_listen(uint16_t port)
struct tcpip_uipstate uip_udp_appstate_t
unsigned char tcpip_do_forwarding
This function does address resolution and then calls tcpip_output.
#define PROCESS_NAME(name)
CCIF struct uip_udp_conn * udp_new(const uip_ipaddr_t *ripaddr, uint16_t port, void *appstate)
CCIF void tcp_unlisten(uint16_t port)
uip_tcp_appstate_t appstate
CCIF void tcpip_poll_udp(struct uip_udp_conn *conn)
struct tcpip_uipstate uip_tcp_appstate_t
uint8_t tcpip_output(void)
Output packet to layer 2 The eventual parameter is the MAC address of the destination.
uip_udp_appstate_t appstate