Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit Switch - Software
Commits
f2b39316
Commit
f2b39316
authored
Nov 26, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: documented all IPC interactions
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
65dbe669
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
0 deletions
+85
-0
wrs-developer-manual.in
doc/wrs-developer-manual.in
+85
-0
No files found.
doc/wrs-developer-manual.in
View file @
f2b39316
...
...
@@ -1654,6 +1654,91 @@ in two places, because @i{ppsi} is a separate package; the two
are
identical
and
are
expected
to
remain
so
.
Same
applies
to
@
t
{
rt_ipc
.
h
},
which
appears
both
here
and
in
@
i
{
wrpc
-
sw
}.
@
c
==========================================================================
@
node
The
Functions
being
Exported
@
section
The
Functions
being
Exported
This
section
lists
all
functions
that
are
being
exported
to
@
sc
{
rpc
}
by
the
processes
(
excluding
the
@
sc
{
rt
}
subsystem
).
I
also
ignored
any
use
by
@
i
{
wr_management
},
which
is
very
rusty
and
probably
broken
by
design
.
@
table
@
code
@
item
ppsi
::
get_sync_state
@
c
FIXME
:
shmem
this
Called
by
@
i
{
wr_mon
}
to
fill
a
@
t
{
ptpdexp_sync_state_t
}
structure
.
This
can
be
moved
to
shared
memory
.
@
item
ppsi
::
cmd
Called
by
@
i
{
wr_mon
}
to
ask
for
two
wr
-
servo
operations
:
enable
or
disable
tracking
and
adjust
phase
to
a
specified
value
.
@
c
see
wr_servo_enable_tracking
@
c
see
wr_servo_man_adjust_phase
@
item
hal
::
pps_cmd
Called
by
library
code
(@
t
{
halexp_pps_cmd
}),
in
turn
called
by
@
t
{
ptpd_netif_adjust_counters
},
called
by
@
i
{
wr_phytool
}.
Called
by
@
i
{
ppsi
}
directly
(
no
@
i
{
libwr
})
in
@
t
{
wrs
-
time
.
c
}.
@
item
hal
::
get_port_state
@
c
FIXME
:
shmem
this
This
is
the
most
used
@
sc
{
rpc
}
function
,
and
should
definitely
be
moved
to
shared
memory
.
Called
by
library
code
:
@
t
{
halexp_get_port_state
}
(
called
by
@
i
{
rtud
}
and
following
functions
),
@
t
{
update_dmtd
},
@
t
{
ptpd_netif_recvfrom
},
@
t
{
ptpd_netif_create_socket
}
and
(
unused
)
@
t
{
ptpd_netif_get_dmtd_phase
}).
The
functions
are
used
by
@
i
{
wr_phytool
}.
Also
called
by
@
i
{
ppsi
}
directly
,
in
several
place
.
@
item
hal
::
get_timing_state
@
c
FIXME
:
shmem
this
if
used
(
not
used
it
seems
)
Called
by
library
code
(@
t
{
halexp_get_timing_state
},
but
not
used
.
The
function
fills
a
structure
of
type
@
t
{
hexp_timing_state_t
}
that
is
never
used
.
@
item
hal
::
lock_cmd
Called
by
library
code
(@
t
{
halexp_lock_cmd
})
but
not
used
.
Called
by
@
i
{
ppsi
}
directly
in
@
t
{
wrs
-
time
.
c
}.
@
item
hal
::
query_ports
@
c
FIXME
:
shmem
this
Called
by
library
code
(@
t
{
halexp_query_ports
}).
This
in
turn
is
called
by
@
i
{
rtu_stat
},
@
i
{
wr_mon
}
and
@
i
{
rtud
}.
If
fills
a
structure
@
t
{
hexp_port_list_t
}.
It
may
be
moved
to
shared
memory
.
@
item
rtud
::
get_fd_list
@
itemx
rtud
::
get_vd_list
@
c
FIXME
:
shmem
these
Called
by
@
i
{
rtu_stat
}
to
report
information
.
They
can
be
moved
to
shared
memory
.
@
item
rtud
::
clear_entries
@
itemx
rtud
::
add_entry
Called
by
@
i
{
rtu_stat
}
when
performing
actions
.
@
item
rtud
::
vlan_entry
Called
by
both
@
i
{
rtu_stat
}
and
@
i
{
wrs_vlans
}.
It
is
used
to
pass
a
number
of
parameters
to
@
i
{
rtud
}
and
make
it
perform
actions
@
end
table
@
c
==========================================================================
@
node
The
RT
Subsystem
@
section
The
RT
Subsystem
...
...
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