Home
last modified time | relevance | path

Searched refs:sctp_sk (Results 1 – 15 of 15) sorted by relevance

/linux-3.4.99/net/sctp/
Dsocket.c193 af = sctp_sockaddr_af(sctp_sk(sk), addr, len); in sctp_verify_addr()
198 if (!af->addr_valid(addr, sctp_sk(sk), NULL)) in sctp_verify_addr()
201 if (!sctp_sk(sk)->pf->send_verify(sctp_sk(sk), (addr))) in sctp_verify_addr()
224 if (!list_empty(&sctp_sk(sk)->ep->asocs)) in sctp_id2assoc()
225 asoc = list_entry(sctp_sk(sk)->ep->asocs.next, in sctp_id2assoc()
256 addr_asoc = sctp_endpoint_lookup_assoc(sctp_sk(sk)->ep, in sctp_addr_id2transport()
267 sctp_get_pf_specific(sk->sk_family)->addr_v4map(sctp_sk(sk), in sctp_addr_id2transport()
293 if (!sctp_sk(sk)->ep->base.bind_addr.port) in sctp_bind()
339 struct sctp_sock *sp = sctp_sk(sk); in sctp_do_bind()
536 sp = sctp_sk(sk); in sctp_send_asconf_add_ip()
[all …]
Dulpqueue.c142 struct sctp_sock *sp = sctp_sk(sk); in sctp_clear_pd()
151 list = (struct list_head *)&sctp_sk(sk)->pd_lobby; in sctp_clear_pd()
182 struct sctp_sock *sp = sctp_sk(ulpq->asoc->base.sk); in sctp_ulpq_set_pd()
215 if (!sctp_ulpevent_is_enabled(event, &sctp_sk(sk)->subscribe)) in sctp_ulpq_tail_event()
223 if (atomic_read(&sctp_sk(sk)->pd_mode) == 0) { in sctp_ulpq_tail_event()
235 queue = &sctp_sk(sk)->pd_lobby; in sctp_ulpq_tail_event()
246 if (sctp_sk(sk)->frag_interleave) in sctp_ulpq_tail_event()
249 queue = &sctp_sk(sk)->pd_lobby; in sctp_ulpq_tail_event()
489 if (!sctp_sk(asoc->base.sk)->frag_interleave && in sctp_ulpq_retrieve_reassembled()
490 atomic_read(&sctp_sk(asoc->base.sk)->pd_mode)) in sctp_ulpq_retrieve_reassembled()
[all …]
Dendpointola.c256 crypto_free_hash(sctp_sk(ep->base.sk)->hmac); in sctp_endpoint_destroy()
279 if (sctp_sk(ep->base.sk)->bind_hash) in sctp_endpoint_destroy()
316 sctp_sk(ep->base.sk))) in sctp_endpoint_is_match()
496 if (!sctp_sk(sk)->ep) in sctp_endpoint_bh_rcv()
Dipv6.c432 if (addr->sa.sa_family == AF_INET && sctp_sk(sk)->v4mapped) { in sctp_v6_to_sk_saddr()
446 if (addr->sa.sa_family == AF_INET && sctp_sk(sk)->v4mapped) { in sctp_v6_to_sk_daddr()
649 sctp_sk(newsk)->v4mapped = sctp_sk(sk)->v4mapped; in sctp_v6_create_accept_sk()
735 if (sctp_sk(asoc->base.sk)->v4mapped && in sctp_inet6_event_msgname()
764 if (sctp_sk(skb->sk)->v4mapped && in sctp_inet6_skb_msgname()
Dchunk.c118 sp = sctp_sk(asoc->base.sk); in sctp_datamsg_destroy()
204 sctp_sk(asoc->base.sk)->pf->af->net_header_len - in sctp_datamsg_from_user()
Doutput.c128 struct sctp_sock *sp = sctp_sk(asoc->base.sk); in sctp_packet_init()
400 sctp_transport_route(tp, NULL, sctp_sk(sk)); in sctp_packet_transmit()
682 if (!sctp_sk(asoc->base.sk)->nodelay && sctp_packet_empty(packet) && in sctp_packet_can_append_data()
Dproc.c217 sctp_sk(sk)->type, sk->sk_state, hash, in sctp_eps_seq_show()
322 assoc, sk, sctp_sk(sk)->type, sk->sk_state, in sctp_assocs_seq_show()
Dassociola.c91 sp = sctp_sk((struct sock *)sk); in sctp_association_init()
645 sp = sctp_sk(asoc->base.sk); in sctp_assoc_add_peer()
1080 sctp_sk(asoc->base.sk))) in sctp_assoc_is_match()
1152 struct sctp_sock *newsp = sctp_sk(newsk); in sctp_assoc_migrate()
1547 sctp_sk(asoc->base.sk))) in sctp_assoc_lookup_laddr()
Dinput.c204 ep = sctp_sk(sk)->ep; in sctp_rcv()
774 ep = sctp_sk((sctp_get_ctl_sock()))->ep; in __sctp_rcv_lookup_endpoint()
Dsm_make_chunk.c233 sp = sctp_sk(asoc->base.sk); in sctp_make_init()
402 sp = sctp_sk(asoc->base.sk); in sctp_make_init_ack()
1611 if (sctp_sk(ep->base.sk)->hmac) { in sctp_pack_cookie()
1618 desc.tfm = sctp_sk(ep->base.sk)->hmac; in sctp_pack_cookie()
1680 if (!sctp_sk(ep->base.sk)->hmac) in sctp_unpack_cookie()
1687 desc.tfm = sctp_sk(ep->base.sk)->hmac; in sctp_unpack_cookie()
Dbind_addr.c542 bp = &sctp_sk(sk)->ep->base.bind_addr; in sctp_is_ep_boundall()
Dulpevent.c352 sctp_sk(asoc->base.sk), in sctp_ulpevent_make_peer_addr_change()
Dsm_statefuns.c321 if (ep == sctp_sk((sctp_get_ctl_sock()))->ep) { in sctp_sf_do_5_1B_init()
653 if (ep == sctp_sk((sctp_get_ctl_sock()))->ep) { in sctp_sf_do_5_1D_ce()
1204 ep = sctp_sk((sctp_get_ctl_sock()))->ep; in sctp_sf_send_restart_abort()
1660 if (ep == sctp_sk((sctp_get_ctl_sock()))->ep) in sctp_sf_do_5_2_3_initack()
5926 sctp_sk(sctp_get_ctl_sock())); in sctp_ootb_pkt_new()
/linux-3.4.99/include/net/sctp/
Dsctp.h506 struct sctp_sock *sp = sctp_sk(asoc->base.sk); in sctp_frag_point()
670 return sctp_sk(sk)->type == style; in __sctp_style()
Dstructs.h362 static inline struct sctp_sock *sctp_sk(const struct sock *sk) in sctp_sk() function