nuttx/net/inet
ligd f72bab20b6 inet: fix compile failed if not define UDP
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>
2022-11-28 08:16:59 +01:00
..
inet_globals.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
inet_sockif.c net/get/setsockopt: add si_get/setsockopt interface to simply get/setsockopt 2022-11-23 15:01:54 +08:00
inet_txdrain.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
inet.h net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
ipv4_getpeername.c net/inet: move socket flags into socket_conn_s 2022-02-10 15:04:33 -03:00
ipv4_getsockname.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
ipv4_setsockopt.c inet: fix compile failed if not define UDP 2022-11-28 08:16:59 +01:00
ipv6_getpeername.c net/inet: move socket flags into socket_conn_s 2022-02-10 15:04:33 -03:00
ipv6_getsockname.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
ipv6_setsockopt.c udp: add IPVx_PKTINFO related support 2022-09-07 10:49:47 +08:00
Kconfig
Make.defs net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00