Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dsctp_asconf.c90 aph->ph.param_length = sizeof(struct sctp_asconf_paramhdr); in sctp_asconf_success_response()
91 SCTP_BUF_LEN(m_reply) = aph->ph.param_length; in sctp_asconf_success_response()
92 aph->ph.param_length = htons(aph->ph.param_length); in sctp_asconf_success_response()
105 uint16_t i, param_length, cause_length, padding_length; in sctp_asconf_error_response() local
112 param_length = sizeof(struct sctp_asconf_paramhdr) + cause_length; in sctp_asconf_error_response()
117 buf_len = param_length + padding_length; in sctp_asconf_error_response()
132 aph->ph.param_length = htons(param_length); in sctp_asconf_error_response()
158 uint16_t param_length; in sctp_process_asconf_add_ip() local
172 aparam_length = ntohs(aph->ph.param_length); in sctp_process_asconf_add_ip()
179 param_length = ntohs(ph->param_length); in sctp_process_asconf_add_ip()
[all …]
H A Dsctp_output.c1989 paramh->param_length = htons(plen); in sctp_add_addr_to_mbuf()
2004 paramh->param_length = htons(plen); in sctp_add_addr_to_mbuf()
3852 ph->param_length = 0; /* fill in at the end */ in sctp_add_cookie()
3887 ph->param_length = htons(cookie_sz); in sctp_add_cookie()
4695 ali->ph.param_length = htons(parameter_len); in sctp_send_initiate()
4705 ph->param_length = htons(parameter_len); in sctp_send_initiate()
4714 ph->param_length = htons(parameter_len); in sctp_send_initiate()
4723 zero_chksum->ph.param_length = htons(parameter_len); in sctp_send_initiate()
4733 ph->param_length = htons(parameter_len); in sctp_send_initiate()
4768 pr_supported->ph.param_length = htons(parameter_len); in sctp_send_initiate()
[all …]
H A Dsctp_auth.c1383 plen = ntohs(phdr->param_length); in sctp_auth_get_cookie_params()
1779 plen = ntohs(phdr->param_length); in sctp_validate_init_auth_params()
1953 ph->param_length = htons(plen); in sctp_initialize_auth_params()
1962 ph->param_length = htons(plen); in sctp_initialize_auth_params()
1977 ph->param_length = htons(plen); in sctp_initialize_auth_params()
H A Dsctp.h68 uint16_t param_length; /* parameter length */ member
H A Dsctp_input.c3394 len = SCTP_SIZE32(ntohs(r->ph.param_length)); in sctp_find_stream_reset()
3452 lparam_len = ntohs(req_param->ph.param_length); in sctp_handle_stream_reset_response()
3541 if (ntohs(respin->ph.param_length) < sizeof(struct sctp_stream_reset_response_tsn)) { in sctp_handle_stream_reset_response()
3615 len = ntohs(req->ph.param_length); in sctp_handle_str_reset_request_in()
3734 len = ntohs(req->ph.param_length); in sctp_handle_str_reset_request_out()
4011 param_len = ntohs(ph->param_length); in sctp_handle_stream_reset()
H A Dsctp_pcb.c1943 plen = ntohs(phdr->param_length); in sctp_findassociation_special_addr()
2191 if (ntohs(phdr->param_length) != sizeof(struct sctp_ipv6addr_param)) { in sctp_findassociation_ep_asconf()
2218 if (ntohs(phdr->param_length) != sizeof(struct sctp_ipv4addr_param)) { in sctp_findassociation_ep_asconf()
5995 plen = ntohs(phdr->param_length); in sctp_load_addresses_from_init()
/freebsd/sys/netinet/libalias/
H A Dalias_sctp.c214 …EXTPARAM(param) (struct sctp_paramhdr *)(((char *)param) + SCTP_SIZE32(ntohs(param->param_length)))
1291 param_size = SCTP_SIZE32(ntohs(param->param_length)); in GetAsconfVtags()
1318 param_size = SCTP_SIZE32(ntohs(param->param_length)); in GetAsconfVtags()
1375 param_size = SCTP_SIZE32(ntohs(param->param_length)); in AddGlobalIPAddresses()
1444 param_size = SCTP_SIZE32(ntohs(param->param_length)); in AddGlobalIPAddresses()
1517 param_size = SCTP_SIZE32(ntohs(param->param_length)); in RmGlobalIPAddresses()
1572 param_size = SCTP_SIZE32(ntohs(param->param_length)); in RmGlobalIPAddresses()
1614 param_size = SCTP_SIZE32(ntohs(param->param_length)); in IsASCONFack()
1632 param_size = SCTP_SIZE32(ntohs(param->param_length)); in IsASCONFack()
1668 param_size = SCTP_SIZE32(ntohs(param->param_length)); in IsADDorDEL()
[all …]
/freebsd/sys/dev/hptrr/
H A Dhptintf.h942 HPT_U16 param_length; member
/freebsd/sys/dev/hptnr/
H A Dhptintf.h1137 HPT_U16 param_length; member
/freebsd/usr.sbin/traceroute6/
H A Dtraceroute6.c1183 param->param_length = in send_probe()
/freebsd/sys/dev/hpt27xx/
H A Dhptintf.h1141 HPT_U16 param_length; member
/freebsd/usr.sbin/traceroute/
H A Dtraceroute.c1559 param->param_length = in sctp_prep()
/freebsd/sys/netpfil/pf/
H A Dpf.c8406 if (ntohs(h.param_length) < 4) in pf_multihome_scan()
8410 ntohs(h.param_length)); in pf_multihome_scan()
8416 if (ntohs(h.param_length) != in pf_multihome_scan()
8461 if (ntohs(h.param_length) != in pf_multihome_scan()
8501 ntohs(ah.ph.param_length) - sizeof(ah), pd, in pf_multihome_scan()
8515 ntohs(ah.ph.param_length) - sizeof(ah), pd, in pf_multihome_scan()
8525 off += roundup(ntohs(h.param_length), 4); in pf_multihome_scan()