Searched refs:total_len (Results 51 - 63 of 63) sorted by relevance

123

/freebsd-10.2-release/crypto/heimdal/kadmin/
H A Drpc.c227 size_t total_len = 0; local
238 total_len += len;
240 } while(!last_fragment || total_len == 0);
/freebsd-10.2-release/contrib/wpa/src/p2p/
H A Dp2p_sd.c203 u16 total_len)
215 wpabuf_put_le16(buf, 3 + 1 + 2 + total_len);
198 p2p_build_gas_comeback_resp(u8 dialog_token, u16 status_code, u16 update_indic, const u8 *data, size_t len, u8 frag_id, u8 more, u16 total_len) argument
/freebsd-10.2-release/sys/dev/vge/
H A Dif_vge.c1435 int prod, prog, total_len; local
1459 total_len = VGE_RXBYTES(rxstat);
1521 m->m_len = total_len % (MCLBYTES - VGE_RX_BUF_ALIGN);
1539 m->m_pkthdr.len = total_len - ETHER_CRC_LEN;
1543 (total_len - ETHER_CRC_LEN);
/freebsd-10.2-release/sys/dev/fxp/
H A Dif_fxp.c1961 int total_len; local
1969 total_len = le16toh(rfa->actual_size) & 0x3fff;
1973 total_len -= 2;
1975 if (total_len < (int)sizeof(struct ether_header) ||
1976 total_len > (MCLBYTES - RFA_ALIGNMENT_FUDGE -
1985 m->m_pkthdr.len = m->m_len = total_len;
1990 fxp_rxcsum(sc, ifp, m, status, total_len);
/freebsd-10.2-release/sys/dev/de/
H A Dif_de.c3335 int total_len = 0, last_offset = 0; local
3394 total_len++;
3412 for (me = ms; total_len > 0; total_len--) {
3430 total_len = ((DESC_STATUS(eop) >> 16) & 0x7FFF) - ETHER_CRC_LEN;
3433 me->m_len = total_len - last_offset;
3437 total_len);
3501 m0 = m_devget(mtod(ms, caddr_t), total_len, ETHER_ALIGN, ifp, NULL);
3517 ms->m_pkthdr.len = total_len;
/freebsd-10.2-release/sys/dev/vte/
H A Dif_vte.c1483 uint16_t status, total_len; local
1497 total_len = VTE_RX_LEN(le16toh(rxd->rx_desc->drlen));
1517 m->m_pkthdr.len = m->m_len = total_len - ETHER_CRC_LEN;
/freebsd-10.2-release/contrib/ntp/sntp/libevent/test/
H A Dregress_buffer.c77 tt_assert(buf->total_len == 0);
102 if (chain->off == 0 || buf->total_len == 0) {
105 tt_assert(buf->total_len == 0);
117 tt_assert(sum == buf->total_len);
/freebsd-10.2-release/sys/dev/oce/
H A Doce_if.c1087 int total_len = 0, ehdrlen = 0; local
1116 total_len = ehdrlen + (ip->ip_hl << 2) + (th->th_off << 2);
1126 total_len = ehdrlen + sizeof(struct ip6_hdr) + (th->th_off << 2);
1133 m = m_pullup(m, total_len);
/freebsd-10.2-release/sys/dev/vr/
H A Dif_vr.c1288 int cons, prog, total_len, rx_npkts; local
1366 total_len = VR_RXBYTES(rxstat);
1367 total_len -= ETHER_CRC_LEN;
1368 m->m_pkthdr.len = m->m_len = total_len;
/freebsd-10.2-release/sys/dev/sis/
H A Dif_sis.c1481 int prog, rx_cons, rx_npkts = 0, total_len; local
1507 total_len = (rxstat & SIS_CMDSTS_BUFLEN) - ETHER_CRC_LEN;
1509 total_len <= (ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN -
1529 m->m_pkthdr.len = m->m_len = total_len;
/freebsd-10.2-release/sys/dev/ste/
H A Dif_ste.c594 int total_len, rx_npkts; local
631 total_len = STE_RX_BYTES(rxstat);
647 m->m_pkthdr.len = m->m_len = total_len;
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dsa.c1558 sa_default_locator(void **dataptr, uint32_t *len, uint32_t total_len, argument
1564 *len = total_len;
/freebsd-10.2-release/contrib/ntp/sntp/libevent/
H A Dhttp.c1090 size_t total_len; local
1093 total_len = evbuffer_get_length(input);
1097 __func__, EV_SIZE_ARG(total_len)));

Completed in 221 milliseconds

123