On Fri, 19 Oct 2012 09:04:14 +0200
Eric Dumazet wrote:
> Yes they are some names discrepancies, thats a big deal.
>
> And we have alloc_skb() / kfree_skb() / skb_clone()
>
> Why not skb_alloc() / skb_free() / skb_clone() ?
>
> Some people actually know current code by name of functions, they
On Thu, 2012-10-18 at 20:55 -0700, Joe Perches wrote:
> ethernet, ipv4, and ipv6 address testing uses 3 different api naming styles.
>
> ethernet uses:is__ether_addr
> ipv4 uses:ipv4_is_
> ipv6 uses:ipv6_addr_
>
> Standardize on the ipv6 style of _addr_ to reduce
> the number of s
Convert the old ether_addr tests to eth_addr_.
Adds api consistency.
Signed-off-by: Joe Perches
---
arch/arm/mach-davinci/board-mityomapl138.c |2 +-
arch/arm/mach-pxa/colibri-pxa3xx.c |2 +-
arch/avr32/boards/atngw100/setup.c |2 +-
arch/avr32/boards/atstk1000/atstk1
ethernet, ipv4, and ipv6 address testing uses 3 different api naming styles.
ethernet uses: is__ether_addr
ipv4 uses: ipv4_is_
ipv6 uses: ipv6_addr_
Standardize on the ipv6 style of _addr_ to reduce
the number of styles to remember.
The new consistent styles are:
eth_addr_(const u8 *