Lines Matching refs:ev
238 struct sctp_ulpevent *ev; in sctp_sf_do_4_C() local
263 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, in sctp_sf_do_4_C()
265 if (ev) in sctp_sf_do_4_C()
267 SCTP_ULPEVENT(ev)); in sctp_sf_do_4_C()
704 struct sctp_ulpevent *ev, *ai_ev = NULL, *auth_ev = NULL; in sctp_sf_do_5_1D_ce() local
822 ev = sctp_ulpevent_make_assoc_change(new_asoc, 0, SCTP_COMM_UP, 0, in sctp_sf_do_5_1D_ce()
826 if (!ev) in sctp_sf_do_5_1D_ce()
869 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1D_ce()
885 sctp_ulpevent_free(ev); in sctp_sf_do_5_1D_ce()
923 struct sctp_ulpevent *ev; in sctp_sf_do_5_1E_ca() local
967 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_COMM_UP, in sctp_sf_do_5_1E_ca()
972 if (!ev) in sctp_sf_do_5_1E_ca()
975 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
983 ev = sctp_ulpevent_make_adaptation_indication(asoc, GFP_ATOMIC); in sctp_sf_do_5_1E_ca()
984 if (!ev) in sctp_sf_do_5_1E_ca()
988 SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
992 ev = sctp_ulpevent_make_authkey(asoc, 0, SCTP_AUTH_NO_AUTH, in sctp_sf_do_5_1E_ca()
994 if (!ev) in sctp_sf_do_5_1E_ca()
997 SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
1858 struct sctp_ulpevent *ev; in sctp_sf_do_dupcook_a() local
1931 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_RESTART, 0, in sctp_sf_do_dupcook_a()
1935 if (!ev) in sctp_sf_do_dupcook_a()
1938 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_a()
2087 struct sctp_ulpevent *ev = NULL, *ai_ev = NULL, *auth_ev = NULL; in sctp_sf_do_dupcook_d() local
2117 ev = sctp_ulpevent_make_assoc_change(asoc, 0, in sctp_sf_do_dupcook_d()
2122 if (!ev) in sctp_sf_do_dupcook_d()
2153 if (ev) in sctp_sf_do_dupcook_d()
2155 SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_d()
2170 if (ev) in sctp_sf_do_dupcook_d()
2171 sctp_ulpevent_free(ev); in sctp_sf_do_dupcook_d()
2848 struct sctp_ulpevent *ev; in sctp_sf_do_9_2_shutdown() local
2883 ev = sctp_ulpevent_make_shutdown_event(asoc, 0, GFP_ATOMIC); in sctp_sf_do_9_2_shutdown()
2884 if (!ev) { in sctp_sf_do_9_2_shutdown()
2888 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_shutdown()
3601 struct sctp_ulpevent *ev; in sctp_sf_do_9_2_final() local
3615 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, in sctp_sf_do_9_2_final()
3617 if (!ev) in sctp_sf_do_9_2_final()
3628 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_final()
3650 sctp_ulpevent_free(ev); in sctp_sf_do_9_2_final()
4141 struct sctp_ulpevent *ev = NULL; in sctp_sf_do_reconf() local
4145 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4148 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4151 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4154 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4157 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4160 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4162 if (ev) in sctp_sf_do_reconf()
4164 SCTP_ULPEVENT(ev)); in sctp_sf_do_reconf()
4475 struct sctp_ulpevent *ev; in sctp_sf_eat_auth() local
4477 ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), in sctp_sf_eat_auth()
4480 if (!ev) in sctp_sf_eat_auth()
4484 SCTP_ULPEVENT(ev)); in sctp_sf_eat_auth()