Introduce and use print_ip and print_ipv6
Get series with b4
b4 am 1190271211.26101.91.camel@localhostVersions newest first
- v1 Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Introduce and use print_ip | +0 | 1 reply | |
| 2/2 | Introduce and use print_ipv6 | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH - net-2.6.24 0/2] Introduce and use print_ip and print_ipv6
In the same vein as print_mac, the implementations introduce declaration macros:
DECLARE_IP_BUF(var) DECLARE_IPV6_BUF(var)
and functions:
print_ip
print_ipv6
print_ipv6_nofmt
IPV4 Use:
DECLARE_IP_BUF(ipbuf); __be32 addr; print_ip(ipbuf, addr);
IPV6 use:
DECLARE_IPV6_BUF(ipv6buf); const struct in6_addr *addr; print_ipv6(ipv6buf, addr); and print_ipv6_nofmt(ipv6buf, addr);
compiled x86, defconfig and allyesconfig