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()
705 struct sctp_ulpevent *ev, *ai_ev = NULL, *auth_ev = NULL; in sctp_sf_do_5_1D_ce() local
826 ev = sctp_ulpevent_make_assoc_change(new_asoc, 0, SCTP_COMM_UP, 0, in sctp_sf_do_5_1D_ce()
830 if (!ev) in sctp_sf_do_5_1D_ce()
873 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1D_ce()
889 sctp_ulpevent_free(ev); in sctp_sf_do_5_1D_ce()
927 struct sctp_ulpevent *ev; in sctp_sf_do_5_1E_ca() local
973 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_COMM_UP, in sctp_sf_do_5_1E_ca()
978 if (!ev) in sctp_sf_do_5_1E_ca()
981 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
989 ev = sctp_ulpevent_make_adaptation_indication(asoc, GFP_ATOMIC); in sctp_sf_do_5_1E_ca()
990 if (!ev) in sctp_sf_do_5_1E_ca()
994 SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
998 ev = sctp_ulpevent_make_authkey(asoc, 0, SCTP_AUTH_NO_AUTH, in sctp_sf_do_5_1E_ca()
1000 if (!ev) in sctp_sf_do_5_1E_ca()
1003 SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
1864 struct sctp_ulpevent *ev; in sctp_sf_do_dupcook_a() local
1936 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_RESTART, 0, in sctp_sf_do_dupcook_a()
1940 if (!ev) in sctp_sf_do_dupcook_a()
1943 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_a()
2092 struct sctp_ulpevent *ev = NULL, *ai_ev = NULL, *auth_ev = NULL; in sctp_sf_do_dupcook_d() local
2122 ev = sctp_ulpevent_make_assoc_change(asoc, 0, in sctp_sf_do_dupcook_d()
2127 if (!ev) in sctp_sf_do_dupcook_d()
2158 if (ev) in sctp_sf_do_dupcook_d()
2160 SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_d()
2175 if (ev) in sctp_sf_do_dupcook_d()
2176 sctp_ulpevent_free(ev); in sctp_sf_do_dupcook_d()
2852 struct sctp_ulpevent *ev; in sctp_sf_do_9_2_shutdown() local
2887 ev = sctp_ulpevent_make_shutdown_event(asoc, 0, GFP_ATOMIC); in sctp_sf_do_9_2_shutdown()
2888 if (!ev) { in sctp_sf_do_9_2_shutdown()
2892 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_shutdown()
3605 struct sctp_ulpevent *ev; in sctp_sf_do_9_2_final() local
3619 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, in sctp_sf_do_9_2_final()
3621 if (!ev) in sctp_sf_do_9_2_final()
3632 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_final()
3654 sctp_ulpevent_free(ev); in sctp_sf_do_9_2_final()
4145 struct sctp_ulpevent *ev = NULL; in sctp_sf_do_reconf() local
4149 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4152 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4155 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4158 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4161 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4164 (struct sctp_association *)asoc, param, &ev); in sctp_sf_do_reconf()
4166 if (ev) in sctp_sf_do_reconf()
4168 SCTP_ULPEVENT(ev)); in sctp_sf_do_reconf()
4479 struct sctp_ulpevent *ev; in sctp_sf_eat_auth() local
4481 ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), in sctp_sf_eat_auth()
4484 if (!ev) in sctp_sf_eat_auth()
4488 SCTP_ULPEVENT(ev)); in sctp_sf_eat_auth()