Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1347069

Re: [v2, 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from <linux/if_ether.h>

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [v2, 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from <linux/if_ether.h>
Date 2016-03-01 23:30 +0100
Message-ID <r80XN-6Zi-39@gated-at.bofh.it> (permalink)
References <r02tK-33a-59@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2016-08-02 at 22:27:04 UTC, Luis Henriques wrote:
> Instead of defining a local version of struct ethhdr use the standard
> definition from <linux/if_ether.h>.
> 
> The fields in the <linux/if_ether.h> definition have different names:
>  - dest -> h_dest
>  - src -> h_source
>  - type -> h_proto
> 
> While there, use a few other standard functions/macros:
>  - eth_broadcast_addr (instead of a memset)
>  - ETH_ALEN
>  - ETH_P_8021Q
> 
> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/497abcf6afe2d85f047fbf1373

cheers

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [v2, 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from <linux/if_ether.h> Michael Ellerman <mpe@ellerman.id.au> - 2016-03-01 23:30 +0100

csiph-web