Merge tag 'fbdev-for-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[linux-block.git] / include / net / firewire.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
6752c8db
YH
2#ifndef _NET_FIREWIRE_H
3#define _NET_FIREWIRE_H
4
949d6b40
JK
5#include <linux/types.h>
6
6752c8db
YH
7/* Pseudo L2 address */
8#define FWNET_ALEN 16
9union fwnet_hwaddr {
10 u8 u[FWNET_ALEN];
11 /* "Hardware address" defined in RFC2734/RF3146 */
12 struct {
13 __be64 uniq_id; /* EUI-64 */
14 u8 max_rec; /* max packet size */
15 u8 sspd; /* max speed */
29192a17 16 u8 fifo[6]; /* FIFO addr */
6752c8db
YH
17 } __packed uc;
18};
19
20/* Pseudo L2 Header */
21#define FWNET_HLEN 18
22struct fwnet_header {
23 u8 h_dest[FWNET_ALEN]; /* destination address */
24 __be16 h_proto; /* packet type ID field */
25} __packed;
26
27#endif