new_asoc 312 net/sctp/sm_statefuns.c struct sctp_association *new_asoc; new_asoc 401 net/sctp/sm_statefuns.c new_asoc = sctp_make_temp_asoc(ep, chunk, GFP_ATOMIC); new_asoc 402 net/sctp/sm_statefuns.c if (!new_asoc) new_asoc 405 net/sctp/sm_statefuns.c if (sctp_assoc_set_bind_addr_from_ep(new_asoc, new_asoc 411 net/sctp/sm_statefuns.c if (!sctp_process_init(new_asoc, chunk, sctp_source(chunk), new_asoc 426 net/sctp/sm_statefuns.c repl = sctp_make_init_ack(new_asoc, chunk, GFP_ATOMIC, len); new_asoc 452 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); new_asoc 467 net/sctp/sm_statefuns.c sctp_association_free(new_asoc); new_asoc 692 net/sctp/sm_statefuns.c struct sctp_association *new_asoc; new_asoc 738 net/sctp/sm_statefuns.c new_asoc = sctp_unpack_cookie(ep, asoc, chunk, GFP_ATOMIC, &error, new_asoc 747 net/sctp/sm_statefuns.c if (!new_asoc) { new_asoc 777 net/sctp/sm_statefuns.c if (!sctp_process_init(new_asoc, chunk, new_asoc 786 net/sctp/sm_statefuns.c error = sctp_auth_asoc_init_active_key(new_asoc, GFP_ATOMIC); new_asoc 790 net/sctp/sm_statefuns.c if (!sctp_auth_chunk_verify(net, chunk, new_asoc)) { new_asoc 791 net/sctp/sm_statefuns.c sctp_association_free(new_asoc); new_asoc 795 net/sctp/sm_statefuns.c repl = sctp_make_cookie_ack(new_asoc, chunk); new_asoc 805 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_assoc_change(new_asoc, 0, SCTP_COMM_UP, 0, new_asoc 806 net/sctp/sm_statefuns.c new_asoc->c.sinit_num_ostreams, new_asoc 807 net/sctp/sm_statefuns.c new_asoc->c.sinit_max_instreams, new_asoc 817 net/sctp/sm_statefuns.c if (new_asoc->peer.adaptation_ind) { new_asoc 818 net/sctp/sm_statefuns.c ai_ev = sctp_ulpevent_make_adaptation_indication(new_asoc, new_asoc 824 net/sctp/sm_statefuns.c if (!new_asoc->peer.auth_capable) { new_asoc 825 net/sctp/sm_statefuns.c auth_ev = sctp_ulpevent_make_authkey(new_asoc, 0, new_asoc 837 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); new_asoc 844 net/sctp/sm_statefuns.c if (new_asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE]) new_asoc 872 net/sctp/sm_statefuns.c sctp_association_free(new_asoc); new_asoc 1328 net/sctp/sm_statefuns.c static int sctp_sf_check_restart_addrs(const struct sctp_association *new_asoc, new_asoc 1333 net/sctp/sm_statefuns.c struct net *net = sock_net(new_asoc->base.sk); new_asoc 1348 net/sctp/sm_statefuns.c list_for_each_entry(new_addr, &new_asoc->peer.transport_addr_list, new_asoc 1368 net/sctp/sm_statefuns.c static void sctp_tietags_populate(struct sctp_association *new_asoc, new_asoc 1376 net/sctp/sm_statefuns.c new_asoc->c.my_vtag = asoc->c.my_vtag; new_asoc 1377 net/sctp/sm_statefuns.c new_asoc->c.my_ttag = asoc->c.my_vtag; new_asoc 1378 net/sctp/sm_statefuns.c new_asoc->c.peer_ttag = 0; new_asoc 1382 net/sctp/sm_statefuns.c new_asoc->c.my_vtag = asoc->c.my_vtag; new_asoc 1383 net/sctp/sm_statefuns.c new_asoc->c.my_ttag = asoc->c.my_vtag; new_asoc 1384 net/sctp/sm_statefuns.c new_asoc->c.peer_ttag = asoc->c.peer_vtag; new_asoc 1391 net/sctp/sm_statefuns.c new_asoc->c.my_ttag = asoc->c.my_vtag; new_asoc 1392 net/sctp/sm_statefuns.c new_asoc->c.peer_ttag = asoc->c.peer_vtag; new_asoc 1400 net/sctp/sm_statefuns.c new_asoc->rwnd = asoc->rwnd; new_asoc 1401 net/sctp/sm_statefuns.c new_asoc->c.sinit_num_ostreams = asoc->c.sinit_num_ostreams; new_asoc 1402 net/sctp/sm_statefuns.c new_asoc->c.sinit_max_instreams = asoc->c.sinit_max_instreams; new_asoc 1403 net/sctp/sm_statefuns.c new_asoc->c.initial_tsn = asoc->c.initial_tsn; new_asoc 1415 net/sctp/sm_statefuns.c static char sctp_tietags_compare(struct sctp_association *new_asoc, new_asoc 1419 net/sctp/sm_statefuns.c if ((asoc->c.my_vtag != new_asoc->c.my_vtag) && new_asoc 1420 net/sctp/sm_statefuns.c (asoc->c.peer_vtag != new_asoc->c.peer_vtag) && new_asoc 1421 net/sctp/sm_statefuns.c (asoc->c.my_vtag == new_asoc->c.my_ttag) && new_asoc 1422 net/sctp/sm_statefuns.c (asoc->c.peer_vtag == new_asoc->c.peer_ttag)) new_asoc 1426 net/sctp/sm_statefuns.c if ((asoc->c.my_vtag == new_asoc->c.my_vtag) && new_asoc 1427 net/sctp/sm_statefuns.c ((asoc->c.peer_vtag != new_asoc->c.peer_vtag) || new_asoc 1433 net/sctp/sm_statefuns.c if ((asoc->c.my_vtag == new_asoc->c.my_vtag) && new_asoc 1434 net/sctp/sm_statefuns.c (asoc->c.peer_vtag == new_asoc->c.peer_vtag)) new_asoc 1438 net/sctp/sm_statefuns.c if ((asoc->c.my_vtag != new_asoc->c.my_vtag) && new_asoc 1439 net/sctp/sm_statefuns.c (asoc->c.peer_vtag == new_asoc->c.peer_vtag) && new_asoc 1440 net/sctp/sm_statefuns.c (0 == new_asoc->c.my_ttag) && new_asoc 1441 net/sctp/sm_statefuns.c (0 == new_asoc->c.peer_ttag)) new_asoc 1461 net/sctp/sm_statefuns.c struct sctp_association *new_asoc; new_asoc 1539 net/sctp/sm_statefuns.c new_asoc = sctp_make_temp_asoc(ep, chunk, GFP_ATOMIC); new_asoc 1540 net/sctp/sm_statefuns.c if (!new_asoc) new_asoc 1543 net/sctp/sm_statefuns.c if (sctp_assoc_set_bind_addr_from_ep(new_asoc, new_asoc 1551 net/sctp/sm_statefuns.c if (!sctp_process_init(new_asoc, chunk, sctp_source(chunk), new_asoc 1562 net/sctp/sm_statefuns.c if (!sctp_sf_check_restart_addrs(new_asoc, asoc, chunk, new_asoc 1569 net/sctp/sm_statefuns.c sctp_tietags_populate(new_asoc, asoc); new_asoc 1582 net/sctp/sm_statefuns.c repl = sctp_make_init_ack(new_asoc, chunk, GFP_ATOMIC, len); new_asoc 1607 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); new_asoc 1623 net/sctp/sm_statefuns.c if (new_asoc) new_asoc 1624 net/sctp/sm_statefuns.c sctp_association_free(new_asoc); new_asoc 1776 net/sctp/sm_statefuns.c struct sctp_association *new_asoc) new_asoc 1789 net/sctp/sm_statefuns.c if (!sctp_process_init(new_asoc, chunk, sctp_source(chunk), peer_init, new_asoc 1793 net/sctp/sm_statefuns.c if (sctp_auth_asoc_init_active_key(new_asoc, GFP_ATOMIC)) new_asoc 1796 net/sctp/sm_statefuns.c if (!sctp_auth_chunk_verify(net, chunk, new_asoc)) new_asoc 1803 net/sctp/sm_statefuns.c if (!sctp_sf_check_restart_addrs(new_asoc, asoc, chunk, commands)) new_asoc 1844 net/sctp/sm_statefuns.c repl = sctp_make_cookie_ack(new_asoc, chunk); new_asoc 1850 net/sctp/sm_statefuns.c new_asoc->c.sinit_num_ostreams, new_asoc 1851 net/sctp/sm_statefuns.c new_asoc->c.sinit_max_instreams, new_asoc 1857 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_ASSOC, SCTP_ASOC(new_asoc)); new_asoc 1898 net/sctp/sm_statefuns.c struct sctp_association *new_asoc) new_asoc 1907 net/sctp/sm_statefuns.c if (!sctp_process_init(new_asoc, chunk, sctp_source(chunk), peer_init, new_asoc 1911 net/sctp/sm_statefuns.c if (sctp_auth_asoc_init_active_key(new_asoc, GFP_ATOMIC)) new_asoc 1914 net/sctp/sm_statefuns.c if (!sctp_auth_chunk_verify(net, chunk, new_asoc)) new_asoc 1918 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_ASSOC, SCTP_ASOC(new_asoc)); new_asoc 1924 net/sctp/sm_statefuns.c repl = sctp_make_cookie_ack(new_asoc, chunk); new_asoc 1979 net/sctp/sm_statefuns.c struct sctp_association *new_asoc) new_asoc 2002 net/sctp/sm_statefuns.c struct sctp_association *new_asoc) new_asoc 2116 net/sctp/sm_statefuns.c struct sctp_association *new_asoc; new_asoc 2145 net/sctp/sm_statefuns.c new_asoc = sctp_unpack_cookie(ep, asoc, chunk, GFP_ATOMIC, &error, new_asoc 2154 net/sctp/sm_statefuns.c if (!new_asoc) { new_asoc 2175 net/sctp/sm_statefuns.c sctp_association_free(new_asoc); new_asoc 2180 net/sctp/sm_statefuns.c new_asoc->temp = 1; new_asoc 2185 net/sctp/sm_statefuns.c action = sctp_tietags_compare(new_asoc, asoc); new_asoc 2190 net/sctp/sm_statefuns.c new_asoc); new_asoc 2195 net/sctp/sm_statefuns.c new_asoc); new_asoc 2200 net/sctp/sm_statefuns.c new_asoc); new_asoc 2205 net/sctp/sm_statefuns.c new_asoc); new_asoc 2214 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_SET_ASOC, SCTP_ASOC(new_asoc));