/* This function executes actions that is related to happened event. Returns 0 for success and 1 for failure of at least one action.  */
static int llc_exec_sap_trans_actions(struct llc_sap *sap, struct llc_sap_state_trans *trans, struct sk_buff *skb)
/* This function executes actions that is related to happened event. Returns 0 for success and 1 for failure of at least one action.  */
static int llc_exec_sap_trans_actions(struct llc_sap *sap, struct llc_sap_state_trans *trans, struct sk_buff *skb)
{
	int rc = 0;
	llc_sap_action_t *next_action = trans->ev_actions;
	for (; next_action && *next_action; next_action++)
		if ((*next_action)(sap, skb))
			rc = 1;
	return rc;
}