Home
last modified time | relevance | path

Searched refs:sctp_opt2sk (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/net/sctp/
Dipv6.c638 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v6_available()
668 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v6_addr_valid()
876 if (!__ipv6_only_sock(sctp_opt2sk(sp))) in sctp_inet6_af_supported()
892 struct sock *sk = sctp_opt2sk(opt); in sctp_inet6_cmp_addr()
991 if (!opt || !ipv6_only_sock(sctp_opt2sk(opt))) { in sctp_inet6_supported_addrs()
Dbind_addr.c369 if (sctp_opt2sk(bp_sp)->sk_family == AF_INET6) in sctp_bind_addr_conflict()
371 else if (sctp_opt2sk(addr_sp)->sk_family == AF_INET6) in sctp_bind_addr_conflict()
Dtransport.c297 af->get_dst(transport, saddr, &transport->fl, sctp_opt2sk(opt)); in sctp_transport_route()
304 sctp_transport_pmtu(transport, sctp_opt2sk(opt)); in sctp_transport_route()
Dprotocol.c332 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v4_addr_valid()
359 if (ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v4_available()
661 sk = sctp_opt2sk(sp); in sctp_addr_wq_timeout_handler()
Dsocket.c894 struct sock *sk = sctp_opt2sk(sp); in sctp_asconf_mgmt()
2482 sctp_transport_pmtu(trans, sctp_opt2sk(sp)); in sctp_apply_peer_addr_params()
2560 } else if (sctp_opt2sk(sp)->sk_family == AF_INET6) { in sctp_apply_peer_addr_params()
/Linux-v5.10/include/net/sctp/
Dstructs.h246 static inline struct sock *sctp_opt2sk(const struct sctp_sock *sp) in sctp_opt2sk() function