Home
last modified time | relevance | path

Searched refs:sph (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/inet/sctp/
H A Dsctp_init.c55 sctp_parm_hdr_t *sph; in sctp_supaddr_param() local
59 sph = (sctp_parm_hdr_t *)p; in sctp_supaddr_param()
60 sph->sph_type = htons(PARM_SUPP_ADDRS); in sctp_supaddr_param()
61 addrtype = (uint16_t *)(sph + 1); in sctp_supaddr_param()
66 sph->sph_len = htons(sizeof (*sph) + sizeof (*addrtype)); in sctp_supaddr_param()
72 sph->sph_len = htons(sizeof (*sph) + in sctp_supaddr_param()
76 sph->sph_len = htons(sizeof (*sph) + in sctp_supaddr_param()
83 return (sizeof (*sph) + (sizeof (*addrtype) * 2)); in sctp_supaddr_param()
110 sctp_parm_hdr_t *sph = (sctp_parm_hdr_t *)p; in sctp_options_param() local
114 sph->sph_type = htons(PARM_FORWARD_TSN); in sctp_options_param()
[all …]
H A Dsctp_cookie.c907 sctp_find_al_ind(sctp_parm_hdr_t *sph, ssize_t len, uint32_t *adaptation_code) in sctp_find_al_ind() argument
910 if (len < sizeof (*sph)) in sctp_find_al_ind()
912 while (sph != NULL) { in sctp_find_al_ind()
913 if (sph->sph_type == htons(PARM_ADAPT_LAYER_IND) && in sctp_find_al_ind()
914 ntohs(sph->sph_len) >= (sizeof (*sph) + in sctp_find_al_ind()
916 *adaptation_code = *(uint32_t *)(sph + 1); in sctp_find_al_ind()
919 sph = sctp_next_parm(sph, &len); in sctp_find_al_ind()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dspd.c960 ipsec_copy_polhead(ipsec_policy_head_t *sph, ipsec_policy_head_t *dph, in ipsec_copy_polhead() argument
969 rw_enter(&sph->iph_lock, RW_READER); in ipsec_copy_polhead()
973 ipsec_policy_root_t *spr = &sph->iph_root[dir]; in ipsec_copy_polhead()
994 rw_exit(&sph->iph_lock); in ipsec_copy_polhead()
1000 rw_exit(&sph->iph_lock); in ipsec_copy_polhead()