diff options
| author | Michael Brown | 2006-06-01 21:23:52 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-06-01 21:23:52 +0200 |
| commit | d78581297b6328bde0714adf8c3662b45e7a45b1 (patch) | |
| tree | 291a31ce813933d162d29c4678ea3f07fd2a1b31 /src | |
| parent | Quick hack to avoid trying to use an uninitialised net device. (diff) | |
| download | ipxe-d78581297b6328bde0714adf8c3662b45e7a45b1.tar.gz ipxe-d78581297b6328bde0714adf8c3662b45e7a45b1.tar.xz ipxe-d78581297b6328bde0714adf8c3662b45e7a45b1.zip | |
Improve tcpdump legibility.
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/gpxe/aoe.h | 2 | ||||
| -rw-r--r-- | src/net/aoe.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gpxe/aoe.h b/src/include/gpxe/aoe.h index 07aec037d..60c7a823b 100644 --- a/src/include/gpxe/aoe.h +++ b/src/include/gpxe/aoe.h @@ -71,6 +71,8 @@ struct aoehdr { #define AOE_CMD_ATA 0x00 /**< Issue ATA command */ #define AOE_CMD_CONFIG 0x01 /**< Query Config Information */ +#define AOE_TAG_MAGIC 0xebeb0000 + #define AOE_ERR_BAD_COMMAND 1 /**< Unrecognised command code */ #define AOE_ERR_BAD_PARAMETER 2 /**< Bad argument parameter */ #define AOE_ERR_UNAVAILABLE 3 /**< Device unavailable */ diff --git a/src/net/aoe.c b/src/net/aoe.c index 1e9eb3210..cfb833f26 100644 --- a/src/net/aoe.c +++ b/src/net/aoe.c @@ -294,6 +294,7 @@ NET_PROTOCOL ( aoe_protocol ); */ void aoe_open ( struct aoe_session *aoe ) { memset ( aoe->target, 0xff, sizeof ( aoe->target ) ); + aoe->tag = AOE_TAG_MAGIC; aoe->timer.expired = aoe_timer_expired; list_add ( &aoe->list, &aoe_sessions ); } |
