vserver 1.9.5.x5
[linux-2.6.git] / include / linux / if_arcnet.h
index 08f413b..af380cb 100644 (file)
@@ -23,6 +23,9 @@
  *    These are the defined ARCnet Protocol ID's.
  */
 
+/* CAP mode */
+/* No macro but uses 1-8 */
+
 /* RFC1201 Protocol ID's */
 #define ARC_P_IP               212     /* 0xD4 */
 #define ARC_P_IPV6             196     /* 0xC4: RFC2497 */
@@ -86,6 +89,16 @@ struct arc_eth_encap
 #define ETH_ENCAP_HDR_SIZE 14
 
 
+struct arc_cap
+{
+       uint8_t proto;
+       uint8_t cookie[sizeof(int)];   /* Actually NOT sent over the network */
+       union {
+               uint8_t ack;
+               uint8_t raw[0];         /* 507 bytes */
+       } mes;
+};
+
 /*
  * The data needed by the actual arcnet hardware.
  *
@@ -116,6 +129,7 @@ struct archdr
        struct arc_rfc1201   rfc1201;
        struct arc_rfc1051   rfc1051;
        struct arc_eth_encap eth_encap;
+       struct arc_cap       cap;
        uint8_t raw[0];         /* 508 bytes                            */
     } soft;
 };