blob: 52a189049a2e54c7b789b6deccf3b035195a98b5 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _LINUX_IF_FC_H
8#define _LINUX_IF_FC_H
9#include <linux/types.h>
10#define FC_ALEN 6
Tao Baod7db5942015-01-28 10:07:51 -080011#define FC_HLEN (sizeof(struct fch_hdr) + sizeof(struct fcllc))
Ben Cheng655a7c02013-10-16 16:09:24 -070012#define FC_ID_LEN 3
13#define EXTENDED_SAP 0xAA
14#define UI_CMD 0x03
Ben Cheng655a7c02013-10-16 16:09:24 -070015struct fch_hdr {
Tao Baod7db5942015-01-28 10:07:51 -080016 __u8 daddr[FC_ALEN];
17 __u8 saddr[FC_ALEN];
Ben Cheng655a7c02013-10-16 16:09:24 -070018};
Ben Cheng655a7c02013-10-16 16:09:24 -070019struct fcllc {
Tao Baod7db5942015-01-28 10:07:51 -080020 __u8 dsap;
21 __u8 ssap;
22 __u8 llc;
Tao Baod7db5942015-01-28 10:07:51 -080023 __u8 protid[3];
24 __be16 ethertype;
Ben Cheng655a7c02013-10-16 16:09:24 -070025};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080026#endif