On Tue, May 27, 2014 at 7:30 AM, Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote: >> 3. ipv6 >> >> Current IPv4 address space is near totaly exhausted >> (see https://www.icann.org/news/announcement-2-2014-05-20-en). >> I suppose with the lapse of time IPv6 will be used even in bootloaders :) >> picotcp gives you IPv6 just now. > > These features sound very nice. I hope we can get the binary size > impacts within sensible limits. Is it possible to disable TCP support in > picotcp? > Yes, you can disable each single component. E.g., to compile TCP out, use TCP=0, or just leave PICO_SUPPORT_TCP out. Some binary size figures for picotcp (compiled for arm, with -Os, symbols stripped): 1433 pico_arp.o (ex ./build/lib/libpicotcp.a) 1715 pico_dev_loop.o (ex ./build/lib/libpicotcp.a) 2956 pico_dhcp_client.o (ex ./build/lib/libpicotcp.a) 284 pico_dhcp_common.o (ex ./build/lib/libpicotcp.a) 1152 pico_dhcp_server.o (ex ./build/lib/libpicotcp.a) 2340 pico_dns_client.o (ex ./build/lib/libpicotcp.a) 1170 pico_icmp4.o (ex ./build/lib/libpicotcp.a) 1897 pico_icmp6.o (ex ./build/lib/libpicotcp.a) 3624 pico_igmp.o (ex ./build/lib/libpicotcp.a) 660 pico_ipfilter.o (ex ./build/lib/libpicotcp.a) 5560 pico_ipv4.o (ex ./build/lib/libpicotcp.a) 1216 pico_ipv6_nd.o (ex ./build/lib/libpicotcp.a) 4089 pico_ipv6.o (ex ./build/lib/libpicotcp.a) 2476 pico_mdns.o (ex ./build/lib/libpicotcp.a) 1428 pico_nat.o (ex ./build/lib/libpicotcp.a) 3294 pico_olsr.o (ex ./build/lib/libpicotcp.a) 612 pico_slaacv4.o (ex ./build/lib/libpicotcp.a) 928 pico_sntp_client.o (ex ./build/lib/libpicotcp.a) 766 pico_socket_tcp.o (ex ./build/lib/libpicotcp.a) 644 pico_socket_udp.o (ex ./build/lib/libpicotcp.a) 10542 pico_tcp.o (ex ./build/lib/libpicotcp.a) 684 pico_udp.o (ex ./build/lib/libpicotcp.a) 1375 pico_device.o (ex ./build/lib/libpicotcp.a) 434 pico_frame.o (ex ./build/lib/libpicotcp.a) 601 pico_protocol.o (ex ./build/lib/libpicotcp.a) 2636 pico_socket_multicast.o (ex ./build/lib/libpicotcp.a) 5018 pico_socket.o (ex ./build/lib/libpicotcp.a) 3079 pico_stack.o (ex ./build/lib/libpicotcp.a) 1188 pico_tree.o (ex ./build/lib/libpicotcp.a) 63801 (TOTALS) /d _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox