ses layout
authoryu.dongliang <18588496441@163.com>
Mon, 10 Jul 2023 11:04:29 +0000 (19:04 +0800)
committeryu.dongliang <18588496441@163.com>
Mon, 10 Jul 2023 11:04:29 +0000 (19:04 +0800)
scf_eda.pb-c.c
scf_eda.pb-c.h
scf_eda.proto

index bc7b0c10ae61b5c6bf4b66405d737bf4321721b3..e54fe68a9afe8aec80b3a0222628020d45893115 100644 (file)
@@ -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,
index 8a31fb664ac778f0d3e1d9139b8eb69a91d8862a..e88556b2710514639540635175376bbcb5311fd4 100644 (file)
@@ -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
index bb701889918f97a2c39a80494c7116f55c3c87a9..8df55a4770fa58ce67abb07954a25bd7e5de332b 100644 (file)
@@ -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