Lines Matching refs:base
104 skb->sk = asoc ? asoc->base.sk : NULL; in sctp_control_set_owner_w()
218 struct net *net = sock_net(asoc->base.sk); in sctp_make_init()
252 sp = sctp_sk(asoc->base.sk); in sctp_make_init()
402 addrs = sctp_bind_addrs_to_raw(&asoc->base.bind_addr, &addrs_len, gfp); in sctp_make_init_ack()
421 sp = sctp_sk(asoc->base.sk); in sctp_make_init_ack()
1393 sk = asoc ? asoc->base.sk : NULL; in _sctp_make_chunk()
1591 asoc = sctp_association_new(ep, ep->base.sk, scope, gfp); in sctp_make_temp_asoc()
1669 if (sctp_sk(ep->base.sk)->hmac) { in sctp_pack_cookie()
1670 SHASH_DESC_ON_STACK(desc, sctp_sk(ep->base.sk)->hmac); in sctp_pack_cookie()
1674 desc->tfm = sctp_sk(ep->base.sk)->hmac; in sctp_pack_cookie()
1737 if (!sctp_sk(ep->base.sk)->hmac) in sctp_unpack_cookie()
1742 SHASH_DESC_ON_STACK(desc, sctp_sk(ep->base.sk)->hmac); in sctp_unpack_cookie()
1745 desc->tfm = sctp_sk(ep->base.sk)->hmac; in sctp_unpack_cookie()
1792 if (sock_flag(ep->base.sk, SOCK_TIMESTAMP)) in sctp_unpack_cookie()
1824 retval = sctp_association_new(ep, ep->base.sk, scope, gfp); in sctp_unpack_cookie()
1843 if (list_empty(&retval->base.bind_addr.address_list)) { in sctp_unpack_cookie()
1844 sctp_add_bind_addr(&retval->base.bind_addr, &chunk->dest, in sctp_unpack_cookie()
2013 struct net *net = sock_net(asoc->base.sk); in sctp_process_ext_param()
2307 struct net *net = sock_net(asoc->base.sk); in sctp_process_init()
2504 struct net *net = sock_net(asoc->base.sk); in sctp_process_param()
2522 if (PF_INET6 != asoc->base.sk->sk_family) in sctp_process_param()
2528 if (ipv6_only_sock(asoc->base.sk)) in sctp_process_param()
2582 if (PF_INET6 == asoc->base.sk->sk_family) in sctp_process_param()
3301 struct sctp_bind_addr *bp = &asoc->base.bind_addr; in sctp_asconf_param_success()