Browse Source

Improve tcpdump legibility.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
d78581297b
2 changed files with 3 additions and 0 deletions
  1. 2
    0
      src/include/gpxe/aoe.h
  2. 1
    0
      src/net/aoe.c

+ 2
- 0
src/include/gpxe/aoe.h View File

@@ -71,6 +71,8 @@ struct aoehdr {
71 71
 #define AOE_CMD_ATA	0x00	/**< Issue ATA command */
72 72
 #define AOE_CMD_CONFIG	0x01	/**< Query Config Information */
73 73
 
74
+#define AOE_TAG_MAGIC	0xebeb0000
75
+
74 76
 #define AOE_ERR_BAD_COMMAND	1 /**< Unrecognised command code */
75 77
 #define AOE_ERR_BAD_PARAMETER	2 /**< Bad argument parameter */
76 78
 #define AOE_ERR_UNAVAILABLE	3 /**< Device unavailable */

+ 1
- 0
src/net/aoe.c View File

@@ -294,6 +294,7 @@ NET_PROTOCOL ( aoe_protocol );
294 294
  */
295 295
 void aoe_open ( struct aoe_session *aoe ) {
296 296
 	memset ( aoe->target, 0xff, sizeof ( aoe->target ) );
297
+	aoe->tag = AOE_TAG_MAGIC;
297 298
 	aoe->timer.expired = aoe_timer_expired;
298 299
 	list_add ( &aoe->list, &aoe_sessions );
299 300
 }

Loading…
Cancel
Save