mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
net/tcp/udp: move the send callback into tcp/udp structure
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
cfee589a4a
commit
39e142243d
@@ -264,13 +264,6 @@ struct socket
|
||||
/* Socket interface */
|
||||
|
||||
FAR const struct sock_intf_s *s_sockif;
|
||||
|
||||
#if defined(CONFIG_NET_TCP_WRITE_BUFFERS) || \
|
||||
defined(CONFIG_NET_UDP_WRITE_BUFFERS)
|
||||
/* Callback instance for TCP send() or UDP sendto() */
|
||||
|
||||
FAR struct devif_callback_s *s_sndcb;
|
||||
#endif
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user