Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
226129ae
Commit
226129ae
authored
Apr 24, 2018
by
Jean-Claude BAU
Committed by
Adam Wujek
Nov 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optimization of the structure pp_instance & frgn_master (76 bytes for
one instance of each)
parent
c94cd359
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
pp-instance.h
include/ppsi/pp-instance.h
+8
-8
No files found.
include/ppsi/pp-instance.h
View file @
226129ae
...
...
@@ -67,19 +67,19 @@ struct pp_frgn_master {
/* how many announce messages from this port where received in the
* interval */
UInteger16
foreignMasterAnnounceMessages
[
PP_FOREIGN_MASTER_TIME_WINDOW
];
/* on which port we received the frame */
PortIdentity
receivePortIdentity
;
/* BMC related information */
UInteger16
sequenceId
;
PortIdentity
sourcePortIdentity
;
Octet
flagField
[
2
];
UInteger16
stepsRemoved
;
Integer16
currentUtcOffset
;
UInteger8
grandmasterPriority1
;
/* on which port we received the frame */
PortIdentity
receivePortIdentity
;
PortIdentity
sourcePortIdentity
;
ClockQuality
grandmasterClockQuality
;
UInteger8
grandmasterPriority2
;
ClockIdentity
grandmasterIdentity
;
UInteger16
stepsRemoved
;
UInteger8
grandmasterPriority1
;
UInteger8
grandmasterPriority2
;
Enumeration8
timeSource
;
Octet
flagField
[
2
];
unsigned
long
ext_specific
;
/* used by extension */
};
...
...
@@ -134,7 +134,7 @@ struct pp_instance {
void
*
ext_data
;
/* if protocol ext needs it */
unsigned
long
d_flags
;
/* diagnostics, ppi-specific flags */
unsigned
char
flags
;
/* protocol flags (see below) */
int
role
,
/* same as in config file */
Enumeration8
role
,
/* same as in config file */
proto
,
/* same as in config file */
mech
;
/* same as in config file */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment