/Linux-v5.4/net/sctp/ |
D | socket.c | 198 af = sctp_sockaddr_af(sctp_sk(sk), addr, len); in sctp_verify_addr() 203 if (!af->addr_valid(addr, sctp_sk(sk), NULL)) in sctp_verify_addr() 206 if (!sctp_sk(sk)->pf->send_verify(sctp_sk(sk), (addr))) in sctp_verify_addr() 229 if (!list_empty(&sctp_sk(sk)->ep->asocs)) in sctp_id2assoc() 230 asoc = list_entry(sctp_sk(sk)->ep->asocs.next, in sctp_id2assoc() 264 addr_asoc = sctp_endpoint_lookup_assoc(sctp_sk(sk)->ep, in sctp_addr_id2transport() 275 sctp_get_pf_specific(sk->sk_family)->addr_to_user(sctp_sk(sk), in sctp_addr_id2transport() 301 if (!sctp_sk(sk)->ep->base.bind_addr.port) in sctp_bind() 349 struct sctp_sock *sp = sctp_sk(sk); in sctp_do_bind() 542 sp = sctp_sk(sk); in sctp_send_asconf_add_ip() [all …]
|
D | endpointola.c | 212 if (sctp_sk(sk)->bind_hash) in sctp_endpoint_destroy() 215 sctp_sk(sk)->ep = NULL; in sctp_endpoint_destroy() 248 sctp_sk(ep->base.sk))) in sctp_endpoint_is_match() 403 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() 1036 sp = sctp_sk(asoc->base.sk); in sctp_ulpq_partial_delivery() 1123 sp = sctp_sk(sk); in sctp_ulpq_abort_pd()
|
D | input.c | 182 ep = sctp_sk(sk)->ep; in sctp_rcv() 746 err = sctp_bind_addrs_check(sctp_sk(sk2), in __sctp_hash_endpoint() 747 sctp_sk(sk), cnt); in __sctp_hash_endpoint() 849 ep = sctp_sk(net->sctp.ctl_sock)->ep; in __sctp_rcv_lookup_endpoint() 859 ep = sctp_sk(sk)->ep; in __sctp_rcv_lookup_endpoint() 994 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() 255 assoc, sk, sctp_sk(sk)->type, sk->sk_state, in sctp_assocs_seq_show()
|
D | ipv6.c | 723 sctp_sk(newsk)->v4mapped = sctp_sk(sk)->v4mapped; in sctp_v6_create_accept_sk() 826 *addrlen = sctp_v6_addr_to_user(sctp_sk(asoc->base.sk), addr); in sctp_inet6_event_msgname() 857 *addr_len = sctp_v6_addr_to_user(sctp_sk(skb->sk), addr); in sctp_inet6_skb_msgname() 1001 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() 586 sp = sctp_sk(asoc->base.sk); in sctp_assoc_add_peer() 1070 struct sctp_sock *newsp = sctp_sk(newsk); in sctp_assoc_migrate() 1397 int frag = sctp_mtu_payload(sctp_sk(asoc->base.sk), asoc->pathmtu, in sctp_assoc_update_frag_point() 1609 sctp_sk(asoc->base.sk))) in sctp_assoc_lookup_laddr()
|
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() 1248 sp = sctp_sk(asoc->base.sk); in sctp_make_op_error_limited() 1668 if (sctp_sk(ep->base.sk)->hmac) { in sctp_pack_cookie() 1669 SHASH_DESC_ON_STACK(desc, sctp_sk(ep->base.sk)->hmac); in sctp_pack_cookie() 1673 desc->tfm = sctp_sk(ep->base.sk)->hmac; in sctp_pack_cookie() 1735 if (!sctp_sk(ep->base.sk)->hmac) in sctp_unpack_cookie() 1740 SHASH_DESC_ON_STACK(desc, sctp_sk(ep->base.sk)->hmac); in sctp_unpack_cookie() 1743 desc->tfm = sctp_sk(ep->base.sk)->hmac; in sctp_unpack_cookie()
|
D | stream_interleave.c | 327 pd_point = sctp_sk(asoc->base.sk)->pd_point; in sctp_intl_retrieve_reassembled() 475 struct sctp_sock *sp = sctp_sk(sk); in sctp_enqueue_event() 717 pd_point = sctp_sk(asoc->base.sk)->pd_point; in sctp_intl_retrieve_reassembled_uo() 1002 struct sctp_sock *sp = sctp_sk(sk); in sctp_intl_stream_abort_pd()
|
D | chunk.c | 178 max_data = sctp_min_frag_point(sctp_sk(asoc->base.sk), in sctp_datamsg_from_user()
|
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 | bind_addr.c | 541 bp = &sctp_sk(sk)->ep->base.bind_addr; in sctp_is_ep_boundall()
|
D | sysctl.c | 463 sctp_sk(sk)->ep->auth_enable = new_value; in proc_sctp_do_auth()
|
D | diag.c | 131 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in inet_sctp_diag_fill()
|
D | sm_statefuns.c | 326 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) { in sctp_sf_do_5_1B_init() 693 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) { in sctp_sf_do_5_1D_ce() 1280 ep = sctp_sk(net->sctp.ctl_sock)->ep; in sctp_sf_send_restart_abort() 1749 if (ep == sctp_sk(net->sctp.ctl_sock)->ep) in sctp_sf_do_5_2_3_initack() 6261 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 | outqueue.c | 200 sctp_sched_set_sched(asoc, sctp_sk(asoc->base.sk)->default_ss); in sctp_outq_init()
|
D | sm_sideeffect.c | 1262 struct sctp_sock *sp = sctp_sk(ep->base.sk); in sctp_cmd_interpreter()
|
/Linux-v5.4/include/net/sctp/ |
D | sctp.h | 517 return sctp_sk(sk)->type == style; in __sctp_style()
|
D | structs.h | 237 static inline struct sctp_sock *sctp_sk(const struct sock *sk) in sctp_sk() function
|