mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 22:17:18 +00:00
inet/ipv4_setsockopt.c: In function ‘ipv4_setsockopt’:
inet/ipv4_setsockopt.c:200:19: error: invalid use of undefined type ‘struct udp_conn_s’
200 | conn->ttl = ttl;
| ^~
inet/ipv4_setsockopt.c:223:19: error: invalid use of undefined type ‘struct udp_conn_s’
223 | conn->flags |= _UDP_FLAG_PKTINFO;
| ^~
inet/ipv4_setsockopt.c:223:30: error: ‘_UDP_FLAG_PKTINFO’ undeclared (first use in this function)
223 | conn->flags |= _UDP_FLAG_PKTINFO;
| ^~~~~~~~~~~~~~~~~
inet/ipv4_setsockopt.c:223:30: note: each undeclared identifier is reported only once for each function it appears in
inet/ipv4_setsockopt.c:227:19: error: invalid use of undefined type ‘struct udp_conn_s’
227 | conn->flags &= ~_UDP_FLAG_PKTINFO;
Signed-off-by: ligd <liguiding1@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| inet.h | ||
| inet_globals.c | ||
| inet_sockif.c | ||
| inet_txdrain.c | ||
| ipv4_getpeername.c | ||
| ipv4_getsockname.c | ||
| ipv4_setsockopt.c | ||
| ipv6_getpeername.c | ||
| ipv6_getsockname.c | ||
| ipv6_setsockopt.c | ||
| Kconfig | ||
| Make.defs | ||