📄 tcpip.h
字号:
/* */#ifndef _TCPIP_H_#define _TCPIP_H_void tcpip_init(void (* tcpip_init_done)(void *), void *arg);void tcpip_apimsg(struct api_msg *apimsg);err_t tcpip_input(struct pbuf *p, struct netif *inp);err_t tcpip_callback(void (*f)(void *ctx), void *ctx);void tcpip_tcp_timer_needed(void);enum tcpip_msg_type { TCPIP_MSG_API, TCPIP_MSG_INPUT, TCPIP_MSG_CALLBACK};struct tcpip_msg { enum tcpip_msg_type type; sys_sem_t *sem; union { struct api_msg *apimsg; struct { struct pbuf *p; struct netif *netif; } inp; struct { void (*f)(void *ctx); void *ctx; } cb; } msg;};#endif /* __LWIP_TCPIP_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -