netfilter: nf_tables: set transport offset from mac header for netdev/egress
[platform/kernel/linux-rpi.git] / include / net / ethoc.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * linux/include/net/ethoc.h
4  *
5  * Copyright (C) 2008-2009 Avionic Design GmbH
6  *
7  * Written by Thierry Reding <thierry.reding@avionic-design.de>
8  */
9
10 #ifndef LINUX_NET_ETHOC_H
11 #define LINUX_NET_ETHOC_H 1
12
13 #include <linux/if.h>
14 #include <linux/types.h>
15
16 struct ethoc_platform_data {
17         u8 hwaddr[IFHWADDRLEN];
18         s8 phy_id;
19         u32 eth_clkfreq;
20         bool big_endian;
21 };
22
23 #endif /* !LINUX_NET_ETHOC_H */