Searched refs:sctp_opt2sk (Results 1 – 6 of 6) sorted by relevance
691 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v6_available()721 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v6_addr_valid()929 if (!ipv6_only_sock(sctp_opt2sk(sp))) in sctp_inet6_af_supported()945 struct sock *sk = sctp_opt2sk(opt); in sctp_inet6_cmp_addr()1043 if (!opt || !ipv6_only_sock(sctp_opt2sk(opt))) { in sctp_inet6_supported_addrs()
378 if (sctp_opt2sk(bp_sp)->sk_family == AF_INET6) in sctp_bind_addr_conflict()380 else if (sctp_opt2sk(addr_sp)->sk_family == AF_INET6) in sctp_bind_addr_conflict()
454 af->get_dst(transport, saddr, &transport->fl, sctp_opt2sk(opt)); in sctp_transport_route()461 sctp_transport_pmtu(transport, sctp_opt2sk(opt)); in sctp_transport_route()
337 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v4_addr_valid()364 if (ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v4_available()667 sk = sctp_opt2sk(sp); in sctp_addr_wq_timeout_handler()
909 struct sock *sk = sctp_opt2sk(sp); in sctp_asconf_mgmt()2493 sctp_transport_pmtu(trans, sctp_opt2sk(sp)); in sctp_apply_peer_addr_params()2572 } else if (sctp_opt2sk(sp)->sk_family == AF_INET6) { in sctp_apply_peer_addr_params()
250 static inline struct sock *sctp_opt2sk(const struct sctp_sock *sp) in sctp_opt2sk() function