SO_DEBUG 允许调试 int SO_DONTROUTE 不查找 int SO_ERROR 获得套接字错误 int SO_KEEPALIVE 保持连接 int SO_LINGER 延迟关闭连接 struct linger SO_OOBINLINE 带外数据放入正常数据流 int SO_RCVBUF 接收缓冲区大小 int SO_SNDBUF 发送缓冲区大小 int SO_RCVLOWAT 接收缓冲区下限 int SO_SNDLOWAT 发送缓冲区...
#if LWIP_SO_SNDTIMEO u32_t time_started; #endif /* LWIP_SO_SNDTIMEO */ } w; /** read*/ struct { u32_t len; } r; #if LWIP_TCP /* close shutdown */ struct { u8_t shut; #if LWIP_SO_SNDTIMEO || LWIP_SO_LINGER u32_t time_started; #else /* LWIP_SO_SNDTIMEO || L...
{ u8_t shut; #if LWIP_SO_SNDTIMEO || LWIP_SO_LINGER u32_t time_started; #else /* LWIP_SO_SNDTIMEO || LWIP_SO_LINGER */ u8_t polls_left; #endif /* LWIP_SO_SNDTIMEO || LWIP_SO_LINGER */ } sd; #endif /* LWIP_TCP */ #if LWIP_IGMP || (LWIP_IPV6 && LWIP_IPV6_MLD...
/* @todo: When implementing SO_LINGER, this must be changed somehow: 00230 If SOF_LINGER is set, the data should be sent and acked before close returns.00231 This can only be valid for sequential APIs, not for the raw API. */ ...
针对recv_bufsize测试以限制recvmbox上的字节;用于UDP和RAW,用于FIONREAD */intrecv_avail;#endif/* LWIP_SO_RCVBUF */#ifLWIP_S_LINGER/* 值小于0表示禁用延迟,值大于0表示延迟的秒数 */s16_tlinger;#endif/* LWIP_S_LINGER */u8_tflags;//更多netconn内部状态的标志#ifLWIP_TCP/* TCP:当传递给net...
- Turn on the LWIP_SO-LINGER switch * Fri Nov 1 2024 yinbin <yinbin8@huawei.com> - 2.2.0-61 - IGMP: fix fix problem that can not join the sixteen igmp group * Mon Oct 14 2024 yinbin <yinbin8@huawei.com> - 2.2.0-60 - IPV6: Enable IPV6_FRAG_COPYHEADER macro to ada...
#define SO_LINGER 0x0080 /* 如果数据存在,则在关闭时逗留 */ #define SO_DONTLINGER ((int)(~...
+#define LWIP_SO_LINGER 0 -// rx cksum -#define CHECKSUM_CHECK_IP 1 /* master switch */ -#define CHECKSUM_CHECK_TCP 1 /* master switch */ -// tx cksum -#define CHECKSUM_GEN_IP 1 /* master switch */ -#define CHECKSUM_GEN_TCP 1 /* master switch */ +#define SO_...
#endif /* LWIP_SO_SNDTIMEO || LWIP_SO_LINGER */ } sd; #endif /* LWIP_TCP */ #if LWIP_IGMP || (LWIP_IPV6 && LWIP_IPV6_MLD) /* 用于函数 lwip_netconn_do_join_leave_group()参数 */ struct { API_MSG_M_DEF_C(ip_addr_t, netif_addr); ...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...