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
21c4dd53
Commit
21c4dd53
authored
Mar 02, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: minor comments to data structure fields
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
9bd032a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
ieee1588_types.h
include/ppsi/ieee1588_types.h
+4
-4
wr-api.h
proto-ext-whiterabbit/wr-api.h
+3
-3
No files found.
include/ppsi/ieee1588_types.h
View file @
21c4dd53
...
...
@@ -62,8 +62,8 @@ typedef struct TimeInternal {
Integer32
seconds
;
Integer32
nanoseconds
;
/* White Rabbit extension begin */
Integer32
phase
;
int
correct
;
Integer32
phase
;
/* This is the set point */
int
correct
;
/* 0 or 1 */
#if 0
/*
* The following three fields may be used for diagnostics, but
...
...
@@ -254,14 +254,14 @@ typedef struct DSPort { /* page 72 */
PortIdentity
portIdentity
;
/* Dynamic */
Enumeration8
portState
;
Integer8
logMinDelayReqInterval
;
Integer8
logMinDelayReqInterval
;
/* note: never changed */
TimeInternal
peerMeanPathDelay
;
/* Configurable */
Integer8
logAnnounceInterval
;
UInteger8
announceReceiptTimeout
;
Integer8
logSyncInterval
;
Enumeration8
delayMechanism
;
Integer8
logMinPdelayReqInterval
;
Integer8
logMinPdelayReqInterval
;
/* note: never changed */
UInteger4
versionNumber
;
void
*
ext_dsport
;
...
...
proto-ext-whiterabbit/wr-api.h
View file @
21c4dd53
...
...
@@ -23,7 +23,7 @@ struct wr_dsport {
FixedDelta
deltaRx
;
UInteger32
wrStateTimeout
;
UInteger8
wrStateRetry
;
UInteger32
calPeriod
;
UInteger32
calPeriod
;
/* microseconsds, never changed */
UInteger8
calRetry
;
Enumeration8
parentWrConfig
;
Boolean
parentIsWRnode
;
/* FIXME Not in the doc */
...
...
@@ -34,7 +34,7 @@ struct wr_dsport {
/* FIXME: are they in the doc? */
UInteger16
otherNodeCalSendPattern
;
UInteger32
otherNodeCalPeriod
;
UInteger32
otherNodeCalPeriod
;
/* microseconsds, never changed */
UInteger8
otherNodeCalRetry
;
FixedDelta
otherNodeDeltaTx
;
FixedDelta
otherNodeDeltaRx
;
...
...
@@ -115,7 +115,7 @@ struct wr_servo_state_t {
int
state
;
int
next_state
;
TimeInternal
prev_t4
;
TimeInternal
mu
;
TimeInternal
mu
;
/* half of the RTT */
TimeInternal
nsec_offset
;
int32_t
delta_tx_m
;
int32_t
delta_rx_m
;
...
...
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