Lines Matching defs:ev
25 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
27 return ev->type == LLC_SAP_EV_TYPE_SIMPLE &&
28 ev->prim_type == LLC_SAP_EV_ACTIVATION_REQ ? 0 : 1;
33 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
36 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) &&
43 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
45 return ev->type == LLC_SAP_EV_TYPE_PRIM &&
46 ev->prim == LLC_DATAUNIT_PRIM &&
47 ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1;
53 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
55 return ev->type == LLC_SAP_EV_TYPE_PRIM &&
56 ev->prim == LLC_XID_PRIM &&
57 ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1;
62 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
65 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) &&
72 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
75 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_RSP(pdu) &&
82 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
84 return ev->type == LLC_SAP_EV_TYPE_PRIM &&
85 ev->prim == LLC_TEST_PRIM &&
86 ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1;
91 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
94 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) &&
101 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
104 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_RSP(pdu) &&
111 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
113 return ev->type == LLC_SAP_EV_TYPE_SIMPLE &&
114 ev->prim_type == LLC_SAP_EV_DEACTIVATION_REQ ? 0 : 1;