Lines Matching refs:ev
225 struct sctp_ulpevent *ev; in sctp_sf_do_4_C() local
250 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, in sctp_sf_do_4_C()
252 if (ev) in sctp_sf_do_4_C()
254 SCTP_ULPEVENT(ev)); in sctp_sf_do_4_C()
659 struct sctp_ulpevent *ev, *ai_ev = NULL; in sctp_sf_do_5_1D_ce() local
796 ev = sctp_ulpevent_make_assoc_change(new_asoc, 0, SCTP_COMM_UP, 0, in sctp_sf_do_5_1D_ce()
800 if (!ev) in sctp_sf_do_5_1D_ce()
835 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1D_ce()
845 sctp_ulpevent_free(ev); in sctp_sf_do_5_1D_ce()
882 struct sctp_ulpevent *ev; in sctp_sf_do_5_1E_ca() local
923 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_COMM_UP, in sctp_sf_do_5_1E_ca()
928 if (!ev) in sctp_sf_do_5_1E_ca()
931 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
939 ev = sctp_ulpevent_make_adaptation_indication(asoc, GFP_ATOMIC); in sctp_sf_do_5_1E_ca()
940 if (!ev) in sctp_sf_do_5_1E_ca()
944 SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
1706 struct sctp_ulpevent *ev; in sctp_sf_do_dupcook_a() local
1771 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_RESTART, 0, in sctp_sf_do_dupcook_a()
1775 if (!ev) in sctp_sf_do_dupcook_a()
1780 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_a()
1913 struct sctp_ulpevent *ev = NULL, *ai_ev = NULL; in sctp_sf_do_dupcook_d() local
1940 ev = sctp_ulpevent_make_assoc_change(asoc, 0, in sctp_sf_do_dupcook_d()
1945 if (!ev) in sctp_sf_do_dupcook_d()
1968 if (ev) in sctp_sf_do_dupcook_d()
1970 SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_d()
1980 if (ev) in sctp_sf_do_dupcook_d()
1981 sctp_ulpevent_free(ev); in sctp_sf_do_dupcook_d()
2634 struct sctp_ulpevent *ev; in sctp_sf_do_9_2_shutdown() local
2670 ev = sctp_ulpevent_make_shutdown_event(asoc, 0, GFP_ATOMIC); in sctp_sf_do_9_2_shutdown()
2671 if (!ev) { in sctp_sf_do_9_2_shutdown()
2675 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_shutdown()
3331 struct sctp_ulpevent *ev; in sctp_sf_do_9_2_final() local
3345 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, in sctp_sf_do_9_2_final()
3347 if (!ev) in sctp_sf_do_9_2_final()
3358 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_final()
3380 sctp_ulpevent_free(ev); in sctp_sf_do_9_2_final()
4121 struct sctp_ulpevent *ev; in sctp_sf_eat_auth() local
4123 ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), in sctp_sf_eat_auth()
4126 if (!ev) in sctp_sf_eat_auth()
4130 SCTP_ULPEVENT(ev)); in sctp_sf_eat_auth()