Home
last modified time | relevance | path

Searched refs:sctp_parm_hdr_t (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c84 typedef mblk_t *sctp_asconf_func_t(sctp_t *, sctp_parm_hdr_t *ph, uint32_t cid,
100 typedef void sctp_asconf_ack_func_t(sctp_t *, sctp_parm_hdr_t *ph,
101 sctp_parm_hdr_t *oph, sctp_faddr_t *, in6_addr_t *addr);
151 sctp_parm_hdr_t *wph; in sctp_asconf_prepend_errwrap()
160 wph = (sctp_parm_hdr_t *)wmp->b_rptr; in sctp_asconf_prepend_errwrap()
171 sctp_asconf_unrec_parm(sctp_t *sctp, sctp_parm_hdr_t *ph, uint32_t cid, in sctp_asconf_unrec_parm()
225 sctp_asconf_ack_unrec_parm(sctp_t *sctp, sctp_parm_hdr_t *ph, in sctp_asconf_ack_unrec_parm()
226 sctp_parm_hdr_t *oph, sctp_faddr_t *fp, in6_addr_t *laddr) in sctp_asconf_ack_unrec_parm()
248 cp = (uint32_t *)(mp->b_rptr + sizeof (sctp_parm_hdr_t)); in sctp_asconf_add()
380 sctp_parm_hdr_t *ph; in sctp_input_asconf()
[all …]
H A Dsctp_init.c49 return (sizeof (sctp_parm_hdr_t) + sizeof (int32_t)); in sctp_supaddr_param_len()
55 sctp_parm_hdr_t *sph; in sctp_supaddr_param()
59 sph = (sctp_parm_hdr_t *)p; in sctp_supaddr_param()
97 optlen = sizeof (sctp_parm_hdr_t); in sctp_options_param_len()
110 sctp_parm_hdr_t *sph = (sctp_parm_hdr_t *)p; in sctp_options_param()
128 sctp_parm_hdr_t *sph; in sctp_adaptation_code_param()
133 sph = (sctp_parm_hdr_t *)p; in sctp_adaptation_code_param()
164 initlen += (sizeof (sctp_parm_hdr_t) + sizeof (uint32_t)); in sctp_init_mp()
H A Dsctp_heartbeat.c121 sctp_parm_hdr_t *hpp; in sctp_send_heartbeat()
149 hpp = (sctp_parm_hdr_t *)(cp + 1); in sctp_send_heartbeat()
279 sctp_parm_hdr_t *hpp; in sctp_process_heartbeat()
294 hpp = (sctp_parm_hdr_t *)(cp + 1); in sctp_process_heartbeat()
H A Dsctp_cookie.c158 sctp_init_chunk_t *init, mblk_t *inmp, sctp_parm_hdr_t **want_cookie, in validate_init_params()
161 sctp_parm_hdr_t *cph; in validate_init_params()
205 cph = (sctp_parm_hdr_t *)(ic + 1); in validate_init_params()
461 sizeof (sctp_parm_hdr_t) + /* param header */ \
483 sctp_parm_hdr_t *cookieph; in sctp_send_initack()
580 iacklen += (sizeof (sctp_parm_hdr_t) + sizeof (uint32_t)); in sctp_send_initack()
746 cookieph = (sctp_parm_hdr_t *)p; in sctp_send_initack()
907 sctp_find_al_ind(sctp_parm_hdr_t *sph, ssize_t len, uint32_t *adaptation_code) in sctp_find_al_ind()
938 sctp_parm_hdr_t *cph; in sctp_send_cookie_echo()
1087 if (sctp_find_al_ind((sctp_parm_hdr_t *)(iack + 1), in sctp_send_cookie_echo()
[all …]
H A Dsctp_error.c56 sctp_parm_hdr_t *eph; in sctp_link_abort()
83 eph = (sctp_parm_hdr_t *)(acp + 1); in sctp_link_abort()
131 hdrlen += sizeof (sctp_chunk_hdr_t) + sizeof (sctp_parm_hdr_t); in sctp_user_abort()
475 sctp_parm_hdr_t *eph; in sctp_make_err()
496 eph = (sctp_parm_hdr_t *)(ecp + 1); in sctp_make_err()
607 sctp_parm_hdr_t *errh; in sctp_handle_error()
614 errh = (sctp_parm_hdr_t *)(ch + 1); in sctp_handle_error()
H A Dsctp_common.c1139 sctp_add_unrec_parm(sctp_parm_hdr_t *uph, mblk_t **errmp, in sctp_add_unrec_parm()
1143 sctp_parm_hdr_t *ph; in sctp_add_unrec_parm()
1158 ph = (sctp_parm_hdr_t *)(mp->b_rptr); in sctp_add_unrec_parm()
1192 sctp_parm_hdr_t *
1193 sctp_next_parm(sctp_parm_hdr_t *current, ssize_t *remaining) in sctp_next_parm()
1208 current = (sctp_parm_hdr_t *)((char *)current + len + pad); in sctp_next_parm()
1264 sctp_parm_hdr_t *ph; in sctp_get_addrparams()
1358 ph = (sctp_parm_hdr_t *)(init + 1); in sctp_get_addrparams()
1514 sctp_parm_hdr_t *ph; in sctp_secure_restart_check()
1545 ph = (sctp_parm_hdr_t *)(init + 1); in sctp_secure_restart_check()
[all …]
H A Dsctp_notify.c368 sctp_parm_hdr_t *errh = NULL; in sctp_error_event()
392 errh = (sctp_parm_hdr_t *)((char *)ch + in sctp_error_event()
393 sizeof (uint32_t) + sizeof (sctp_parm_hdr_t)); in sctp_error_event()
397 errh = (sctp_parm_hdr_t *)(ch + 1); in sctp_error_event()
H A Dsctp_impl.h982 extern void sctp_add_unrec_parm(sctp_parm_hdr_t *, mblk_t **, boolean_t);
1092 extern sctp_parm_hdr_t *sctp_next_parm(sctp_parm_hdr_t *, ssize_t *);
H A Dsctp_hash.c357 sctp_parm_hdr_t *ph; in sctp_lookup_by_faddrs()
412 ph = (sctp_parm_hdr_t *)(iack + 1); in sctp_lookup_by_faddrs()
H A Dsctp_input.c3247 sctp_parm_hdr_t *ph; in sctp_check_input()
3602 ntohs(((sctp_parm_hdr_t *)(ch + 1))->sph_type), ch); in sctp_process_abort()
4210 sctp_parm_hdr_t *p; in sctp_input_data()
4218 p = (sctp_parm_hdr_t *)(ch + 1); in sctp_input_data()
H A Dsctp_addr.c1654 sctp_parm_hdr_t *hdr; in sctp_saddr_info()
1720 hdr = (sctp_parm_hdr_t *)(p + paramlen); in sctp_saddr_info()
/illumos-gate/usr/src/uts/common/netinet/
H A Dsctp.h719 } sctp_parm_hdr_t; typedef
785 sctp_parm_hdr_t sad4_addip_ph;
787 sctp_parm_hdr_t sad4_addr4_ph;
792 sctp_parm_hdr_t sad6_addip_ph;
794 sctp_parm_hdr_t sad6_addr6_ph;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_sctp.c488 if (dlen < sizeof (sctp_parm_hdr_t)) { in parse_encap_param()
547 const sctp_parm_hdr_t *hdr = data; in interpret_params()
572 hdr = (sctp_parm_hdr_t *)((char *)hdr + pad); in interpret_params()
619 hdr = (sctp_parm_hdr_t *)((char *)hdr + plen); in interpret_params()