Sasha,
Minor patch to declare prefix and guid in network rather than host
endian order.
-- Hal
osm_prefix_route.h: prefix and guid are in network rather than host endian order
Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]>
diff --git a/opensm/include/opensm/osm_prefix_route.h
b/opensm/include/opensm/osm_prefix_route.h
index aa3ad62..829a9ff 100644
--- a/opensm/include/opensm/osm_prefix_route.h
+++ b/opensm/include/opensm/osm_prefix_route.h
@@ -51,8 +51,8 @@ BEGIN_C_DECLS
typedef struct {
cl_list_item_t list_item; /* must be first */
- uint64_t prefix; /* network order, zero means "any" */
- uint64_t guid; /* network order, zero means "any" */
+ ib_net64_t prefix; /* zero means "any" */
+ ib_net64_t guid; /* zero means "any" */
} osm_prefix_route_t;
#ifdef ROUTER_EXP
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general