]> err.no Git - linux-2.6/blobdiff - include/net/tipc/tipc_bearer.h
[IPSEC]: Add async resume support on input
[linux-2.6] / include / net / tipc / tipc_bearer.h
index 0cfb9bbd9ac60aa29039256cdb39aa028f46dd37..2151a80cdf30cfa1214f72eed61b8b1095e785b7 100644 (file)
@@ -1,9 +1,8 @@
 /*
  * include/net/tipc/tipc_bearer.h: Include file for privileged access to TIPC bearers
  * 
- * Copyright (c) 2003-2005, Ericsson Research Canada
+ * Copyright (c) 2003-2006, Ericsson AB
  * Copyright (c) 2005, Wind River Systems
- * Copyright (c) 2005-2006, Ericsson AB
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
 
 #define TIPC_MEDIA_TYPE_ETH    1
 
+/* 
+ * Destination address structure used by TIPC bearers when sending messages
+ * 
+ * IMPORTANT: The fields of this structure MUST be stored using the specified
+ * byte order indicated below, as the structure is exchanged between nodes
+ * as part of a link setup process.
+ */
+
 struct tipc_media_addr {
-       __u32  type;
+       __be32  type;                   /* bearer type (network byte order) */
        union {
-               __u8   eth_addr[6];     /* Ethernet bearer */ 
+               __u8   eth_addr[6];     /* 48 bit Ethernet addr (byte array) */ 
 #if 0
                /* Prototypes for other possible bearer types */