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
7460ac6f
Commit
7460ac6f
authored
Mar 05, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: reorder pp_net_path, dropping peer_mcast addr
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
424b45b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
posix-socket.c
arch-gnu-linux/posix-socket.c
+0
-1
ppsi.h
include/ppsi/ppsi.h
+8
-8
No files found.
arch-gnu-linux/posix-socket.c
View file @
7460ac6f
...
...
@@ -396,7 +396,6 @@ static int posix_net_exit(struct pp_instance *ppi)
}
NP
(
ppi
)
->
mcast_addr
=
0
;
NP
(
ppi
)
->
peer_mcast_addr
=
0
;
return
0
;
}
...
...
include/ppsi/ppsi.h
View file @
7460ac6f
...
...
@@ -121,15 +121,15 @@ struct pp_servo {
* the event/general channels (sockets on most platforms, see above)
*/
#define PP_NP_GEN 0
#define PP_NP_EVT 1
#define PP_NP_LAST 2
enum
{
PP_NP_GEN
=
0
,
PP_NP_EVT
,
__NR_PP_NP
,
};
struct
pp_net_path
{
struct
pp_channel
ch
[
2
];
/* event and general channel (see above
* #define's */
/* FIXME check if useful Integer32 ucast_addr;*/
Integer32
mcast_addr
;
Integer32
peer_mcast_addr
;
struct
pp_channel
ch
[
__NR_PP_NP
];
/* general and event ch */
Integer32
mcast_addr
;
/* FIXME: only ipv4/udp */
int
ptp_offset
;
int
inited
;
...
...
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