1/**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 **************************************************************************** 11 ****************************************************************************/ 12#ifndef _LINUX_IF_FC_H 13#define _LINUX_IF_FC_H 14 15#define FC_ALEN 6 16#define FC_HLEN (sizeof(struct fch_hdr)+sizeof(struct fcllc)) 17#define FC_ID_LEN 3 18 19#define EXTENDED_SAP 0xAA 20#define UI_CMD 0x03 21 22struct fch_hdr { 23 __u8 daddr[FC_ALEN]; 24 __u8 saddr[FC_ALEN]; 25}; 26 27struct fcllc { 28 __u8 dsap; 29 __u8 ssap; 30 __u8 llc; 31 __u8 protid[3]; 32 __be16 ethertype; 33}; 34 35#endif 36