Searched refs:chunk_length (Results 1 - 11 of 11) sorted by relevance
/freebsd-10.2-release/sys/dev/sfxge/common/ |
H A D | efx_bootcfg.c | 255 size_t chunk_length; local 284 rc = efx_nvram_rw_start(enp, EFX_NVRAM_BOOTROM_CFG, &chunk_length); 288 EFSYS_KMEM_ALLOC(enp->en_esip, chunk_length, chunk); 303 remaining = MIN(chunk_length, sector_length - offset); 306 (void) memset(chunk, 0x0, chunk_length); 322 EFSYS_KMEM_FREE(enp->en_esip, chunk_length, chunk); 331 EFSYS_KMEM_FREE(enp->en_esip, chunk_length, chunk);
|
/freebsd-10.2-release/sys/netinet/libalias/ |
H A D | alias_sctp.c | 210 #define SN_SCTP_NEXTCHUNK(chunkhead) (struct sctp_chunkhdr *)(((char *)chunkhead) + SCTP_SIZE32(ntohs(chunkhead->chunk_length))) 939 chunk_hdr->chunk_length = htons(sizeof(*chunk_hdr) + sizeof(struct sctp_error_cause)); 941 chunk_hdr->chunk_length = htons(sizeof(*chunk_hdr)); 1026 int chunk_length; local 1065 chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length)); 1066 if ((chunk_length < SN_MIN_CHUNK_SIZE) || (chunk_length > bytes_left)) /* malformed chunk - could cause endless loop*/ 1088 sm->chunk_length = 0; /* only care about length for key chunks */ 1092 if (chunk_length < sizeo [all...] |
H A D | alias_sctp.h | 178 int chunk_length; /**< length of chunk of interest */ member in struct:sctp_nat_msg
|
/freebsd-10.2-release/sys/netinet/ |
H A D | sctp_asconf.c | 611 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_asconf_chunk)) { 614 ntohs(cp->ch.chunk_length)); 634 asconf_limit = offset + ntohs(cp->ch.chunk_length); 671 ack_cp->ch.chunk_length = sizeof(struct sctp_asconf_ack_chunk); 769 ack_cp->ch.chunk_length += SCTP_BUF_LEN(m_result); 791 ack_cp->ch.chunk_length = htons(ack_cp->ch.chunk_length); 1661 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_asconf_ack_chunk)) { 1664 ntohs(cp->ch.chunk_length)); 1700 ack_length = ntohs(cp->ch.chunk_length) [all...] |
H A D | sctp_input.c | 101 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_init_chunk)) { 153 offset + ntohs(cp->ch.chunk_length))) { 465 initack_limit = offset + ntohs(cp->ch.chunk_length); 571 if (ntohs(cp->ch.chunk_length) != sizeof(struct sctp_heartbeat_chunk)) { 775 len = ntohs(abort->ch.chunk_length); 882 if (ntohs(cp->ch.chunk_length) != sizeof(struct sctp_shutdown_chunk)) { 1153 chklen = ntohs(ch->chunk_length) - sizeof(struct sctp_chunkhdr); 1308 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_init_ack_chunk)) { 1514 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); 2066 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); [all...] |
H A D | sctp_output.c | 4748 init->ch.chunk_length = 0; 4932 init->ch.chunk_length = htons(chunk_len); 4981 limit = ntohs(cp->chunk_length) - sizeof(struct sctp_init_chunk); 5783 initack->ch.chunk_length = 0; 6056 initack->ch.chunk_length = htons(chunk_len); 7528 dchkh->ch.chunk_length = htons(chk->send_size); 8881 hdr->chunk_length = htons(chk->send_size); 9066 hdr->chunk_length = htons(chk->send_size); 9111 ack_cp->ch.chunk_length = htons(chk->send_size); 9155 shutdown_cp->ch.chunk_length [all...] |
H A D | sctp.h | 62 uint16_t chunk_length; /* chunk length */ member in struct:sctp_chunkhdr
|
H A D | sctp_auth.c | 1638 chunklen = ntohs(auth->ch.chunk_length);
|
H A D | sctputil.c | 2622 abort_len = ntohs(abort->ch.chunk_length); 3506 chunk_len = ntohs(chunk->ch.chunk_length); 4073 chk_length = ntohs(ch->chunk_length); 4131 chk_length = ntohs(ch->chunk_length);
|
H A D | sctp_indata.c | 2368 chk_length = ntohs(ch->ch.chunk_length); 5109 if ((fwd_sz = ntohs(fwd->ch.chunk_length)) < sizeof(struct sctp_forward_tsn_chunk)) {
|
/freebsd-10.2-release/contrib/traceroute/ |
H A D | traceroute.c | 1502 chk->chunk_length = htons(4); 1509 chk->chunk_length = htons(protlen -
|
Completed in 222 milliseconds