Lines Matching defs:oph

89  * header for the parameter returned in the ACK, and oph is the
97 * ph and oph parameter headers are in host byte order. Encapsulated
101 sctp_parm_hdr_t *oph, sctp_faddr_t *, in6_addr_t *addr);
226 sctp_parm_hdr_t *oph, sctp_faddr_t *fp, in6_addr_t *laddr)
454 sctp_parm_hdr_t *oph = ph;
464 if (orlen < sizeof (*oph))
466 plen = ntohs(oph->sph_len);
467 if (plen < sizeof (*oph) || plen > orlen)
469 if (oph->sph_type == htons(PARM_ADD_IP))
471 if (oph->sph_type == htons(PARM_DEL_IP))
473 oph = sctp_next_parm(oph, &orlen);
474 if (oph == NULL)
622 sctp_parm_hdr_t *oph;
694 oph = sctp_lookup_asconf_param(fph, *idp, plen);
695 if (oph != NULL) {
696 dp = sctp_lookup_asconf_dispatch(ntohs(oph->sph_type));
699 dp->asconf_ack(sctp, ph, oph, fp, &addr);
702 if (oph->sph_type == htons(PARM_ADD_IP) ||
703 oph->sph_type == htons(PARM_DEL_IP)) {
715 if (oph->sph_type ==
746 oph = fph;
750 idp = (uint32_t *)(oph + 1);
753 dp = sctp_lookup_asconf_dispatch(ntohs(oph->sph_type));
756 dp->asconf_ack(sctp, NULL, oph, fp, &addr);
759 if (oph->sph_type == htons(PARM_ADD_IP) ||
760 oph->sph_type == htons(PARM_DEL_IP)) {
772 if (oph->sph_type ==
788 oph = sctp_next_parm(oph, &rlen);
789 if (oph == NULL) {
1070 sctp_check_addip_addr(sctp_parm_hdr_t *ph, sctp_parm_hdr_t *oph, int *cont,
1083 mp = sctp_asconf_adderr(SCTP_ERR_BAD_MANDPARM, oph, cid);
1091 mp = sctp_asconf_adderr(SCTP_ERR_BAD_MANDPARM, oph, cid);
1108 mp = sctp_asconf_adderr(SCTP_ERR_BAD_MANDPARM, oph,
1131 mp = sctp_asconf_adderr(SCTP_ERR_BAD_MANDPARM, oph,
1157 sctp_parm_hdr_t *oph = ph;
1177 mp = sctp_check_addip_addr(ph, oph, cont, cid, &addr);
1267 mp = sctp_asconf_adderr(err, oph, cid);
1278 sctp_addip_ack(sctp_t *sctp, sctp_parm_hdr_t *ph, sctp_parm_hdr_t *oph,
1307 type = ntohs(oph->sph_type);
1308 cid = (uint32_t *)(oph + 1);
1309 oph = (sctp_parm_hdr_t *)(cid + 1);
1310 if (oph->sph_type == htons(PARM_ADDR4)) {
1311 addr4 = (ipaddr_t *)(oph + 1);
1314 bcopy(oph + 1, &addr, sizeof (addr));
1349 sctp_parm_hdr_t *oph;
1373 oph = ph;
1376 mp = sctp_check_addip_addr(ph, oph, cont, cid, &addr);
1389 mp = sctp_asconf_adderr(SCTP_ERR_BAD_MANDPARM, oph, cid);
1407 sctp_setprim_ack(sctp_t *sctp, sctp_parm_hdr_t *ph, sctp_parm_hdr_t *oph,