HomeSort by relevance Sort by last modified time
    Searched refs:hlen (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /external/tcpdump/
print-mobility.c 207 unsigned mhlen, hlen; local
244 hlen = IP6M_MINLEN;
248 hlen = IP6M_MINLEN;
250 ND_TCHECK_32BITS(&bp[hlen + 4]);
253 EXTRACT_32BITS(&bp[hlen]),
254 EXTRACT_32BITS(&bp[hlen + 4])));
256 hlen += 8;
262 hlen = IP6M_MINLEN;
264 ND_TCHECK_32BITS(&bp[hlen + 4]);
267 EXTRACT_32BITS(&bp[hlen]),
    [all...]
print-sl.c 131 u_int hlen; local
176 hlen = IP_HL(ip);
177 hlen += TH_OFF((const struct tcphdr *)&((const int *)ip)[hlen]);
178 lastlen[dir][lastconn] = length - (hlen << 2);
232 register u_int flags, hlen; local
268 * 'hlen' is the length of the uncompressed TCP/IP header (in words).
270 * 'length - hlen' is the amount of data in the packet.
272 hlen = IP_HL(ip);
273 hlen += TH_OFF((const struct tcphdr *)&((const int32_t *)ip)[hlen])
    [all...]
print-dccp.c 276 u_int hlen; local
311 hlen = dh->dccph_doff * 4;
326 ND_PRINT((ndo, " %d", len - hlen));
327 if (hlen > len) {
329 hlen, len));
489 if (hlen > fixed_hdrlen){
494 hlen -= fixed_hdrlen;
496 optlen = dccp_print_option(ndo, cp, hlen);
499 if (hlen <= optlen)
501 hlen -= optlen
    [all...]
print-tcp.c 167 register u_int hlen; local
219 hlen = TH_OFF(tp) * 4;
221 if (hlen < sizeof(*tp)) {
223 length - hlen, hlen, (unsigned long)sizeof(*tp)));
233 ND_PRINT((ndo, "tcp %d", length - hlen));
234 if (hlen > length) {
236 hlen, length));
362 if (hlen > length) {
364 hlen, length))
    [all...]
print-icmp.c 344 u_int hlen, dport, mtu, obj_tlen, obj_class_num, obj_ctype; local
381 hlen = IP_HL(oip) * 4;
382 ouh = (const struct udphdr *)(((const u_char *)oip) + hlen);
624 hlen = plen - ICMP_EXTD_MINLEN;
625 if (ND_TTEST2(ext_dp->icmp_ext_version_res, hlen)) {
627 vec[0].len = hlen;
631 hlen));
634 hlen -= 4; /* subtract common header size */
637 while (hlen > sizeof(struct icmp_mpls_ext_object_header_t)) {
652 hlen-=sizeof(struct icmp_mpls_ext_object_header_t); /* length field includes tlv header *
    [all...]
print-ip.c 541 u_int hlen; local
563 hlen = IP_HL(ipds->ip) * 4;
564 if (hlen < sizeof (struct ip)) {
565 ND_PRINT((ndo, "bad-hlen %u", hlen));
573 if (ipds->len < hlen) {
596 ipds->len -= hlen;
639 if ((hlen - sizeof(struct ip)) > 0) {
641 ip_optprint(ndo, (const u_char *)(ipds->ip + 1), hlen - sizeof(struct ip));
645 if (!ndo->ndo_Kflag && (const u_char *)ipds->ip + hlen <= ndo->ndo_snapend)
    [all...]
  /external/toybox/toys/pending/
watch.c 29 int i = 0, hlen; local
42 hlen = strlen(header);
50 if (width > (hlen + len)) xprintf("%s", header);
52 xprintf("%*s\n",width + ((width > (hlen + len))?-hlen:0) + 1, ctime(&t));
  /external/syslinux/gpxe/src/usr/
dhcpmgmt.c 41 uint8_t hlen; local
54 chaddr = dhcp_chaddr ( netdev, &hlen, &flags );
56 while ( hlen-- )
57 printf ( "%02x%c", *(chaddr++), ( hlen ? ':' : ')' ) );
  /external/syslinux/core/lwip/src/netif/ppp/
vj.c 142 register u_short hlen = IPH_HL(ip); local
166 th = (struct tcp_hdr *)&((long *)ip)[hlen];
216 hlen += TCPH_OFFSET(th);
217 hlen <<= 2;
219 if (hlen > pb->len) {
237 oth = (struct tcp_hdr *)&((long *)&cs->cs_ip)[hlen];
238 deltaS = hlen;
239 hlen += TCPH_OFFSET(th);
240 hlen <<= 2;
242 if (hlen > pb->len)
429 register u_int hlen; local
472 u_int vjlen, hlen, changes; local
    [all...]
  /external/syslinux/com32/lua/src/
dhcp.h 34 uint8_t hlen; /* Hardware address length */ member in struct:dhcp
  /external/libmicrohttpd/src/microhttpd/
basicauth.c 121 size_t hlen = strlen(realm) + strlen("Basic realm=\"\"") + 1; local
124 header = (char*)malloc(hlen);
134 hlen,
  /external/syslinux/com32/include/
dhcp.h 14 uint8_t hlen; /* 2 */ member in struct:dhcp_packet
  /hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
bcmip.h 181 uint16 len = 0, hlen; local
188 hlen = 8;
190 hlen = (eh->hdrlen + 2) << 2;
192 hlen = IPV6_EXTHDR_LEN(eh);
194 len += hlen;
  /external/wpa_supplicant_8/src/tls/
tlsv1_common.c 344 size_t hlen; local
351 hlen = SHA256_MAC_LEN;
355 hlen = 48;
359 hlen = 64;
370 if (crypto_hash_finish(ctx, hash, &hlen) < 0)
373 return hlen;
384 size_t hlen; local
395 hlen = MD5_MAC_LEN;
396 if (crypto_hash_finish(ctx, hash, &hlen) < 0)
398 hpos += hlen;
    [all...]
tlsv1_client_write.c 577 size_t rlen, hlen, clen; local
619 hlen = SHA256_MAC_LEN;
621 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) <
644 os_memmove(hash + 19, hash, hlen);
645 hlen += 19;
651 hlen = MD5_MAC_LEN;
653 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) {
664 hlen = SHA1_MAC_LEN;
666 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) {
674 hlen += MD5_MAC_LEN
782 size_t rlen, hlen; local
    [all...]
tlsv1_server_read.c 862 size_t hlen; local
958 hlen = SHA256_MAC_LEN;
960 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) <
971 hlen = MD5_MAC_LEN;
973 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) {
984 hlen = SHA1_MAC_LEN;
986 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) {
994 hlen += MD5_MAC_LEN;
1000 wpa_hexdump(MSG_MSGDUMP, "TLSv1: CertificateVerify hash", hash, hlen);
1003 hash, hlen, pos, end - pos, &alert) < 0)
1071 size_t left, len, hlen; local
    [all...]
tlsv1_server_write.c 564 int hlen; local
568 hlen = tlsv12_key_x_server_params_hash(
584 if (hlen < 0 || end - pos < 2) {
606 hlen += 19;
617 hlen = tls_key_x_server_params_hash(
623 if (hlen < 0) {
630 hash, hlen);
634 hash[hlen - 1] ^= 0x80;
654 crypto_private_key_sign_pkcs1(conn->cred->key, hash, hlen,
832 size_t rlen, hlen; local
    [all...]
  /external/syslinux/core/lwip/src/core/ipv4/
icmp.c 85 s16_t hlen; local
92 hlen = IPH_HL(iphdr) * 4;
93 if (pbuf_header(p, -hlen) || (p->tot_len < sizeof(u16_t)*2)) {
151 if (pbuf_header(p, hlen)) {
162 (r->len >= hlen + sizeof(struct icmp_echo_hdr)));
170 if (pbuf_header(r, -hlen)) {
213 if(pbuf_header(p, hlen)) {
  /external/iptables/extensions/
libip6t_DNPT.c 41 npt->src_pfx_len = cb->val.hlen;
45 npt->dst_pfx_len = cb->val.hlen;
libip6t_SNPT.c 41 npt->src_pfx_len = cb->val.hlen;
45 npt->dst_pfx_len = cb->val.hlen;
  /external/wpa_supplicant_8/src/ap/
iapp.c 306 int len, hlen; local
336 hlen = be_to_host16(hdr->length);
341 be_to_host16(hdr->identifier), hlen);
347 if (hlen > len) {
348 wpa_printf(MSG_INFO, "Underflow IAPP frame (hlen=%d len=%d)",
349 hlen, len);
352 if (hlen < len) {
354 len - hlen);
355 len = hlen;
  /system/core/libnetutils/
dhcpclient.c 269 ALOGD("op = %s (%d), htype = %d, hlen = %d, hops = %d",
270 name, msg->op, msg->htype, msg->hlen, msg->hops);
278 c = msg->hlen > 16 ? 16 : msg->hlen;
370 if (reply->hlen != msg->hlen) {
371 if (verbose) ALOGD("Wrong Hlen %d != %d\n", reply->hlen, msg->hlen);
374 if (memcmp(msg->chaddr, reply->chaddr, msg->hlen)) {
    [all...]
dhcpmsg.h 39 uint8_t hlen; /* hw addr len */ member in struct:dhcp_msg
  /prebuilts/go/darwin-x86/src/runtime/
write_err_android.go 60 var hlen int
63 hlen = writeLogdHeader()
65 hlen = len(writeHeader)
68 dst := writeBuf[hlen:]
77 write(writeFD, unsafe.Pointer(&writeBuf[0]), int32(hlen+writePos))
  /prebuilts/go/linux-x86/src/runtime/
write_err_android.go 60 var hlen int
63 hlen = writeLogdHeader()
65 hlen = len(writeHeader)
68 dst := writeBuf[hlen:]
77 write(writeFD, unsafe.Pointer(&writeBuf[0]), int32(hlen+writePos))

Completed in 364 milliseconds

1 2 3 4