Lines Matching refs:ep
71 static sctp_cookie_param_t *sctp_pack_cookie(const struct sctp_endpoint *ep,
361 cookie = sctp_pack_cookie(asoc->ep, asoc, chunk, &cookie_len, in sctp_make_init_ack()
1438 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *ep, in sctp_make_temp_asoc() argument
1449 asoc = sctp_association_new(ep, ep->base.sk, scope, gfp); in sctp_make_temp_asoc()
1470 static sctp_cookie_param_t *sctp_pack_cookie(const struct sctp_endpoint *ep, in sctp_pack_cookie() argument
1536 if (sctp_sk(ep->base.sk)->hmac) { in sctp_pack_cookie()
1542 key = (char *)ep->secret_key[ep->current_key]; in sctp_pack_cookie()
1543 desc.tfm = sctp_sk(ep->base.sk)->hmac; in sctp_pack_cookie()
1562 const struct sctp_endpoint *ep, in sctp_unpack_cookie() argument
1571 __u8 *digest = ep->digest; in sctp_unpack_cookie()
1605 if (!sctp_sk(ep->base.sk)->hmac) in sctp_unpack_cookie()
1611 key = (char *)ep->secret_key[ep->current_key]; in sctp_unpack_cookie()
1612 desc.tfm = sctp_sk(ep->base.sk)->hmac; in sctp_unpack_cookie()
1624 key = (char *)ep->secret_key[ep->last_key]; in sctp_unpack_cookie()
1666 if (sock_flag(ep->base.sk, SOCK_TIMESTAMP)) in sctp_unpack_cookie()
1700 retval = sctp_association_new(ep, ep->base.sk, scope, gfp); in sctp_unpack_cookie()
2565 __u32 sctp_generate_tag(const struct sctp_endpoint *ep) in sctp_generate_tag() argument
2580 __u32 sctp_generate_tsn(const struct sctp_endpoint *ep) in sctp_generate_tsn() argument