/kernel/linux/linux-5.10/net/sctp/ |
D | socket.c | 213 af = sctp_sockaddr_af(sctp_sk(sk), addr, len); in sctp_verify_addr() 218 if (!af->addr_valid(addr, sctp_sk(sk), NULL)) in sctp_verify_addr() 221 if (!sctp_sk(sk)->pf->send_verify(sctp_sk(sk), (addr))) in sctp_verify_addr() 244 if (!list_empty(&sctp_sk(sk)->ep->asocs)) in sctp_id2assoc() 245 asoc = list_entry(sctp_sk(sk)->ep->asocs.next, in sctp_id2assoc() 279 addr_asoc = sctp_endpoint_lookup_assoc(sctp_sk(sk)->ep, in sctp_addr_id2transport() 290 sctp_get_pf_specific(sk->sk_family)->addr_to_user(sctp_sk(sk), in sctp_addr_id2transport() 316 if (!sctp_sk(sk)->ep->base.bind_addr.port) in sctp_bind() 376 struct sctp_sock *sp = sctp_sk(sk); in sctp_do_bind() 570 sp = sctp_sk(sk); in sctp_send_asconf_add_ip() [all …]
|
D | endpointola.c | 192 sctp_sk(sk)->ep = NULL; in sctp_endpoint_destroy_rcu() 225 if (sctp_sk(sk)->bind_hash) in sctp_endpoint_destroy() 256 sctp_sk(ep->base.sk))) in sctp_endpoint_is_match() 411 if (!sctp_sk(sk)->ep) in sctp_endpoint_bh_rcv()
|
D | ulpqueue.c | 130 struct sctp_sock *sp = sctp_sk(sk); in sctp_clear_pd() 168 struct sctp_sock *sp = sctp_sk(ulpq->asoc->base.sk); in sctp_ulpq_set_pd() 185 struct sctp_sock *sp = sctp_sk(sk); in sctp_ulpq_tail_event() 482 if (!sctp_sk(asoc->base.sk)->frag_interleave && in sctp_ulpq_retrieve_reassembled() 483 atomic_read(&sctp_sk(asoc->base.sk)->pd_mode)) in sctp_ulpq_retrieve_reassembled() 487 pd_point = sctp_sk(asoc->base.sk)->pd_point; in sctp_ulpq_retrieve_reassembled() 1035 sp = sctp_sk(asoc->base.sk); in sctp_ulpq_partial_delivery() 1122 sp = sctp_sk(sk); in sctp_ulpq_abort_pd()
|
D | input.c | 184 ep = sctp_sk(sk)->ep; in sctp_rcv() 749 err = sctp_bind_addrs_check(sctp_sk(sk2), in __sctp_hash_endpoint() 750 sctp_sk(sk), cnt); in __sctp_hash_endpoint() 852 ep = sctp_sk(net->sctp.ctl_sock)->ep; in __sctp_rcv_lookup_endpoint() 862 ep = sctp_sk(sk)->ep; in __sctp_rcv_lookup_endpoint() 997 laddr, sctp_sk(t->asoc->base.sk))) in sctp_addrs_lookup_transport()
|
D | proc.c | 180 sctp_sk(sk)->type, sk->sk_state, hash, in sctp_eps_seq_show() 267 assoc, sk, sctp_sk(sk)->type, sk->sk_state, in sctp_assocs_seq_show()
|
D | ipv6.c | 736 sctp_sk(newsk)->v4mapped = sctp_sk(sk)->v4mapped; in sctp_v6_create_accept_sk() 839 *addrlen = sctp_v6_addr_to_user(sctp_sk(asoc->base.sk), addr); in sctp_inet6_event_msgname() 870 *addr_len = sctp_v6_addr_to_user(sctp_sk(skb->sk), addr); in sctp_inet6_skb_msgname() 1013 rc = sctp_v6_addr_to_user(sctp_sk(sock->sk), in sctp_getname()
|
D | associola.c | 62 sp = sctp_sk((struct sock *)sk); in sctp_association_init() 590 sp = sctp_sk(asoc->base.sk); in sctp_assoc_add_peer() 1065 struct sctp_sock *newsp = sctp_sk(newsk); in sctp_assoc_migrate() 1392 int frag = sctp_mtu_payload(sctp_sk(asoc->base.sk), asoc->pathmtu, in sctp_assoc_update_frag_point() 1608 sctp_sk(asoc->base.sk))) in sctp_assoc_lookup_laddr()
|
D | stream_interleave.c | 326 pd_point = sctp_sk(asoc->base.sk)->pd_point; in sctp_intl_retrieve_reassembled() 473 struct sctp_sock *sp = sctp_sk(sk); in sctp_enqueue_event() 715 pd_point = sctp_sk(asoc->base.sk)->pd_point; in sctp_intl_retrieve_reassembled_uo() 999 struct sctp_sock *sp = sctp_sk(sk); in sctp_intl_stream_abort_pd()
|
D | output.c | 93 sp = sctp_sk(sk); in sctp_packet_config() 703 if ((sctp_sk(asoc->base.sk)->nodelay || inflight == 0) && in sctp_packet_can_append_data()
|
D | chunk.c | 176 max_data = sctp_min_frag_point(sctp_sk(asoc->base.sk), in sctp_datamsg_from_user()
|
D | sm_make_chunk.c | 242 sp = sctp_sk(asoc->base.sk); in sctp_make_init() 419 sp = sctp_sk(asoc->base.sk); in sctp_make_init_ack() 1252 sp = sctp_sk(asoc->base.sk); in sctp_make_op_error_limited() 1672 if (sctp_sk(ep->base.sk)->hmac) { in sctp_pack_cookie() 1673 struct crypto_shash *tfm = sctp_sk(ep->base.sk)->hmac; in sctp_pack_cookie() 1736 if (!sctp_sk(ep->base.sk)->hmac) in sctp_unpack_cookie() 1741 struct crypto_shash *tfm = sctp_sk(ep->base.sk)->hmac; in sctp_unpack_cookie()
|
D | bind_addr.c | 551 bp = &sctp_sk(sk)->ep->base.bind_addr; in sctp_is_ep_boundall()
|
D | sysctl.c | 483 sctp_sk(sk)->ep->auth_enable = new_value; in proc_sctp_do_auth()
|
D | diag.c | 127 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in inet_sctp_diag_fill()
|
D | sm_statefuns.c | 350 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) { in sctp_sf_do_5_1B_init() 712 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) { in sctp_sf_do_5_1D_ce() 1300 ep = sctp_sk(net->sctp.ctl_sock)->ep; in sctp_sf_send_restart_abort() 1766 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) in sctp_sf_do_5_2_3_initack() 6323 sctp_sk(net->sctp.ctl_sock)); in sctp_ootb_pkt_new()
|
D | ulpevent.c | 330 sctp_sk(asoc->base.sk), in sctp_ulpevent_make_peer_addr_change()
|
D | sm_sideeffect.c | 1267 struct sctp_sock *sp = sctp_sk(ep->base.sk); in sctp_cmd_interpreter()
|
D | outqueue.c | 201 sctp_sched_set_sched(asoc, sctp_sk(asoc->base.sk)->default_ss); in sctp_outq_init()
|
/kernel/linux/linux-5.10/include/net/sctp/ |
D | sctp.h | 517 return sctp_sk(sk)->type == style; in __sctp_style() 621 sctp_sk(sk)->nodelay = true; in sctp_sock_set_nodelay()
|
D | structs.h | 241 static inline struct sctp_sock *sctp_sk(const struct sock *sk) in sctp_sk() function
|