Commit Graph

10 Commits

Author SHA1 Message Date
Xiang Xiao
24b6f9199a examples/mld: Fix undefined reference to `mld_catfile'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I0948b75fe3aea2351c3584cda9bcb7dd41cdd1f9
2020-11-24 19:33:57 +01:00
chao.an
8750db6090 examples: fix nxstyle warning
Change-Id: I617d9033604a4a85ae065ed67b9aa6128218ae49
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-29 21:07:04 -05:00
chao.an
24407f16f5 net/sockopt: change the socket option style from Linux to BSD
Linux Programmer's Manual
...
IP(7)
...
NOTES
...
    Using the SOL_IP socket options level isn't portable;
    BSD-based stacks use the IPPROTO_IP level.

Change-Id: I143477d8884dd44913c5685028ee62854e4c11ac
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-29 21:07:04 -05:00
Xiang Xiao
857158451b Unify the void cast usage
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro

Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08:00
Xiang Xiao
e806097c70 Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard. 2019-10-06 06:14:56 -06:00
Gregory Nutt
aeabc12536 apps/examples/mld: Fix incorrect format of IPv6 Mulitcast address. This resolves the UPD sendto() problem of commit 09691dd48f that was being blamed on the UDP stack. Nope.. cockpit error. 2018-11-07 18:19:09 -06:00
Gregory Nutt
09691dd48f apps/examples/mld: Add logic to set up the routing table before attempting to send the multicast packet. Still some problem, probably in NuttX stack: Still reports that the the multicast address is unreachable. 2018-11-07 10:43:03 -06:00
Gregory Nutt
dc02239347 apps/examples/mld/mld_main.c: Improve test by periodically dumping the content of /proc/net/mld (if available). 2018-11-06 10:41:01 -06:00
Gregory Nutt
74ac55308c examples/mld/mld_main.c: ifdef out some bogus logic in the test. 2018-11-05 09:39:55 -06:00
Gregory Nutt
44e2505038 apps/examples/mld: Add a test of MLD. Not much of a test, but it does provide a mechansim for some low-level bring-up operations. 2018-11-04 18:21:32 -06:00