Searched defs:sph (Results 1 - 3 of 3) sorted by relevance

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

Completed in 77 milliseconds