Deleted Added
full compact
if_arc.h (92725) if_arc.h (103842)
1/* $NetBSD: if_arc.h,v 1.13 1999/11/19 20:41:19 thorpej Exp $ */
1/* $NetBSD: if_arc.h,v 1.13 1999/11/19 20:41:19 thorpej Exp $ */
2/* $FreeBSD: head/sys/net/if_arc.h 92725 2002-03-19 21:54:18Z alfred $ */
2/* $FreeBSD: head/sys/net/if_arc.h 103842 2002-09-23 06:25:08Z alfred $ */
3
4/*
5 * Copyright (c) 1982, 1986, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:

--- 30 unchanged lines hidden (view full) ---

41#define _NET_IF_ARC_H_
42
43/*
44 * Arcnet address - 1 octets
45 * don't know who uses this.
46 */
47struct arc_addr {
48 u_int8_t arc_addr_octet[1];
3
4/*
5 * Copyright (c) 1982, 1986, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:

--- 30 unchanged lines hidden (view full) ---

41#define _NET_IF_ARC_H_
42
43/*
44 * Arcnet address - 1 octets
45 * don't know who uses this.
46 */
47struct arc_addr {
48 u_int8_t arc_addr_octet[1];
49} __attribute__((__packed__));
49} __packed;
50
51/*
52 * Structure of a 2.5MB/s Arcnet header.
53 * as given to interface code.
54 */
55struct arc_header {
56 u_int8_t arc_shost;
57 u_int8_t arc_dhost;

--- 6 unchanged lines hidden (view full) ---

64 u_int16_t arc_seqid;
65
66 /*
67 * only present in exception packets (arc_flag == 0xff)
68 */
69 u_int8_t arc_type2; /* same as arc_type */
70 u_int8_t arc_flag2; /* real flag value */
71 u_int16_t arc_seqid2; /* real seqid value */
50
51/*
52 * Structure of a 2.5MB/s Arcnet header.
53 * as given to interface code.
54 */
55struct arc_header {
56 u_int8_t arc_shost;
57 u_int8_t arc_dhost;

--- 6 unchanged lines hidden (view full) ---

64 u_int16_t arc_seqid;
65
66 /*
67 * only present in exception packets (arc_flag == 0xff)
68 */
69 u_int8_t arc_type2; /* same as arc_type */
70 u_int8_t arc_flag2; /* real flag value */
71 u_int16_t arc_seqid2; /* real seqid value */
72} __attribute__((__packed__));
72} __packed;
73
74#define ARC_ADDR_LEN 1
75
76#define ARC_HDRLEN 3
77#define ARC_HDRNEWLEN 6
78#define ARC_HDRNEWLEN_EXC 10
79
80/* these lengths are data link layer length - 2*ARC_ADDR_LEN */

--- 68 unchanged lines hidden ---
73
74#define ARC_ADDR_LEN 1
75
76#define ARC_HDRLEN 3
77#define ARC_HDRNEWLEN 6
78#define ARC_HDRNEWLEN_EXC 10
79
80/* these lengths are data link layer length - 2*ARC_ADDR_LEN */

--- 68 unchanged lines hidden ---