/dragonfly/contrib/wpa_supplicant/src/crypto/ |
H A D | aes-eax.c | 29 const u8 *hdr, size_t hdr_len, in aes_128_eax_encrypt() argument 42 if (hdr_len > buf_len) in aes_128_eax_encrypt() 43 buf_len = hdr_len; in aes_128_eax_encrypt() 58 os_memcpy(buf + 16, hdr, hdr_len); in aes_128_eax_encrypt() 59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)) in aes_128_eax_encrypt() 93 const u8 *hdr, size_t hdr_len, in aes_128_eax_decrypt() argument 106 if (hdr_len > buf_len) in aes_128_eax_decrypt() 107 buf_len = hdr_len; in aes_128_eax_decrypt() 124 os_memcpy(buf + 16, hdr, hdr_len); in aes_128_eax_decrypt() 125 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)) { in aes_128_eax_decrypt()
|
H A D | aes_wrap.h | 42 const u8 *hdr, size_t hdr_len, 46 const u8 *hdr, size_t hdr_len,
|
/dragonfly/contrib/tcpdump/ |
H A D | print-token.c | 152 u_int route_len = 0, hdr_len = TOKEN_HDRLEN; in token_print() local 160 return hdr_len; in token_print() 178 return hdr_len; in token_print() 181 hdr_len += route_len; in token_print() 182 if (caplen < hdr_len) { in token_print() 184 return hdr_len; in token_print() 212 length -= hdr_len; in token_print() 213 p += hdr_len; in token_print() 214 caplen -= hdr_len; in token_print() 226 hdr_len += llc_hdrlen; in token_print() [all …]
|
H A D | print-fr.c | 250 u_int hdr_len; in fr_print() local 317 if (length < hdr_len) in fr_print() 323 p += hdr_len; in fr_print() 324 length -= hdr_len; in fr_print() 345 fr_hdr_print(ndo, length + hdr_len, hdr_len, in fr_print() 348 ND_DEFAULTPRINT(p - hdr_len, length + hdr_len); in fr_print() 372 return hdr_len; in fr_print() 481 hdr_len = 3; in mfr_print() 581 hdr_len = 2; in mfr_print() 582 fr_print(ndo, p+hdr_len,length-hdr_len); in mfr_print() [all …]
|
H A D | print-m3ua.c | 264 uint16_t hdr_len; in m3ua_tags_print() local 273 hdr_len = GET_BE_U_2(p + 2); in m3ua_tags_print() 274 if (hdr_len < sizeof(struct m3ua_param_header)) in m3ua_tags_print() 277 align = (p + hdr_len - buf) % 4; in m3ua_tags_print() 279 ND_TCHECK_LEN(p, hdr_len + align); in m3ua_tags_print() 280 tag_value_print(ndo, p, hdr_tag, hdr_len - sizeof(struct m3ua_param_header)); in m3ua_tags_print() 281 p += hdr_len + align; in m3ua_tags_print()
|
H A D | print-ppp.c | 1514 u_int hdr_len = 0; in ppp_print() local 1530 hdr_len += 2; in ppp_print() 1536 hdr_len += 2; in ppp_print() 1541 hdr_len += 2; in ppp_print() 1554 hdr_len++; in ppp_print() 1559 hdr_len += 2; in ppp_print() 1569 return (hdr_len); in ppp_print()
|
/dragonfly/contrib/wpa_supplicant/src/common/ |
H A D | gas_server.c | 90 size_t hdr_len = 24 + 2 + 5 + 3 + handler->adv_proto_id_len + 2; in gas_server_send_resp() local 109 if (hdr_len + wpabuf_len(query_resp) > max_len) { in gas_server_send_resp() 243 size_t hdr_len = 24 + 2 + 6 + 3 + handler->adv_proto_id_len + 2; in gas_server_handle_rx_comeback_req() local 248 if (hdr_len + remaining > max_len) in gas_server_handle_rx_comeback_req() 249 resp_frag_len = max_len - hdr_len; in gas_server_handle_rx_comeback_req()
|
/dragonfly/crypto/libressl/crypto/asn1/ |
H A D | asn1_gen.c | 151 long hdr_len = 0; in ASN1_generate_v3() local 191 r = ASN1_get_object(&cpy_start, &hdr_len, &hdr_tag, in ASN1_generate_v3() 204 hdr_len = 0; in ASN1_generate_v3() 211 len = ASN1_object_size(0, hdr_len, asn1_tags.imp_tag); in ASN1_generate_v3() 251 ASN1_put_object(&p, hdr_constructed, hdr_len, in ASN1_generate_v3()
|
/dragonfly/sys/bus/firewire/ |
H A D | fwdev.c | 530 pay_len = MAX(0, asyreq->req.len - tinfo->hdr_len); in fw_ioctl() 558 bcopy(fp, (void *)&xfer->send.hdr, tinfo->hdr_len); in fw_ioctl() 560 bcopy((char *)fp + tinfo->hdr_len, in fw_ioctl() 578 if (asyreq->req.len >= xfer->recv.pay_len + tinfo->hdr_len) in fw_ioctl() 582 bcopy(&xfer->recv.hdr, fp, tinfo->hdr_len); in fw_ioctl() 583 bcopy(xfer->recv.payload, (char *)fp + tinfo->hdr_len, in fw_ioctl() 584 MAX(0, asyreq->req.len - tinfo->hdr_len)); in fw_ioctl()
|
H A D | fwohci.c | 829 int tcode, hdr_len, pl_off; local 871 hdr_len = pl_off = info->hdr_len; 880 hdr_len = 8; 883 hdr_len = 12; 895 OHCI_OUTPUT_MORE | OHCI_KEY_ST2 | hdr_len); 905 hdr_len = 12; 906 for (i = 0; i < hdr_len/4; i ++) 2621 hlen = tinfo[fp0->mode.common.tcode].hdr_len; 2641 r = info->hdr_len + sizeof(u_int32_t);
|
H A D | firewirereg.h | 83 u_char hdr_len; /* IEEE1394 header length */ member
|
H A D | firewire.c | 209 len = info->hdr_len; in fw_asyreq() 1688 bcopy(rb->vec->iov_base, p, tinfo->hdr_len); in fw_rcv_copy() 1689 rb->vec->iov_base = (uint8_t *)rb->vec->iov_base + tinfo->hdr_len; in fw_rcv_copy() 1690 rb->vec->iov_len -= tinfo->hdr_len; in fw_rcv_copy()
|
/dragonfly/sys/dev/virtual/virtio/net/ |
H A D | virtio_net.h | 68 uint16_t hdr_len; /* Ethernet + IP + tcp/udp hdrs */ member
|
H A D | if_vtnet.c | 1965 hdr->hdr_len = csum_start + (tcp->th_off << 2); in vtnet_tx_offload()
|
/dragonfly/sys/netgraph7/ppp/ |
H A D | ng_ppp.c | 1968 const int hdr_len = priv->conf.xmitShortSeq ? 2 : 4; in ng_ppp_mp_xmit() local 2046 frags += (distrib[activeLinkNum] + link->conf.mru - hdr_len - 1) / in ng_ppp_mp_xmit() 2047 (link->conf.mru - hdr_len); in ng_ppp_mp_xmit() 2075 if (len > link->conf.mru - hdr_len) in ng_ppp_mp_xmit() 2076 len = link->conf.mru - hdr_len; in ng_ppp_mp_xmit()
|
/dragonfly/sys/netproto/802_11/wlan_tkip/ |
H A D | ieee80211_crypto_tkip.c | 102 struct mbuf *, int hdr_len); 104 struct mbuf *, int hdr_len);
|
/dragonfly/sys/netgraph/ppp/ |
H A D | ng_ppp.c | 1483 const int hdr_len = priv->conf.xmitShortSeq ? 2 : 4; in ng_ppp_mp_output() local 1540 if (len > link->conf.mru - hdr_len) in ng_ppp_mp_output() 1541 len = link->conf.mru - hdr_len; in ng_ppp_mp_output()
|
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/ |
H A D | wpa_supplicant.c | 2434 size_t rem_len, hdr_len, hlp_len, len, ie_len = 0; in wpas_add_fils_hlp_req() local 2442 hdr_len = 1 + 2 * ETH_ALEN + 6; in wpas_add_fils_hlp_req() 2445 if (rem_len < 2 + hdr_len + hlp_len) { in wpas_add_fils_hlp_req() 2449 (unsigned long) (2 + hdr_len + hlp_len)); in wpas_add_fils_hlp_req() 2453 len = (hdr_len + hlp_len) > 255 ? 255 : hdr_len + hlp_len; in wpas_add_fils_hlp_req() 2470 os_memcpy(buf, pos, len - hdr_len); in wpas_add_fils_hlp_req() 2471 buf += len - hdr_len; in wpas_add_fils_hlp_req() 2472 pos += len - hdr_len; in wpas_add_fils_hlp_req() 2474 hlp_len -= len - hdr_len; in wpas_add_fils_hlp_req()
|
/dragonfly/sys/dev/netif/em/ |
H A D | if_em.c | 3119 uint32_t cmd, hdr_len, ip_hlen; in em_txcsum() local 3161 hdr_len = ehdrlen + ip_hlen; in em_txcsum() 3169 TXD->upper_setup.tcp_fields.tucss = hdr_len; in em_txcsum() 3172 hdr_len + offsetof(struct tcphdr, th_sum); in em_txcsum() 3181 TXD->upper_setup.tcp_fields.tucss = hdr_len; in em_txcsum() 3184 hdr_len + offsetof(struct udphdr, uh_sum); in em_txcsum() 4652 TXD->tcp_seg_setup.fields.hdr_len = hlen; in em_tso_setup()
|
/dragonfly/sys/dev/netif/emx/ |
H A D | if_emx.c | 2654 uint32_t cmd, hdr_len, ip_hlen; in emx_txcsum() local 2696 hdr_len = ehdrlen + ip_hlen; in emx_txcsum() 2704 TXD->upper_setup.tcp_fields.tucss = hdr_len; in emx_txcsum() 2707 hdr_len + offsetof(struct tcphdr, th_sum); in emx_txcsum() 2716 TXD->upper_setup.tcp_fields.tucss = hdr_len; in emx_txcsum() 2719 hdr_len + offsetof(struct udphdr, uh_sum); in emx_txcsum() 4452 TXD->tcp_seg_setup.fields.hdr_len = hlen; in emx_tso_setup()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | hsa-brig.c | 404 uint32_t hdr_len = lendian32 (len); 425 offset = brig_data.add (&hdr_len, sizeof (hdr_len));
|
/dragonfly/sys/dev/netif/ig_hal/ |
H A D | e1000_hw.h | 524 u8 hdr_len; /* Header length */ member
|
/dragonfly/sys/dev/netif/bwn/bwn/ |
H A D | if_bwn.c | 3586 const size_t hdr_len = sizeof(struct bwn_fwhdr); in bwn_fw_loadinitvals() local 3592 error = bwn_fwinitvals_write(mac, GETFWOFFSET(fw->initvals, hdr_len), in bwn_fw_loadinitvals() 3593 be32toh(hdr->size), fw->initvals.fw->datasize - hdr_len); in bwn_fw_loadinitvals() 3599 GETFWOFFSET(fw->initvals_band, hdr_len), in bwn_fw_loadinitvals() 3601 fw->initvals_band.fw->datasize - hdr_len); in bwn_fw_loadinitvals()
|
/dragonfly/sys/dev/netif/iwm/ |
H A D | if_iwmreg.h | 1031 uint8_t hdr_len; member
|