Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-net-srv
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain-net-srv
Commits
dd00e2af
Commit
dd00e2af
authored
5 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[+] Added fields in structures for easier identify
parent
53ca750d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dap_chain_net_srv_common.h
+5
-0
5 additions, 0 deletions
dap_chain_net_srv_common.h
with
5 additions
and
0 deletions
dap_chain_net_srv_common.h
+
5
−
0
View file @
dd00e2af
...
...
@@ -128,6 +128,8 @@ typedef struct dap_stream_ch_chain_net_srv_pkt_request{
typedef
struct
dap_stream_ch_chain_net_srv_pkt_success_hdr
{
uint32_t
usage_id
;
dap_chain_net_id_t
net_id
;
dap_chain_net_srv_uid_t
srv_uid
;
}
DAP_ALIGN_PACKED
dap_stream_ch_chain_net_srv_pkt_success_hdr_t
;
typedef
struct
dap_stream_ch_chain_net_srv_pkt_success
{
...
...
@@ -137,6 +139,9 @@ typedef struct dap_stream_ch_chain_net_srv_pkt_success{
// TYPE_RESPONSE_ERROR
typedef
struct
dap_stream_ch_chain_net_srv_pkt_error
{
dap_chain_net_id_t
net_id
;
dap_chain_net_srv_uid_t
srv_uid
;
uint32_t
usage_id
;
uint32_t
code
;
// error code
}
DAP_ALIGN_PACKED
dap_stream_ch_chain_net_srv_pkt_error_t
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment