MARKER_N_PACKET_TEMPLATES,
} marker_packet_template_id_t;
-enum
+typedef enum
{
LACP_PROCESS_EVENT_START = 1,
LACP_PROCESS_EVENT_STOP = 2,
{.str = NULL}
};
int state = va_arg (*args, int);
- lacp_state_struct *state_entry =
- (lacp_state_struct *) & lacp_rx_sm_state_array;
+ lacp_state_struct *state_entry = lacp_rx_sm_state_array;
if (state >= (sizeof (lacp_rx_sm_state_array) / sizeof (*state_entry)))
s = format (s, "Bad state %d", state);
{.str = NULL}
};
int state = va_arg (*args, int);
- lacp_state_struct *state_entry =
- (lacp_state_struct *) & lacp_tx_sm_state_array;
+ lacp_state_struct *state_entry = lacp_tx_sm_state_array;
if (state >= (sizeof (lacp_tx_sm_state_array) / sizeof (*state_entry)))
s = format (s, "Bad state %d", state);
{.str = NULL}
};
int state = va_arg (*args, int);
- lacp_state_struct *state_entry =
- (lacp_state_struct *) & lacp_mux_sm_state_array;
+ lacp_state_struct *state_entry = lacp_mux_sm_state_array;
if (state >= (sizeof (lacp_mux_sm_state_array) / sizeof (*state_entry)))
s = format (s, "Bad state %d", state);
{.str = NULL}
};
int state = va_arg (*args, int);
- lacp_state_struct *state_entry =
- (lacp_state_struct *) & lacp_ptx_sm_state_array;
+ lacp_state_struct *state_entry = lacp_ptx_sm_state_array;
if (state >= (sizeof (lacp_ptx_sm_state_array) / sizeof (*state_entry)))
s = format (s, "Bad state %d", state);