Commit 7460ac6f authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: reorder pp_net_path, dropping peer_mcast addr

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 424b45b1
...@@ -396,7 +396,6 @@ static int posix_net_exit(struct pp_instance *ppi) ...@@ -396,7 +396,6 @@ static int posix_net_exit(struct pp_instance *ppi)
} }
NP(ppi)->mcast_addr = 0; NP(ppi)->mcast_addr = 0;
NP(ppi)->peer_mcast_addr = 0;
return 0; return 0;
} }
......
...@@ -121,15 +121,15 @@ struct pp_servo { ...@@ -121,15 +121,15 @@ struct pp_servo {
* the event/general channels (sockets on most platforms, see above) * the event/general channels (sockets on most platforms, see above)
*/ */
#define PP_NP_GEN 0 enum {
#define PP_NP_EVT 1 PP_NP_GEN = 0,
#define PP_NP_LAST 2 PP_NP_EVT,
__NR_PP_NP,
};
struct pp_net_path { struct pp_net_path {
struct pp_channel ch[2]; /* event and general channel (see above struct pp_channel ch[__NR_PP_NP]; /* general and event ch */
* #define's */ Integer32 mcast_addr; /* FIXME: only ipv4/udp */
/* FIXME check if useful Integer32 ucast_addr;*/
Integer32 mcast_addr;
Integer32 peer_mcast_addr;
int ptp_offset; int ptp_offset;
int inited; int inited;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment