FDDI: Reformat <linux/if_fddi.h> for 8-character tabs
Some of our FDDI support code has been apparently written with an assumption that tabs are 4-character wide. In preparation to the next change this update reformats <linux/if_fddi.h> so that it stays within 79 columns and otherwise renders correctly with 8-character tabs. No functional change. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
22e7987ae7
commit
eb11022dca
@ -33,12 +33,16 @@
|
||||
#define FDDI_K_ALEN 6 /* Octets in one FDDI address */
|
||||
#define FDDI_K_8022_HLEN 16 /* Total octets in 802.2 header */
|
||||
#define FDDI_K_SNAP_HLEN 21 /* Total octets in 802.2 SNAP header */
|
||||
#define FDDI_K_8022_ZLEN 16 /* Min octets in 802.2 frame sans FCS */
|
||||
#define FDDI_K_SNAP_ZLEN 21 /* Min octets in 802.2 SNAP frame sans FCS */
|
||||
#define FDDI_K_8022_ZLEN 16 /* Min octets in 802.2 frame sans
|
||||
FCS */
|
||||
#define FDDI_K_SNAP_ZLEN 21 /* Min octets in 802.2 SNAP frame sans
|
||||
FCS */
|
||||
#define FDDI_K_8022_DLEN 4475 /* Max octets in 802.2 payload */
|
||||
#define FDDI_K_SNAP_DLEN 4470 /* Max octets in 802.2 SNAP payload */
|
||||
#define FDDI_K_LLC_ZLEN 13 /* Min octets in LLC frame sans FCS */
|
||||
#define FDDI_K_LLC_LEN 4491 /* Max octets in LLC frame sans FCS */
|
||||
#define FDDI_K_OUI_LEN 3 /* Octets in OUI in 802.2 SNAP
|
||||
header */
|
||||
|
||||
/* Define FDDI Frame Control (FC) Byte values */
|
||||
#define FDDI_FC_K_VOID 0x00
|
||||
@ -78,7 +82,6 @@ struct fddi_8022_2_hdr {
|
||||
} __attribute__((packed));
|
||||
|
||||
/* Define 802.2 SNAP header */
|
||||
#define FDDI_K_OUI_LEN 3
|
||||
struct fddi_snap_hdr {
|
||||
__u8 dsap; /* always 0xAA */
|
||||
__u8 ssap; /* always 0xAA */
|
||||
@ -92,8 +95,7 @@ struct fddihdr {
|
||||
__u8 fc; /* frame control */
|
||||
__u8 daddr[FDDI_K_ALEN]; /* destination address */
|
||||
__u8 saddr[FDDI_K_ALEN]; /* source address */
|
||||
union
|
||||
{
|
||||
union {
|
||||
struct fddi_8022_1_hdr llc_8022_1;
|
||||
struct fddi_8022_2_hdr llc_8022_2;
|
||||
struct fddi_snap_hdr llc_snap;
|
||||
|
Loading…
x
Reference in New Issue
Block a user