Searched refs:sctp_opt2sk (Results 1 – 6 of 6) sorted by relevance
692 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v6_available()735 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v6_addr_valid()946 if (!ipv6_only_sock(sctp_opt2sk(sp))) in sctp_inet6_af_supported()962 struct sock *sk = sctp_opt2sk(opt); in sctp_inet6_cmp_addr()1060 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()
455 af->get_dst(transport, saddr, &transport->fl, sctp_opt2sk(opt)); in sctp_transport_route()462 sctp_transport_pmtu(transport, sctp_opt2sk(opt)); in sctp_transport_route()
338 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v4_addr_valid()368 if (ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v4_available()673 sk = sctp_opt2sk(sp); in sctp_addr_wq_timeout_handler()
911 struct sock *sk = sctp_opt2sk(sp); in sctp_asconf_mgmt()2507 sctp_transport_pmtu(trans, sctp_opt2sk(sp)); in sctp_apply_peer_addr_params()2586 } else if (sctp_opt2sk(sp)->sk_family == AF_INET6) { in sctp_apply_peer_addr_params()
247 static inline struct sock *sctp_opt2sk(const struct sctp_sock *sp) in sctp_opt2sk() function