From: yu.dongliang <18588496441@163.com> Date: Mon, 10 Jul 2023 11:04:29 +0000 (+0800) Subject: ses layout X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=c3cab993b9ca401c5bd25a361f8f9dda7556cbab;p=ses.git ses layout --- diff --git a/scf_eda.pb-c.c b/scf_eda.pb-c.c index bc7b0c1..e54fe68 100644 --- a/scf_eda.pb-c.c +++ b/scf_eda.pb-c.c @@ -385,7 +385,7 @@ const ProtobufCMessageDescriptor scf_line__descriptor = (ProtobufCMessageInit) scf_line__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor scf_epin__field_descriptors[6] = +static const ProtobufCFieldDescriptor scf_epin__field_descriptors[7] = { { "tos", @@ -424,11 +424,23 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[6] = 0,NULL,NULL /* reserved1,reserved2, etc */ }, { - "flags", + "lid", 4, PROTOBUF_C_LABEL_REQUIRED, PROTOBUF_C_TYPE_UINT64, 0, /* quantifier_offset */ + offsetof(ScfEpin, lid), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "flags", + 5, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_UINT64, + 0, /* quantifier_offset */ offsetof(ScfEpin, flags), NULL, NULL, @@ -437,7 +449,7 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[6] = }, { "x", - 5, + 6, PROTOBUF_C_LABEL_REQUIRED, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ @@ -449,7 +461,7 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[6] = }, { "y", - 6, + 7, PROTOBUF_C_LABEL_REQUIRED, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ @@ -462,16 +474,17 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[6] = }; static const unsigned scf_epin__field_indices_by_name[] = { 2, /* field[2] = cid */ - 3, /* field[3] = flags */ + 4, /* field[4] = flags */ 1, /* field[1] = id */ + 3, /* field[3] = lid */ 0, /* field[0] = tos */ - 4, /* field[4] = x */ - 5, /* field[5] = y */ + 5, /* field[5] = x */ + 6, /* field[6] = y */ }; static const ProtobufCIntRange scf_epin__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 6 } + { 0, 7 } }; const ProtobufCMessageDescriptor scf_epin__descriptor = { @@ -481,7 +494,7 @@ const ProtobufCMessageDescriptor scf_epin__descriptor = "ScfEpin", "", sizeof(ScfEpin), - 6, + 7, scf_epin__field_descriptors, scf_epin__field_indices_by_name, 1, scf_epin__number_ranges, diff --git a/scf_eda.pb-c.h b/scf_eda.pb-c.h index 8a31fb6..e88556b 100644 --- a/scf_eda.pb-c.h +++ b/scf_eda.pb-c.h @@ -49,13 +49,14 @@ struct _ScfEpin uint64_t *tos; uint64_t id; uint64_t cid; + uint64_t lid; uint64_t flags; uint32_t x; uint32_t y; }; #define SCF_EPIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&scf_epin__descriptor) \ - , 0,NULL, 0, 0, 0, 0, 0 } + , 0,NULL, 0, 0, 0, 0, 0, 0 } struct _ScfEconn diff --git a/scf_eda.proto b/scf_eda.proto index bb70188..8df55a4 100644 --- a/scf_eda.proto +++ b/scf_eda.proto @@ -13,10 +13,11 @@ message scf_epin repeated uint64 tos = 1; required uint64 id = 2; required uint64 cid = 3; - required uint64 flags = 4; + required uint64 lid = 4; + required uint64 flags = 5; - required uint32 x = 5; - required uint32 y = 6; + required uint32 x = 6; + required uint32 y = 7; } message scf_econn