public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support
@ 2013-01-18  1:35 Chris Packham
  2013-01-18  1:35 ` [U-Boot] [RFC PATCH v2 1/5] Initial net6.h Chris Packham
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Chris Packham @ 2013-01-18  1:35 UTC (permalink / raw)
  To: u-boot

From: Chris Packham <chris.packham@alliedtelesis.co.nz>

This series so far covers the introduction of a IP6addr_t and
printing/parsing of addresses. I have a patch for testing these basic
things which I haven't included in this series yet. Is there a unittest
facility for u-boot I should be using?

A few open questions

1) Presumably the majority of the actual V6 code would be included by a
config option (CONFIG_IPV6). How far should I take that? Should the
vsprintf code be conditional?

2) Our current out of tree 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 IPaddr_t. I haven't looked at the usage
of this yet but to support V6 this may need to be a new union or a void
*.

Changes in v2:
 -use __be16/__be32
 -add ipv6_addr_v4mapped and ipv6_addr_is_isatap inline functions
 -Add support for printing mapped and ISATAP addresses

Chris Packham (5):
  Initial net6.h
  lib/vsprintf.c: add IPv6 compressed format %pI6c
  lib/net_utils.c: make string_to_ip stricter
  lib/net_utils.c: add string_to_ip6
  common.h: add getenv_IP6addr

 include/common.h |   6 +++
 include/net6.h   |  59 +++++++++++++++++++++++
 lib/net_utils.c  | 117 ++++++++++++++++++++++++++++++++++++++++++++-
 lib/vsprintf.c   | 143 +++++++++++++++++++++++++++++++++++++++++++++++--------
 4 files changed, 304 insertions(+), 21 deletions(-)
 create mode 100644 include/net6.h

-- 
1.7.12.rc2.16.g034161a

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

end of thread, other threads:[~2013-01-21 12:39 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-18  1:35 [U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support Chris Packham
2013-01-18  1:35 ` [U-Boot] [RFC PATCH v2 1/5] Initial net6.h Chris Packham
2013-01-18 21:15   ` Kim Phillips
2013-01-18  1:35 ` [U-Boot] [RFC PATCH v2 2/5] lib/vsprintf.c: add IPv6 compressed format %pI6c Chris Packham
2013-01-18  1:35 ` [U-Boot] [RFC PATCH v2 3/5] lib/net_utils.c: make string_to_ip stricter Chris Packham
2013-01-18  1:35 ` [U-Boot] [RFC PATCH v2 4/5] lib/net_utils.c: add string_to_ip6 Chris Packham
2013-01-18  1:35 ` [U-Boot] [RFC PATCH v2 5/5] common.h: add getenv_IP6addr Chris Packham
2013-01-18  8:20 ` [U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support Albert ARIBAUD
2013-01-18  9:39   ` Chris Packham
2013-01-18 10:16     ` Sergey Lapin
2013-01-18 10:44     ` Wolfgang Denk
2013-01-18 18:41       ` Joe Hershberger
2013-01-20  9:47         ` Chris Packham
2013-01-20  9:44       ` Chris Packham
2013-01-20 21:00         ` Albert ARIBAUD
2013-01-20 21:25           ` Chris Packham
2013-01-21  0:51         ` Chris Packham
2013-01-21 12:37           ` Wolfgang Denk
2013-01-18 10:25   ` Wolfgang Denk
2013-01-18 10:23 ` Wolfgang Denk
2013-01-20  9:24   ` Chris Packham
2013-01-21 12:39     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox