All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [RFC PATCH 0/8] IPv6 support
@ 2015-10-12  7:43 Chris Packham
  2015-10-12  7:43 ` [U-Boot] [RFC PATCH 1/8] Initial net6.h Chris Packham
                   ` (9 more replies)
  0 siblings, 10 replies; 31+ messages in thread
From: Chris Packham @ 2015-10-12  7:43 UTC (permalink / raw)
  To: u-boot

This series adds basic IPv6 support to U-boot. It is a reboot of my
earlier work on this[1]. Technically this is v4 of the series but with
the amount of time that has passed, rebasing and running though
checkpatch as well as the support for TFTP I've decided to reset the
counter back to 1.

Most of this is ported from Allied Telesis' additions to u-boot[2].
(Note that I am employed by Allied Telesis[3]). The hard work was done
some time ago by Angga, I've cleaned it up and made some improvements
with the hope of getting it accepted upstream.

A few open issues/questions

1) Presumably the majority of the actual V6 code would be included by a
config option. How far should I take that? Should the vsprintf code be
conditional? I'm also not sure where to draw the line between
CONFIG_NET6 and CONFIG_CMD_NET6, CONFIG_NET and CONFIG_CMD_NET look
similarly confused.

2) This code parallels net.c and net.h. Should I
continue this for the final version or integrate it into net.[ch].

3) rxhand_f currently takes an struct in_addr *. TFTP doesn't use this
(I haven't looked at other users). To support V6 this may need to be a
new union, a void * with some kind of flag or nothing if no rxhandler
actually cares.

Regards,
Chris
--
[1] - http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/151390
[2] - http://www.alliedtelesis.co.nz/support/gpl/other.html
[3] - some of this has been done on work time, other parts have been
      done in my personal time. Since I'm subscribed to the list using
      my gmail account I've signed using that.



Chris Packham (8):
  Initial net6.h
  lib: vsprintf: add IPv6 compressed format %pI6c
  lib: net_utils: make string_to_ip stricter
  lib: net_utils: add string_to_ip6
  net: ipv6 support
  net: TFTP over IPv6
  net: IPv6 documentation
  net: e1000 enable multicast reception

 README                 |   3 +
 common/Kconfig         |  15 ++
 common/cmd_net.c       |  41 +++++
 doc/README.ipv6        |  34 ++++
 drivers/net/e1000.c    |   5 +
 include/env_callback.h |   9 +
 include/env_flags.h    |  10 ++
 include/net.h          |   5 +-
 include/net6.h         | 280 +++++++++++++++++++++++++++++++
 lib/net_utils.c        | 132 ++++++++++++++-
 lib/vsprintf.c         | 144 +++++++++++++---
 net/Kconfig            |   5 +
 net/Makefile           |   3 +
 net/ndisc.c            | 269 ++++++++++++++++++++++++++++++
 net/ndisc.h            |  27 +++
 net/net.c              |  39 ++++-
 net/net6.c             | 439 +++++++++++++++++++++++++++++++++++++++++++++++++
 net/ping6.c            | 111 +++++++++++++
 net/tftp.c             |  37 +++++
 19 files changed, 1583 insertions(+), 25 deletions(-)
 create mode 100644 doc/README.ipv6
 create mode 100644 include/net6.h
 create mode 100644 net/ndisc.c
 create mode 100644 net/ndisc.h
 create mode 100644 net/net6.c
 create mode 100644 net/ping6.c

-- 
2.5.3

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2015-11-09  2:49 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-12  7:43 [U-Boot] [RFC PATCH 0/8] IPv6 support Chris Packham
2015-10-12  7:43 ` [U-Boot] [RFC PATCH 1/8] Initial net6.h Chris Packham
2015-11-02 20:32   ` Joe Hershberger
2015-10-12  7:43 ` [U-Boot] [RFC PATCH 2/8] lib: vsprintf: add IPv6 compressed format %pI6c Chris Packham
2015-11-02 20:42   ` Joe Hershberger
2015-10-12  7:43 ` [U-Boot] [RFC PATCH 3/8] lib: net_utils: make string_to_ip stricter Chris Packham
2015-11-02 20:42   ` Joe Hershberger
2015-11-09  2:49   ` Chris Packham
2015-10-12  7:43 ` [U-Boot] [RFC PATCH 4/8] lib: net_utils: add string_to_ip6 Chris Packham
2015-11-02 20:43   ` Joe Hershberger
2015-10-12  7:43 ` [U-Boot] [RFC PATCH 5/8] net: ipv6 support Chris Packham
2015-11-02 20:43   ` Joe Hershberger
2015-11-03 10:11     ` Chris Packham
2015-11-03 19:41       ` Joe Hershberger
2015-11-03 20:54         ` Chris Packham
2015-11-03 21:03           ` Joe Hershberger
2015-10-12  7:43 ` [U-Boot] [RFC PATCH 6/8] net: TFTP over IPv6 Chris Packham
2015-11-02 20:43   ` Joe Hershberger
2015-11-03 10:15     ` Chris Packham
2015-11-03 19:43       ` Joe Hershberger
2015-11-04  8:42         ` Chris Packham
2015-11-04  8:46           ` Angga
2015-11-05 21:45           ` Joe Hershberger
2015-11-03 10:41     ` Jean-Pierre Tosoni
2015-11-03 19:44       ` Joe Hershberger
2015-10-12  7:43 ` [U-Boot] [RFC PATCH 7/8] net: IPv6 documentation Chris Packham
2015-11-02 20:43   ` Joe Hershberger
2015-10-12  7:43 ` [U-Boot] [RFC PATCH 8/8] net: e1000 enable multicast reception Chris Packham
2015-11-02 20:44   ` Joe Hershberger
2015-10-12  8:36 ` [U-Boot] [RFC PATCH 0/8] IPv6 support Jean-Pierre Tosoni
2015-11-02 20:41 ` Joe Hershberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.