diff options
author | Dan Williams <dcbw@redhat.com> | 2012-10-19 19:28:23 -0500 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-23 17:25:05 +0200 |
commit | 38171469d3b2313c6ea53035d87ed39fd96b909c (patch) | |
tree | 7fbf5d8e000c17032c9b0c76e804c9488e90e8da /data/qmi-service-wds.json | |
parent | cb5851e7000d063bf8ff8917d15f9882d2612473 (diff) |
wds: annotate GetCurrentSettings with correct byte orders
IPv6 addresses are always sent in network byte order. Oddly,
IPv4 addresses appear to be sent as LE uint32s rather than
BE/network byte order.
Diffstat (limited to 'data/qmi-service-wds.json')
-rw-r--r-- | data/qmi-service-wds.json | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/data/qmi-service-wds.json b/data/qmi-service-wds.json index 8c3fb86..3ed12ca 100644 --- a/data/qmi-service-wds.json +++ b/data/qmi-service-wds.json @@ -235,12 +235,14 @@ "id" : "0x15", "mandatory" : "no", "type" : "TLV", + "endian" : "little", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Secondary IPv4 DNS Address", "id" : "0x16", "mandatory" : "no", "type" : "TLV", + "endian" : "little", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "GPRS Granted QoS", @@ -276,6 +278,7 @@ "id" : "0x1E", "mandatory" : "no", "type" : "TLV", + "endian" : "little", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Profile ID", @@ -293,12 +296,14 @@ "id" : "0x20", "mandatory" : "no", "type" : "TLV", + "endian" : "little", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IPv4 Gateway Subnet Mask", "id" : "0x21", "mandatory" : "no", "type" : "TLV", + "endian" : "little", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "PCSCF Address Using PCO", @@ -313,6 +318,7 @@ "type" : "TLV", "format" : "array", "array-element" : { "name" : "IPv4 Address", + "endian" : "little", "format" : "guint32" }, "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "PCSCF Domain Name List", @@ -332,7 +338,7 @@ "contents" : [ { "name" : "Address", "format" : "array", "fixed-size" : "8", - "array-element" : { "format": "guint16" } }, + "array-element" : { "format": "guint16", "endian": "network" } }, { "name" : "Prefix Length", "format" : "guint8" } ], "prerequisites" : [ { "common-ref" : "Success" } ] }, @@ -344,7 +350,7 @@ "contents" : [ { "name" : "Address", "format" : "array", "fixed-size" : "8", - "array-element" : { "format": "guint16" } }, + "array-element" : { "format": "guint16", "endian": "network" } }, { "name" : "Prefix Length", "format" : "guint8" } ], "prerequisites" : [ { "common-ref" : "Success" } ] }, @@ -354,7 +360,7 @@ "type" : "TLV", "format" : "array", "fixed-size": "8", - "array-element" : { "format": "guint16" }, + "array-element" : { "format": "guint16", "endian": "network" }, "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IPv6 Secondary DNS Address", "id" : "0x28", @@ -362,7 +368,7 @@ "type" : "TLV", "format" : "array", "fixed-size": "8", - "array-element" : { "format": "guint16" }, + "array-element" : { "format": "guint16", "endian": "network" }, "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "MTU", "id" : "0x29", |