Searched refs:hdrlen (Results 1 - 10 of 10) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/net/80211/
H A Dwep.c123 const int hdrlen = IEEE80211_TYP_FRAME_HEADER_LEN; local
124 int datalen = iob_len ( iob ) - hdrlen;
125 int newlen = hdrlen + datalen + WEP_OVERHEAD;
132 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen );
145 cipher_encrypt ( &arc4_algorithm, &ctx->arc4, iob->data + hdrlen,
149 icv = ~crc32_le ( ~0, iob->data + hdrlen, datalen );
172 const int hdrlen = IEEE80211_TYP_FRAME_HEADER_LEN; local
173 int datalen = iob_len ( eiob ) - hdrlen - WEP_OVERHEAD;
174 int newlen = hdrlen
[all...]
H A Dwpa_ccmp.c325 const int hdrlen = IEEE80211_TYP_FRAME_HEADER_LEN; local
326 int datalen = iob_len ( iob ) - hdrlen;
342 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen );
364 ccmp_cbc_mac ( ctx, &nonce, iob->data + hdrlen, datalen, &aad, mic );
370 iob->data + hdrlen, edata, datalen,
393 const int hdrlen = IEEE80211_TYP_FRAME_HEADER_LEN; local
394 int datalen = iob_len ( eiob ) - hdrlen - CCMP_HEAD_LEN - CCMP_MIC_LEN;
400 iob = alloc_iob ( hdrlen + datalen );
405 memcpy ( iob_put ( iob, hdrlen ), eio
[all...]
H A Dwpa_tkip.c386 const int hdrlen = IEEE80211_TYP_FRAME_HEADER_LEN; local
387 int datalen = iob_len ( iob ) - hdrlen;
403 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen );
415 cipher_encrypt ( &arc4_algorithm, &arc4, iob->data + hdrlen,
421 iob->data + hdrlen, datalen, mic );
426 icv = crc32_le ( ~0, iob->data + hdrlen, datalen );
451 const int hdrlen = IEEE80211_TYP_FRAME_HEADER_LEN; local
452 int datalen = iob_len ( eiob ) - hdrlen - TKIP_HEAD_LEN - TKIP_FOOT_LEN;
460 iob = alloc_iob ( hdrlen
[all...]
/vbox/src/VBox/Devices/Network/slirp/
H A Dtcp_output.c100 unsigned optlen, hdrlen; local
313 hdrlen = sizeof (struct tcpiphdr);
362 hdrlen += optlen;
395 if ((len + hdrlen + ETH_HLEN) < MSIZE)
397 else if ((len + hdrlen + ETH_HLEN) < MCLBYTES)
399 else if((len + hdrlen + ETH_HLEN) < MJUM9BYTES)
401 else if ((len + hdrlen + ETH_HLEN) < MJUM16BYTES)
414 m->m_len = hdrlen;
421 if (len <= MHLEN - hdrlen - max_linkhdr)
424 sbcopy(&so->so_snd, off, (int) len, mtod(m, caddr_t) + hdrlen);
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Dp80211hdr.h278 UINT16 hdrlen = 0; local
282 hdrlen = WLAN_HDR_A3_LEN;
285 hdrlen = WLAN_HDR_A3_LEN;
287 hdrlen += WLAN_ADDR_LEN;
291 hdrlen = WLAN_CTL_FRAMELEN(WLAN_GET_FC_FSTYPE(fctl)) -
295 hdrlen = WLAN_HDR_A3_LEN;
298 return hdrlen;
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dipv4.c186 size_t hdrlen = ( ( iphdr->verhdrlen & IP_MASK_HLEN ) * 4 ); local
200 ( iob_len ( iobuf ) - hdrlen ), expected_offset );
213 frag->offset = ( iob_len ( iobuf ) - hdrlen );
219 iob_pull ( iobuf, hdrlen );
271 size_t hdrlen = ( ( iphdr->verhdrlen & IP_MASK_HLEN ) * 4 ); local
278 pshdr.len = htons ( iob_len ( iobuf ) - hdrlen );
460 size_t hdrlen; local
481 hdrlen = ( ( iphdr->verhdrlen & IP_MASK_HLEN ) * 4 );
482 if ( hdrlen < sizeof ( *iphdr ) ) {
484 "%zd bytes)\n", hdrlen, sizeo
[all...]
/vbox/src/VBox/RDP/client-1.8.3/
H A Dsecure.c327 int hdrlen; local
331 hdrlen = (flags & SEC_ENCRYPT) ? 12 : 4;
333 hdrlen = (flags & SEC_ENCRYPT) ? 12 : 0;
334 s = mcs_init(maxlen + hdrlen);
335 s_push_layer(s, sec_hdr, hdrlen);
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dtcp_in.c97 u8_t hdrlen; local
151 hdrlen = TCPH_HDRLEN(tcphdr);
152 pbuf_header(p, -(hdrlen * 4));
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dtcp_in.c135 u8_t hdrlen; local
182 hdrlen = TCPH_HDRLEN(tcphdr);
183 if(pbuf_header(p, -(hdrlen * 4))){
259 pbuf_header(p, ip_current_header_tot_len() + hdrlen * 4);
/vbox/src/VBox/Devices/Network/
H A DSrvIntNetR0.cpp2833 uint32_t hdrlen = 0;
2840 hdrlen = 8;
2844 hdrlen = 16;
2848 hdrlen = 24;
2852 hdrlen = 24;
2860 AssertReturnVoid(hdrlen > 0);
2861 if (RT_UNLIKELY(cb < hdrlen))
2868 char *pOpt = (char *)pICMPv6 + hdrlen;
2869 cb -= hdrlen;

Completed in 582 milliseconds