hdr_len 6997 arch/x86/kvm/svm.c hdr = psp_copy_user_blob(params.hdr_uaddr, params.hdr_len); hdr_len 7003 arch/x86/kvm/svm.c data->hdr_len = params.hdr_len; hdr_len 35 drivers/acpi/acpi_extlog.c u32 hdr_len; /* Header Length */ hdr_len 3983 drivers/ata/libata-scsi.c unsigned six_byte, pg_len, hdr_len, bd_len; hdr_len 3998 drivers/ata/libata-scsi.c hdr_len = 4; hdr_len 4006 drivers/ata/libata-scsi.c hdr_len = 8; hdr_len 4023 drivers/ata/libata-scsi.c if (len < hdr_len) hdr_len 4031 drivers/ata/libata-scsi.c len -= hdr_len; hdr_len 4032 drivers/ata/libata-scsi.c p += hdr_len; hdr_len 4037 drivers/ata/libata-scsi.c fp += bd_len + hdr_len; hdr_len 4072 drivers/ata/libata-scsi.c fp += hdr_len + bd_len; hdr_len 4081 drivers/ata/libata-scsi.c fp += hdr_len + bd_len; hdr_len 4087 drivers/ata/libata-scsi.c fp += hdr_len + bd_len; hdr_len 4094 drivers/ata/libata-scsi.c fp = bd_len + hdr_len; hdr_len 114 drivers/bluetooth/btwilink.c .hdr_len = sizeof(struct hci_event_hdr), hdr_len 121 drivers/bluetooth/btwilink.c .hdr_len = sizeof(struct hci_acl_hdr), hdr_len 128 drivers/bluetooth/btwilink.c .hdr_len = sizeof(struct hci_sco_hdr), hdr_len 967 drivers/crypto/chelsio/chtls/chtls_cm.c hlen = ntohl(req->hdr_len); hdr_len 1206 drivers/crypto/chelsio/chtls/chtls_cm.c eth_hdr_len = T6_ETH_HDR_LEN_G(ntohl(req->hdr_len)); hdr_len 1639 drivers/crypto/chelsio/chtls/chtls_cm.c skb->hdr_len = ntohs((__force __be16)tls_cmp_hdr->length); hdr_len 1541 drivers/crypto/chelsio/chtls/chtls_io.c hws->rcvpld = skb->hdr_len; hdr_len 440 drivers/crypto/nx/nx-842.c int n, ret, hdr_len; hdr_len 486 drivers/crypto/nx/nx-842.c hdr_len = NX842_CRYPTO_HEADER_SIZE(hdr->groups); hdr_len 487 drivers/crypto/nx/nx-842.c if (hdr_len > slen) { hdr_len 492 drivers/crypto/nx/nx-842.c memcpy(&ctx->header, src, hdr_len); hdr_len 27 drivers/firmware/efi/rci2-table.c u16 hdr_len; hdr_len 909 drivers/infiniband/core/mad.c mad_wc.byte_len = mad_send_wr->send_buf.hdr_len hdr_len 982 drivers/infiniband/core/mad.c static int get_pad_size(int hdr_len, int data_len, size_t mad_size) hdr_len 986 drivers/infiniband/core/mad.c seg_size = mad_size - hdr_len; hdr_len 1012 drivers/infiniband/core/mad.c send_buf->seg_size = mad_size - send_buf->hdr_len; hdr_len 1052 drivers/infiniband/core/mad.c int hdr_len, int data_len, hdr_len 1073 drivers/infiniband/core/mad.c pad = get_pad_size(hdr_len, data_len, mad_size); hdr_len 1074 drivers/infiniband/core/mad.c message_size = hdr_len + data_len + pad; hdr_len 1083 drivers/infiniband/core/mad.c size = rmpp_active ? hdr_len : mad_size; hdr_len 1091 drivers/infiniband/core/mad.c mad_send_wr->send_buf.hdr_len = hdr_len; hdr_len 1096 drivers/infiniband/core/mad.c mad_send_wr->sg_list[0].length = hdr_len; hdr_len 1101 drivers/infiniband/core/mad.c data_len < mad_size - hdr_len) hdr_len 1104 drivers/infiniband/core/mad.c mad_send_wr->sg_list[1].length = mad_size - hdr_len; hdr_len 1191 drivers/infiniband/core/mad.c mad_send_wr->send_buf.hdr_len; hdr_len 122 drivers/infiniband/core/mad_rmpp.c memcpy(ack, &data->mad_hdr, msg->hdr_len); hdr_len 139 drivers/infiniband/core/mad_rmpp.c int ret, hdr_len; hdr_len 141 drivers/infiniband/core/mad_rmpp.c hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); hdr_len 143 drivers/infiniband/core/mad_rmpp.c recv_wc->wc->pkey_index, 1, hdr_len, hdr_len 161 drivers/infiniband/core/mad_rmpp.c int hdr_len; hdr_len 168 drivers/infiniband/core/mad_rmpp.c hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); hdr_len 171 drivers/infiniband/core/mad_rmpp.c hdr_len, 0, GFP_KERNEL, hdr_len 195 drivers/infiniband/core/mad_rmpp.c memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); hdr_len 229 drivers/infiniband/core/mad_rmpp.c memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); hdr_len 125 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(ip4, hdr_len), hdr_len 369 drivers/infiniband/core/ud_header.c header->ip4.hdr_len = 5; /* 5 words */ hdr_len 423 drivers/infiniband/core/user_mad.c if ((msg->hdr_len > IB_MGMT_RMPP_HDR) && hdr_len 425 drivers/infiniband/core/user_mad.c msg->hdr_len - IB_MGMT_RMPP_HDR)) hdr_len 429 drivers/infiniband/core/user_mad.c for (seg = 1, left = msg->data_len, buf += msg->hdr_len; left > 0; hdr_len 493 drivers/infiniband/core/user_mad.c int ret, data_len, hdr_len, copy_offset, rmpp_active; hdr_len 554 drivers/infiniband/core/user_mad.c hdr_len = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); hdr_len 567 drivers/infiniband/core/user_mad.c data_len = count - hdr_size(file) - hdr_len; hdr_len 571 drivers/infiniband/core/user_mad.c hdr_len, data_len, GFP_KERNEL, hdr_len 589 drivers/infiniband/core/user_mad.c hdr_len + data_len - copy_offset)) { hdr_len 2459 drivers/infiniband/hw/cxgb4/cm.c u32 hlen = ntohl(req->hdr_len); hdr_len 3926 drivers/infiniband/hw/cxgb4/cm.c __be16 hdr_len, vlantag, len; hdr_len 3941 drivers/infiniband/hw/cxgb4/cm.c hdr_len = cpl->hdr_len; hdr_len 3961 drivers/infiniband/hw/cxgb4/cm.c tcp_hdr_len = RX_TCPHDR_LEN_G(be16_to_cpu(hdr_len)); hdr_len 3962 drivers/infiniband/hw/cxgb4/cm.c ip_hdr_len = RX_IPHDR_LEN_G(be16_to_cpu(hdr_len)); hdr_len 3963 drivers/infiniband/hw/cxgb4/cm.c req->hdr_len = hdr_len 3969 drivers/infiniband/hw/cxgb4/cm.c req->hdr_len |= cpu_to_be32(TCP_HDR_LEN_V(tcp_hdr_len) | hdr_len 3974 drivers/infiniband/hw/cxgb4/cm.c req->hdr_len |= cpu_to_be32(T6_TCP_HDR_LEN_V(tcp_hdr_len) | hdr_len 390 drivers/infiniband/hw/i40iw/i40iw_cm.c u32 hdr_len = 0; hdr_len 402 drivers/infiniband/hw/i40iw/i40iw_cm.c hdr_len = hdr->size; hdr_len 414 drivers/infiniband/hw/i40iw/i40iw_cm.c packetsize += opts_len + hdr_len + pd_len; hdr_len 505 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_seq_num += hdr_len + pd_len; hdr_len 526 drivers/infiniband/hw/i40iw/i40iw_cm.c if (hdr_len) { hdr_len 527 drivers/infiniband/hw/i40iw/i40iw_cm.c memcpy(buf, hdr->addr, hdr_len); hdr_len 528 drivers/infiniband/hw/i40iw/i40iw_cm.c buf += hdr_len; hdr_len 819 drivers/infiniband/hw/i40iw/i40iw_cm.c int hdr_len = 0; hdr_len 823 drivers/infiniband/hw/i40iw/i40iw_cm.c hdr_len = sizeof(struct ietf_mpa_v1); hdr_len 827 drivers/infiniband/hw/i40iw/i40iw_cm.c hdr_len = sizeof(struct ietf_mpa_v2); hdr_len 834 drivers/infiniband/hw/i40iw/i40iw_cm.c return hdr_len; hdr_len 462 drivers/infiniband/sw/rxe/rxe_net.c unsigned int hdr_len; hdr_len 473 drivers/infiniband/sw/rxe/rxe_net.c hdr_len = ETH_HLEN + sizeof(struct udphdr) + hdr_len 476 drivers/infiniband/sw/rxe/rxe_net.c hdr_len = ETH_HLEN + sizeof(struct udphdr) + hdr_len 485 drivers/infiniband/sw/rxe/rxe_net.c skb = alloc_skb(paylen + hdr_len + LL_RESERVED_SPACE(ndev), hdr_len 493 drivers/infiniband/sw/rxe/rxe_net.c skb_reserve(skb, hdr_len + LL_RESERVED_SPACE(ndev)); hdr_len 501 drivers/infiniband/sw/siw/siw.h int hdr_len; hdr_len 34 drivers/infiniband/sw/siw/siw_qp.c .hdr_len = sizeof(struct iwarp_rdma_write), hdr_len 42 drivers/infiniband/sw/siw/siw_qp.c .hdr_len = sizeof(struct iwarp_rdma_rreq), hdr_len 49 drivers/infiniband/sw/siw/siw_qp.c .hdr_len = sizeof(struct iwarp_rdma_rresp), hdr_len 57 drivers/infiniband/sw/siw/siw_qp.c .hdr_len = sizeof(struct iwarp_send), hdr_len 64 drivers/infiniband/sw/siw/siw_qp.c .hdr_len = sizeof(struct iwarp_send_inv), hdr_len 71 drivers/infiniband/sw/siw/siw_qp.c .hdr_len = sizeof(struct iwarp_send), hdr_len 78 drivers/infiniband/sw/siw/siw_qp.c .hdr_len = sizeof(struct iwarp_send_inv), hdr_len 85 drivers/infiniband/sw/siw/siw_qp.c .hdr_len = sizeof(struct iwarp_terminate), hdr_len 576 drivers/infiniband/sw/siw/siw_qp.c real_ddp_len -= iwarp_pktinfo[op].hdr_len - MPA_HDR_SIZE; hdr_len 925 drivers/infiniband/sw/siw/siw_qp_rx.c to_copy = iwarp_pktinfo[op].hdr_len - to_copy; hdr_len 1076 drivers/infiniband/sw/siw/siw_qp_rx.c if (iwarp_pktinfo[opcode].hdr_len > sizeof(struct iwarp_ctrl_tagged)) { hdr_len 1077 drivers/infiniband/sw/siw/siw_qp_rx.c bytes = iwarp_pktinfo[opcode].hdr_len - MIN_DDP_HDR; hdr_len 433 drivers/infiniband/sw/siw/siw_qp_tx.c unsigned int data_len = c_tx->bytes_unsent, hdr_len = 0, trl_len = 0, hdr_len 448 drivers/infiniband/sw/siw/siw_qp_tx.c iov[0].iov_len = hdr_len = hdr_len 593 drivers/infiniband/sw/siw/siw_qp_tx.c hdr_len + data_len + trl_len); hdr_len 596 drivers/infiniband/sw/siw/siw_qp_tx.c if (rv < (int)hdr_len) { hdr_len 605 drivers/infiniband/sw/siw/siw_qp_tx.c rv -= hdr_len; hdr_len 699 drivers/infiniband/sw/siw/siw_qp_tx.c iwarp_pktinfo[__rdmap_get_opcode(&c_tx->pkt.ctrl)].hdr_len; hdr_len 1494 drivers/media/radio/wl128x/fmdrv_common.c fm_st_proto.hdr_len = 1; hdr_len 1554 drivers/misc/mei/client.c size_t hdr_len = sizeof(mei_hdr); hdr_len 1600 drivers/misc/mei/client.c if (len + hdr_len <= hbuf_len) { hdr_len 1603 drivers/misc/mei/client.c } else if (dr_slots && hbuf_len >= hdr_len + sizeof(dma_len)) { hdr_len 1614 drivers/misc/mei/client.c len = hbuf_len - hdr_len; hdr_len 1623 drivers/misc/mei/client.c rets = mei_write_message(dev, &mei_hdr, hdr_len, data, mei_hdr.length); hdr_len 1663 drivers/misc/mei/client.c size_t hdr_len = sizeof(mei_hdr); hdr_len 1727 drivers/misc/mei/client.c if (len + hdr_len <= hbuf_len) { hdr_len 1730 drivers/misc/mei/client.c } else if (dr_slots && hbuf_len >= hdr_len + sizeof(dma_len)) { hdr_len 1741 drivers/misc/mei/client.c len = hbuf_len - hdr_len; hdr_len 1748 drivers/misc/mei/client.c rets = mei_write_message(dev, &mei_hdr, hdr_len, hdr_len 520 drivers/misc/mei/hw-me.c const void *hdr, size_t hdr_len, hdr_len 529 drivers/misc/mei/hw-me.c if (WARN_ON(!hdr || !data || hdr_len & 0x3)) hdr_len 540 drivers/misc/mei/hw-me.c dw_cnt = mei_data2slots(hdr_len + data_len); hdr_len 545 drivers/misc/mei/hw-me.c for (i = 0; i < hdr_len / MEI_SLOT_SIZE; i++) hdr_len 694 drivers/misc/mei/hw-txe.c const void *hdr, size_t hdr_len, hdr_len 704 drivers/misc/mei/hw-txe.c if (WARN_ON(!hdr || !data || hdr_len & 0x3)) hdr_len 709 drivers/misc/mei/hw-txe.c dw_cnt = mei_data2slots(hdr_len + data_len); hdr_len 728 drivers/misc/mei/hw-txe.c for (i = 0; i < hdr_len / MEI_SLOT_SIZE; i++) hdr_len 306 drivers/misc/mei/mei_dev.h const void *hdr, size_t hdr_len, hdr_len 692 drivers/misc/mei/mei_dev.h const void *hdr, size_t hdr_len, hdr_len 695 drivers/misc/mei/mei_dev.h return dev->ops->write(dev, hdr, hdr_len, data, data_len); hdr_len 368 drivers/misc/ti-st/st_core.c st_gdata->rx_count = st_gdata->list[type]->hdr_len; hdr_len 89 drivers/net/caif/caif_hsi.c hpad = 1 + PAD_POW2((info->hdr_len + 1), cfhsi->cfg.head_align); hdr_len 240 drivers/net/caif/caif_hsi.c hpad = 1 + PAD_POW2((info->hdr_len + 1), cfhsi->cfg.head_align); hdr_len 281 drivers/net/caif/caif_hsi.c hpad = 1 + PAD_POW2((info->hdr_len + 1), cfhsi->cfg.head_align); hdr_len 362 drivers/net/caif/caif_spi.c spad = 1 + PAD_POW2((info->hdr_len + 1), spi_up_head_align); hdr_len 422 drivers/net/caif/caif_spi.c spad = 1 + PAD_POW2((info->hdr_len + 1), spi_up_head_align); hdr_len 501 drivers/net/caif/caif_virtio.c hdr_ofs = cfv->tx_hr + info->hdr_len; hdr_len 1952 drivers/net/ethernet/amd/xgbe/xgbe-dev.c rdata->rx.hdr_len = XGMAC_GET_BITS_LE(rdesc->desc2, hdr_len 1954 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (rdata->rx.hdr_len) hdr_len 2583 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (rdata->rx.hdr_len) hdr_len 2584 drivers/net/ethernet/amd/xgbe/xgbe-drv.c return rdata->rx.hdr_len; hdr_len 414 drivers/net/ethernet/amd/xgbe/xgbe.h unsigned short hdr_len; /* Length of received header */ hdr_len 650 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c u32 hdr_len; hdr_len 654 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c hdr_len = (mac_hdr_len << 5) | ipv4_ihl; hdr_len 655 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c xgene_cle_sband_to_hw(0, XGENE_CLE_IPV4, XGENE_CLE_TCP, hdr_len, ®); hdr_len 659 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c hdr_len = (mac_hdr_len << 5) | ipv4_ihl; hdr_len 660 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c xgene_cle_sband_to_hw(1, XGENE_CLE_IPV4, XGENE_CLE_UDP, hdr_len, ®); hdr_len 668 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c hdr_len = (mac_hdr_len << 5) | ipv4_ihl; hdr_len 670 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c hdr_len, ®); hdr_len 674 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c hdr_len = (mac_hdr_len << 5); hdr_len 676 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c hdr_len, ®); hdr_len 313 drivers/net/ethernet/apm/xgene/xgene_enet_main.c u32 hdr_len, mss = 0; hdr_len 335 drivers/net/ethernet/apm/xgene/xgene_enet_main.c hdr_len = ethhdr + ip_hdrlen(skb) + tcp_hdrlen(skb); hdr_len 347 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (unlikely(hdr_len > len)) { hdr_len 353 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (!mss || ((skb->len - hdr_len) <= mss)) hdr_len 300 drivers/net/ethernet/aquantia/atlantic/aq_ring.c u16 hdr_len; hdr_len 369 drivers/net/ethernet/aquantia/atlantic/aq_ring.c hdr_len = buff->len; hdr_len 370 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (hdr_len > AQ_CFG_RX_HDR_SIZE) hdr_len 371 drivers/net/ethernet/aquantia/atlantic/aq_ring.c hdr_len = eth_get_headlen(skb->dev, hdr_len 375 drivers/net/ethernet/aquantia/atlantic/aq_ring.c memcpy(__skb_put(skb, hdr_len), aq_buf_vaddr(&buff->rxdata), hdr_len 376 drivers/net/ethernet/aquantia/atlantic/aq_ring.c ALIGN(hdr_len, sizeof(long))); hdr_len 378 drivers/net/ethernet/aquantia/atlantic/aq_ring.c if (buff->len - hdr_len > 0) { hdr_len 380 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->rxdata.pg_off + hdr_len, hdr_len 381 drivers/net/ethernet/aquantia/atlantic/aq_ring.c buff->len - hdr_len, hdr_len 1976 drivers/net/ethernet/atheros/atl1c/atl1c_main.c u8 hdr_len; hdr_len 1995 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); hdr_len 1996 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (unlikely(skb->len == hdr_len)) { hdr_len 2020 drivers/net/ethernet/atheros/atl1c/atl1c_main.c hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); hdr_len 2021 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (unlikely(skb->len == hdr_len)) { hdr_len 2100 drivers/net/ethernet/atheros/atl1c/atl1c_main.c u16 hdr_len = 0; hdr_len 2109 drivers/net/ethernet/atheros/atl1c/atl1c_main.c map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 2115 drivers/net/ethernet/atheros/atl1c/atl1c_main.c skb->data, hdr_len, PCI_DMA_TODEVICE); hdr_len 1625 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u8 hdr_len; hdr_len 1644 drivers/net/ethernet/atheros/atl1e/atl1e_main.c hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); hdr_len 1645 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (unlikely(skb->len == hdr_len)) { hdr_len 1701 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u16 hdr_len = 0; hdr_len 1712 drivers/net/ethernet/atheros/atl1e/atl1e_main.c map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 1718 drivers/net/ethernet/atheros/atl1e/atl1e_main.c skb->data, hdr_len, PCI_DMA_TODEVICE); hdr_len 2103 drivers/net/ethernet/atheros/atlx/atl1.c u8 hdr_len, ip_off; hdr_len 2120 drivers/net/ethernet/atheros/atlx/atl1.c hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); hdr_len 2121 drivers/net/ethernet/atheros/atlx/atl1.c if (skb->len == hdr_len) { hdr_len 2198 drivers/net/ethernet/atheros/atlx/atl1.c u8 hdr_len; hdr_len 2211 drivers/net/ethernet/atheros/atlx/atl1.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 2212 drivers/net/ethernet/atheros/atlx/atl1.c buffer_info->length = hdr_len; hdr_len 2216 drivers/net/ethernet/atheros/atlx/atl1.c offset, hdr_len, hdr_len 2222 drivers/net/ethernet/atheros/atlx/atl1.c if (buf_len > hdr_len) { hdr_len 2225 drivers/net/ethernet/atheros/atlx/atl1.c data_len = buf_len - hdr_len; hdr_len 2237 drivers/net/ethernet/atheros/atlx/atl1.c (hdr_len + i * ATL1_MAX_TX_BUF_LEN)); hdr_len 2239 drivers/net/ethernet/atheros/atlx/atl1.c (hdr_len + i * ATL1_MAX_TX_BUF_LEN)); hdr_len 3032 drivers/net/ethernet/broadcom/bnx2.c unsigned int len, unsigned int hdr_len, dma_addr_t dma_addr, hdr_len 3043 drivers/net/ethernet/broadcom/bnx2.c if (hdr_len) { hdr_len 3045 drivers/net/ethernet/broadcom/bnx2.c int pages = PAGE_ALIGN(raw_len - hdr_len) >> PAGE_SHIFT; hdr_len 3060 drivers/net/ethernet/broadcom/bnx2.c if (hdr_len == 0) { hdr_len 3069 drivers/net/ethernet/broadcom/bnx2.c frag_size = len + 4 - hdr_len; hdr_len 3071 drivers/net/ethernet/broadcom/bnx2.c skb_put(skb, hdr_len); hdr_len 3167 drivers/net/ethernet/broadcom/bnx2.c unsigned int len, hdr_len; hdr_len 3198 drivers/net/ethernet/broadcom/bnx2.c hdr_len = 0; hdr_len 3200 drivers/net/ethernet/broadcom/bnx2.c hdr_len = rx_hdr->l2_fhdr_ip_xsum; hdr_len 3203 drivers/net/ethernet/broadcom/bnx2.c hdr_len = bp->rx_jumbo_thresh; hdr_len 3218 drivers/net/ethernet/broadcom/bnx2.c pages = PAGE_ALIGN(len - hdr_len) >> PAGE_SHIFT; hdr_len 3246 drivers/net/ethernet/broadcom/bnx2.c skb = bnx2_rx_skb(bp, rxr, data, len, hdr_len, dma_addr, hdr_len 503 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 hdr_len; hdr_len 506 drivers/net/ethernet/broadcom/bnxt/bnxt.c hdr_len = skb_inner_network_offset(skb) + hdr_len 510 drivers/net/ethernet/broadcom/bnxt/bnxt.c hdr_len = skb_transport_offset(skb) + hdr_len 515 drivers/net/ethernet/broadcom/bnxt/bnxt.c (hdr_len << (TX_BD_HSIZE_SHIFT - 1))); hdr_len 518 drivers/net/ethernet/broadcom/bnxt/bnxt.c length += hdr_len; hdr_len 7958 drivers/net/ethernet/broadcom/tg3.c u32 tcp_opt_len, hdr_len; hdr_len 7966 drivers/net/ethernet/broadcom/tg3.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb) - ETH_HLEN; hdr_len 7979 drivers/net/ethernet/broadcom/tg3.c if (unlikely((ETH_HLEN + hdr_len) > 80) && hdr_len 7988 drivers/net/ethernet/broadcom/tg3.c iph->tot_len = htons(mss + hdr_len); hdr_len 8008 drivers/net/ethernet/broadcom/tg3.c mss |= (hdr_len & 0xc) << 12; hdr_len 8009 drivers/net/ethernet/broadcom/tg3.c if (hdr_len & 0x10) hdr_len 8011 drivers/net/ethernet/broadcom/tg3.c base_flags |= (hdr_len & 0x3e0) << 5; hdr_len 8013 drivers/net/ethernet/broadcom/tg3.c mss |= hdr_len << 9; hdr_len 13465 drivers/net/ethernet/broadcom/tg3.c u32 hdr_len = TG3_TSO_IP_HDR_LEN + TG3_TSO_TCP_HDR_LEN + hdr_len 13476 drivers/net/ethernet/broadcom/tg3.c iph->tot_len = htons((u16)(mss + hdr_len)); hdr_len 13492 drivers/net/ethernet/broadcom/tg3.c mss |= (hdr_len & 0xc) << 12; hdr_len 13493 drivers/net/ethernet/broadcom/tg3.c if (hdr_len & 0x10) hdr_len 13495 drivers/net/ethernet/broadcom/tg3.c base_flags |= (hdr_len & 0x3e0) << 5; hdr_len 13497 drivers/net/ethernet/broadcom/tg3.c mss |= hdr_len << 9; hdr_len 1493 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 1496 drivers/net/ethernet/cavium/thunder/nicvf_queues.c total_len = skb->len - hdr_len; hdr_len 1510 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_sq_add_gather_subdesc(sq, qentry, hdr_len, hdr_len 1515 drivers/net/ethernet/cavium/thunder/nicvf_queues.c seg_len = hdr_len; hdr_len 103 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ((char *)outbuf + cudbg_hdr->hdr_len + hdr_len 22 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib_common.h u32 hdr_len; hdr_len 423 drivers/net/ethernet/chelsio/cxgb4/cxgb4_cudbg.c cudbg_hdr->hdr_len = sizeof(struct cudbg_hdr); hdr_len 1139 drivers/net/ethernet/chelsio/cxgb4/sge.c u64 hdr_len; hdr_len 1151 drivers/net/ethernet/chelsio/cxgb4/sge.c hdr_len = TXPKT_IPHDR_LEN_V(l4_len); hdr_len 1154 drivers/net/ethernet/chelsio/cxgb4/sge.c hdr_len |= TXPKT_ETHHDR_LEN_V(eth_hdr_len); hdr_len 1156 drivers/net/ethernet/chelsio/cxgb4/sge.c hdr_len |= T6_TXPKT_ETHHDR_LEN_V(eth_hdr_len); hdr_len 1157 drivers/net/ethernet/chelsio/cxgb4/sge.c return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; hdr_len 2294 drivers/net/ethernet/chelsio/cxgb4/sge.c int last_desc, hdr_len = skb_transport_offset(skb); hdr_len 2304 drivers/net/ethernet/chelsio/cxgb4/sge.c hdr_len); hdr_len 2321 drivers/net/ethernet/chelsio/cxgb4/sge.c end, hdr_len, hdr_len 399 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be32 hdr_len; hdr_len 1144 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be16 hdr_len; hdr_len 1113 drivers/net/ethernet/chelsio/cxgb4vf/sge.c u64 hdr_len = TXPKT_IPHDR_LEN_V(skb_network_header_len(skb)); hdr_len 1117 drivers/net/ethernet/chelsio/cxgb4vf/sge.c hdr_len |= TXPKT_ETHHDR_LEN_V(eth_hdr_len); hdr_len 1119 drivers/net/ethernet/chelsio/cxgb4vf/sge.c hdr_len |= T6_TXPKT_ETHHDR_LEN_V(eth_hdr_len); hdr_len 1120 drivers/net/ethernet/chelsio/cxgb4vf/sge.c return TXPKT_CSUM_TYPE_V(csum_type) | hdr_len; hdr_len 46 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c ETH_HDR_LEN_G(be32_to_cpu(req->hdr_len)) : hdr_len 47 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c T6_ETH_HDR_LEN_G(be32_to_cpu(req->hdr_len)); hdr_len 49 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c IP_HDR_LEN_G(be32_to_cpu(req->hdr_len)) : hdr_len 50 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c T6_IP_HDR_LEN_G(be32_to_cpu(req->hdr_len)); hdr_len 637 drivers/net/ethernet/cisco/enic/enic_main.c unsigned int hdr_len = skb_checksum_start_offset(skb); hdr_len 638 drivers/net/ethernet/cisco/enic/enic_main.c unsigned int csum_offset = hdr_len + skb->csum_offset; hdr_len 654 drivers/net/ethernet/cisco/enic/enic_main.c hdr_len, vlan_tag_insert, vlan_tag, eop, hdr_len 713 drivers/net/ethernet/cisco/enic/enic_main.c unsigned int hdr_len; hdr_len 719 drivers/net/ethernet/cisco/enic/enic_main.c hdr_len = skb_inner_transport_header(skb) - skb->data; hdr_len 720 drivers/net/ethernet/cisco/enic/enic_main.c hdr_len += inner_tcp_hdrlen(skb); hdr_len 723 drivers/net/ethernet/cisco/enic/enic_main.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 736 drivers/net/ethernet/cisco/enic/enic_main.c enic_queue_wq_desc_tso(wq, skb, dma_addr, len, mss, hdr_len, hdr_len 45 drivers/net/ethernet/cisco/enic/enic_res.h unsigned int mss_or_csum_offset, unsigned int hdr_len, hdr_len 58 drivers/net/ethernet/cisco/enic/enic_res.h (u16)hdr_len, (u8)offload_mode, hdr_len 102 drivers/net/ethernet/cisco/enic/enic_res.h unsigned int csum_offset, unsigned int hdr_len, hdr_len 106 drivers/net/ethernet/cisco/enic/enic_res.h csum_offset, hdr_len, vlan_tag_insert, vlan_tag, hdr_len 113 drivers/net/ethernet/cisco/enic/enic_res.h unsigned int mss, unsigned int hdr_len, int vlan_tag_insert, hdr_len 117 drivers/net/ethernet/cisco/enic/enic_res.h mss, hdr_len, vlan_tag_insert, vlan_tag, hdr_len 2327 drivers/net/ethernet/emulex/benet/be_main.c u16 hdr_len, curr_frag_len, remaining; hdr_len 2345 drivers/net/ethernet/emulex/benet/be_main.c hdr_len = ETH_HLEN; hdr_len 2346 drivers/net/ethernet/emulex/benet/be_main.c memcpy(skb->data, start, hdr_len); hdr_len 2350 drivers/net/ethernet/emulex/benet/be_main.c page_info->page_offset + hdr_len); hdr_len 2352 drivers/net/ethernet/emulex/benet/be_main.c curr_frag_len - hdr_len); hdr_len 2353 drivers/net/ethernet/emulex/benet/be_main.c skb->data_len = curr_frag_len - hdr_len; hdr_len 2355 drivers/net/ethernet/emulex/benet/be_main.c skb->tail += hdr_len; hdr_len 664 drivers/net/ethernet/freescale/fec_main.c int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 679 drivers/net/ethernet/freescale/fec_main.c memcpy(txq->tx_bounce[index], skb->data, hdr_len); hdr_len 683 drivers/net/ethernet/freescale/fec_main.c swap_buffer(bufaddr, hdr_len); hdr_len 686 drivers/net/ethernet/freescale/fec_main.c hdr_len, DMA_TO_DEVICE); hdr_len 696 drivers/net/ethernet/freescale/fec_main.c bdp->cbd_datlen = cpu_to_fec16(hdr_len); hdr_len 717 drivers/net/ethernet/freescale/fec_main.c int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 740 drivers/net/ethernet/freescale/fec_main.c total_len = skb->len - hdr_len; hdr_len 67 drivers/net/ethernet/google/gve/gve_desc.h u8 hdr_len; /* Header length (L2-L4) including padding */ hdr_len 676 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c u32 l4_offset, hdr_len; hdr_len 725 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hdr_len = (l4.tcp->doff << 2) + l4_offset; hdr_len 733 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c *paylen = skb->len - hdr_len; hdr_len 1187 drivers/net/ethernet/ibm/ibmveth.c int hdr_len; hdr_len 1223 drivers/net/ethernet/ibm/ibmveth.c hdr_len = offset + tcph->doff * 4; hdr_len 1225 drivers/net/ethernet/ibm/ibmveth.c DIV_ROUND_UP(skb->len - hdr_len, hdr_len 1266 drivers/net/ethernet/ibm/ibmvnic.c int *hdr_len, u8 *hdr_data) hdr_len 1272 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[0] = sizeof(struct vlan_ethhdr); hdr_len 1274 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[0] = sizeof(struct ethhdr); hdr_len 1277 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[1] = ip_hdr(skb)->ihl * 4; hdr_len 1279 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[2] = tcp_hdrlen(skb); hdr_len 1281 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[2] = sizeof(struct udphdr); hdr_len 1283 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[1] = sizeof(struct ipv6hdr); hdr_len 1285 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[2] = tcp_hdrlen(skb); hdr_len 1287 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[2] = sizeof(struct udphdr); hdr_len 1289 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[1] = arp_hdr_len(skb->dev); hdr_len 1290 drivers/net/ethernet/ibm/ibmvnic.c hdr_len[2] = 0; hdr_len 1296 drivers/net/ethernet/ibm/ibmvnic.c memcpy(hdr_data, hdr, hdr_len[0]); hdr_len 1297 drivers/net/ethernet/ibm/ibmvnic.c len += hdr_len[0]; hdr_len 1302 drivers/net/ethernet/ibm/ibmvnic.c memcpy(hdr_data + len, hdr, hdr_len[1]); hdr_len 1303 drivers/net/ethernet/ibm/ibmvnic.c len += hdr_len[1]; hdr_len 1308 drivers/net/ethernet/ibm/ibmvnic.c memcpy(hdr_data + len, hdr, hdr_len[2]); hdr_len 1309 drivers/net/ethernet/ibm/ibmvnic.c len += hdr_len[2]; hdr_len 1326 drivers/net/ethernet/ibm/ibmvnic.c static int create_hdr_descs(u8 hdr_field, u8 *hdr_data, int len, int *hdr_len, hdr_len 1351 drivers/net/ethernet/ibm/ibmvnic.c hdr_desc.hdr.l2_len = (u8)hdr_len[0]; hdr_len 1352 drivers/net/ethernet/ibm/ibmvnic.c hdr_desc.hdr.l3_len = cpu_to_be16((u16)hdr_len[1]); hdr_len 1353 drivers/net/ethernet/ibm/ibmvnic.c hdr_desc.hdr.l4_len = (u8)hdr_len[2]; hdr_len 1380 drivers/net/ethernet/ibm/ibmvnic.c int hdr_len[3] = {0, 0, 0}; hdr_len 1384 drivers/net/ethernet/ibm/ibmvnic.c tot_len = build_hdr_data(hdr_field, txbuff->skb, hdr_len, hdr_len 1386 drivers/net/ethernet/ibm/ibmvnic.c *num_entries += create_hdr_descs(hdr_field, hdr_data, tot_len, hdr_len, hdr_len 680 drivers/net/ethernet/intel/e1000/e1000_hw.h u8 hdr_len; /* Header length */ hdr_len 2696 drivers/net/ethernet/intel/e1000/e1000_main.c u8 ipcss, ipcso, tucss, tucso, hdr_len; hdr_len 2705 drivers/net/ethernet/intel/e1000/e1000_main.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 2732 drivers/net/ethernet/intel/e1000/e1000_main.c E1000_TXD_CMD_TCP | (skb->len - (hdr_len))); hdr_len 2745 drivers/net/ethernet/intel/e1000/e1000_main.c context_desc->tcp_seg_setup.fields.hdr_len = hdr_len; hdr_len 3136 drivers/net/ethernet/intel/e1000/e1000_main.c u8 hdr_len; hdr_len 3140 drivers/net/ethernet/intel/e1000/e1000_main.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 3141 drivers/net/ethernet/intel/e1000/e1000_main.c if (skb->data_len && hdr_len == len) { hdr_len 308 drivers/net/ethernet/intel/e1000e/hw.h u8 hdr_len; /* Header length */ hdr_len 5440 drivers/net/ethernet/intel/e1000e/netdev.c u8 ipcss, ipcso, tucss, tucso, hdr_len; hdr_len 5450 drivers/net/ethernet/intel/e1000e/netdev.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 5473 drivers/net/ethernet/intel/e1000e/netdev.c E1000_TXD_CMD_TCP | (skb->len - (hdr_len))); hdr_len 5486 drivers/net/ethernet/intel/e1000e/netdev.c context_desc->tcp_seg_setup.fields.hdr_len = hdr_len; hdr_len 5819 drivers/net/ethernet/intel/e1000e/netdev.c u8 hdr_len; hdr_len 5825 drivers/net/ethernet/intel/e1000e/netdev.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 5829 drivers/net/ethernet/intel/e1000e/netdev.c if (skb->data_len && (hdr_len == len)) { hdr_len 2886 drivers/net/ethernet/intel/i40e/i40e_txrx.c static int i40e_tso(struct i40e_tx_buffer *first, u8 *hdr_len, hdr_len 2966 drivers/net/ethernet/intel/i40e/i40e_txrx.c *hdr_len = (l4.tcp->doff * 4) + l4_offset; hdr_len 2974 drivers/net/ethernet/intel/i40e/i40e_txrx.c first->bytecount += (first->gso_segs - 1) * *hdr_len; hdr_len 2978 drivers/net/ethernet/intel/i40e/i40e_txrx.c cd_tso_len = skb->len - *hdr_len; hdr_len 3348 drivers/net/ethernet/intel/i40e/i40e_txrx.c const u8 hdr_len, u32 td_cmd, u32 td_offset) hdr_len 3568 drivers/net/ethernet/intel/i40e/i40e_txrx.c u8 hdr_len = 0; hdr_len 3617 drivers/net/ethernet/intel/i40e/i40e_txrx.c tso = i40e_tso(first, &hdr_len, &cd_type_cmd_tso_mss); hdr_len 3647 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (i40e_tx_map(tx_ring, skb, first, tx_flags, hdr_len, hdr_len 1852 drivers/net/ethernet/intel/iavf/iavf_txrx.c static int iavf_tso(struct iavf_tx_buffer *first, u8 *hdr_len, hdr_len 1932 drivers/net/ethernet/intel/iavf/iavf_txrx.c *hdr_len = (l4.tcp->doff * 4) + l4_offset; hdr_len 1940 drivers/net/ethernet/intel/iavf/iavf_txrx.c first->bytecount += (first->gso_segs - 1) * *hdr_len; hdr_len 1944 drivers/net/ethernet/intel/iavf/iavf_txrx.c cd_tso_len = skb->len - *hdr_len; hdr_len 2268 drivers/net/ethernet/intel/iavf/iavf_txrx.c const u8 hdr_len, u32 td_cmd, u32 td_offset) hdr_len 2418 drivers/net/ethernet/intel/iavf/iavf_txrx.c u8 hdr_len = 0; hdr_len 2466 drivers/net/ethernet/intel/iavf/iavf_txrx.c tso = iavf_tso(first, &hdr_len, &cd_type_cmd_tso_mss); hdr_len 2485 drivers/net/ethernet/intel/iavf/iavf_txrx.c iavf_tx_map(tx_ring, skb, first, tx_flags, hdr_len, hdr_len 556 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h __le16 hdr_len; hdr_len 731 drivers/net/ethernet/intel/ice/ice_switch.c s_rule->pdata.lkup_tx_rx.hdr_len = 0; hdr_len 838 drivers/net/ethernet/intel/ice/ice_switch.c s_rule->pdata.lkup_tx_rx.hdr_len = cpu_to_le16(eth_hdr_sz); hdr_len 5688 drivers/net/ethernet/intel/igb/igb_main.c u8 *hdr_len) hdr_len 5747 drivers/net/ethernet/intel/igb/igb_main.c *hdr_len = (l4.tcp->doff * 4) + l4_offset; hdr_len 5755 drivers/net/ethernet/intel/igb/igb_main.c first->bytecount += (first->gso_segs - 1) * *hdr_len; hdr_len 5758 drivers/net/ethernet/intel/igb/igb_main.c mss_l4len_idx = (*hdr_len - l4_offset) << E1000_ADVTXD_L4LEN_SHIFT; hdr_len 5917 drivers/net/ethernet/intel/igb/igb_main.c const u8 hdr_len) hdr_len 5931 drivers/net/ethernet/intel/igb/igb_main.c igb_tx_olinfo_status(tx_ring, tx_desc, tx_flags, skb->len - hdr_len); hdr_len 6069 drivers/net/ethernet/intel/igb/igb_main.c u8 hdr_len = 0; hdr_len 6119 drivers/net/ethernet/intel/igb/igb_main.c tso = igb_tso(tx_ring, first, &hdr_len); hdr_len 6125 drivers/net/ethernet/intel/igb/igb_main.c if (igb_tx_map(tx_ring, first, hdr_len)) hdr_len 1998 drivers/net/ethernet/intel/igbvf/netdev.c struct sk_buff *skb, u32 tx_flags, u8 *hdr_len) hdr_len 2051 drivers/net/ethernet/intel/igbvf/netdev.c *hdr_len = (l4.tcp->doff * 4) + l4_offset; hdr_len 2058 drivers/net/ethernet/intel/igbvf/netdev.c mss_l4len_idx = (*hdr_len - l4_offset) << E1000_ADVTXD_L4LEN_SHIFT; hdr_len 2229 drivers/net/ethernet/intel/igbvf/netdev.c u8 hdr_len) hdr_len 2256 drivers/net/ethernet/intel/igbvf/netdev.c olinfo_status |= ((paylen - hdr_len) << E1000_ADVTXD_PAYLEN_SHIFT); hdr_len 2290 drivers/net/ethernet/intel/igbvf/netdev.c u8 hdr_len = 0; hdr_len 2327 drivers/net/ethernet/intel/igbvf/netdev.c tso = igbvf_tso(tx_ring, skb, tx_flags, &hdr_len); hdr_len 2346 drivers/net/ethernet/intel/igbvf/netdev.c first, skb->len, hdr_len); hdr_len 953 drivers/net/ethernet/intel/igc/igc_main.c const u8 hdr_len) hdr_len 967 drivers/net/ethernet/intel/igc/igc_main.c igc_tx_olinfo_status(tx_ring, tx_desc, tx_flags, skb->len - hdr_len); hdr_len 1104 drivers/net/ethernet/intel/igc/igc_main.c u8 hdr_len = 0; hdr_len 1133 drivers/net/ethernet/intel/igc/igc_main.c igc_tx_map(tx_ring, first, hdr_len); hdr_len 569 drivers/net/ethernet/intel/ixgb/ixgb_hw.h u8 hdr_len; hdr_len 1189 drivers/net/ethernet/intel/ixgb/ixgb_main.c u8 ipcss, ipcso, tucss, tucso, hdr_len; hdr_len 1201 drivers/net/ethernet/intel/ixgb/ixgb_main.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 1228 drivers/net/ethernet/intel/ixgb/ixgb_main.c context_desc->hdr_len = hdr_len; hdr_len 1236 drivers/net/ethernet/intel/ixgb/ixgb_main.c | (skb->len - (hdr_len))); hdr_len 1271 drivers/net/ethernet/intel/ixgb/ixgb_main.c context_desc->hdr_len = 0; hdr_len 925 drivers/net/ethernet/intel/ixgbe/ixgbe.h u8 *hdr_len); hdr_len 489 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c u8 *hdr_len) hdr_len 562 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c *hdr_len = sizeof(struct fcoe_crc_eof); hdr_len 566 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c *hdr_len += skb_transport_offset(skb) + hdr_len 569 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c first->gso_segs = DIV_ROUND_UP(skb->len - *hdr_len, hdr_len 571 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c first->bytecount += (first->gso_segs - 1) * *hdr_len; hdr_len 1647 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u16 hdr_len = skb_headlen(skb); hdr_len 1650 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c skb_shinfo(skb)->gso_size = DIV_ROUND_UP((skb->len - hdr_len), hdr_len 7953 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u8 *hdr_len, hdr_len 8019 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c *hdr_len = (l4.tcp->doff * 4) + l4_offset; hdr_len 8027 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c first->bytecount += (first->gso_segs - 1) * *hdr_len; hdr_len 8030 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mss_l4len_idx = (*hdr_len - l4_offset) << IXGBE_ADVTXD_L4LEN_SHIFT; hdr_len 8202 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c const u8 hdr_len) hdr_len 8216 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_tx_olinfo_status(tx_desc, tx_flags, skb->len - hdr_len); hdr_len 8616 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u8 hdr_len = 0; hdr_len 8711 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tso = ixgbe_fso(tx_ring, first, &hdr_len); hdr_len 8725 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tso = ixgbe_tso(tx_ring, first, &hdr_len, &ipsec_tx); hdr_len 8738 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (ixgbe_tx_map(tx_ring, first, hdr_len)) hdr_len 3741 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u8 *hdr_len, hdr_len 3807 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c *hdr_len = (l4.tcp->doff * 4) + l4_offset; hdr_len 3815 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c first->bytecount += (first->gso_segs - 1) * *hdr_len; hdr_len 3818 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c mss_l4len_idx = (*hdr_len - l4_offset) << IXGBE_ADVTXD_L4LEN_SHIFT; hdr_len 3946 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c const u8 hdr_len) hdr_len 3960 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ixgbevf_tx_olinfo_status(tx_desc, tx_flags, skb->len - hdr_len); hdr_len 4121 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u8 hdr_len = 0; hdr_len 4169 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tso = ixgbevf_tso(tx_ring, first, &hdr_len, &ipsec_tx); hdr_len 4175 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ixgbevf_tx_map(tx_ring, first, hdr_len); hdr_len 681 drivers/net/ethernet/marvell/mv643xx_eth.c int hdr_len; hdr_len 687 drivers/net/ethernet/marvell/mv643xx_eth.c hdr_len = (void *)ip_hdr(skb) - (void *)skb->data; hdr_len 688 drivers/net/ethernet/marvell/mv643xx_eth.c tag_bytes = hdr_len - ETH_HLEN; hdr_len 690 drivers/net/ethernet/marvell/mv643xx_eth.c if (length - hdr_len > mp->shared->tx_csum_limit || hdr_len 782 drivers/net/ethernet/marvell/mv643xx_eth.c int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 801 drivers/net/ethernet/marvell/mv643xx_eth.c desc->byte_cnt = hdr_len; hdr_len 827 drivers/net/ethernet/marvell/mv643xx_eth.c int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 842 drivers/net/ethernet/marvell/mv643xx_eth.c total_len = skb->len - hdr_len; hdr_len 2244 drivers/net/ethernet/marvell/mvneta.c int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 2248 drivers/net/ethernet/marvell/mvneta.c tx_desc->data_size = hdr_len; hdr_len 2295 drivers/net/ethernet/marvell/mvneta.c int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 2310 drivers/net/ethernet/marvell/mvneta.c total_len = skb->len - hdr_len; hdr_len 34 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c int hdr_len; hdr_len 45 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c hdr_len = mlx5e_tc_tun_calc_hlen_gretap(e); hdr_len 48 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c __be32 *ptr = (__be32 *)(((u8 *)greh) + hdr_len - 4); hdr_len 1877 drivers/net/ethernet/myricom/myri10ge/myri10ge.c size_t hdr_off, pattern_off, hdr_len; hdr_len 1887 drivers/net/ethernet/myricom/myri10ge/myri10ge.c hdr_len = swab32(readl(mgp->sram + hdr_off + hdr_len 1890 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (pattern_off >= (hdr_len + hdr_off)) { hdr_len 702 drivers/net/ethernet/pensando/ionic/ionic_if.h __le16 hdr_len; hdr_len 523 drivers/net/ethernet/pensando/ionic/ionic_txrx.c desc->hdr_len = cpu_to_le16(hdrlen); hdr_len 1865 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c int copied, offset, copy_len, hdr_len = 0, tso = 0, vlan_oob = 0; hdr_len 1885 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 1888 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c first_desc->total_hdr_length = hdr_len; hdr_len 1942 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c hdr_len + VLAN_HLEN); hdr_len 1957 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c while (copied < hdr_len) { hdr_len 1960 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c (hdr_len - copied)); hdr_len 462 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u8 l4proto, opcode = 0, hdr_len = 0, tag_vlan = 0; hdr_len 500 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 502 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c first_desc->hdr_length = hdr_len; hdr_len 524 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c offset, hdr_len + VLAN_HLEN); hdr_len 539 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c while (copied < hdr_len) { hdr_len 541 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copy_len = min(size, (hdr_len - copied)); hdr_len 1250 drivers/net/ethernet/qualcomm/emac/emac-mac.c unsigned int hdr_len; hdr_len 1267 drivers/net/ethernet/qualcomm/emac/emac-mac.c hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 1268 drivers/net/ethernet/qualcomm/emac/emac-mac.c if (unlikely(skb->len == hdr_len)) { hdr_len 91 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h u32 hdr_len:10; hdr_len 2141 drivers/net/ethernet/sfc/ef10.c const efx_dword_t *hdr, size_t hdr_len, hdr_len 2147 drivers/net/ethernet/sfc/ef10.c memcpy(pdu, hdr, hdr_len); hdr_len 2148 drivers/net/ethernet/sfc/ef10.c memcpy(pdu + hdr_len, sdu, sdu_len); hdr_len 469 drivers/net/ethernet/sfc/falcon/rx.c u8 *eh, int hdr_len) hdr_len 477 drivers/net/ethernet/sfc/falcon/rx.c hdr_len); hdr_len 483 drivers/net/ethernet/sfc/falcon/rx.c EF4_BUG_ON_PARANOID(rx_buf->len < hdr_len); hdr_len 486 drivers/net/ethernet/sfc/falcon/rx.c efx->rx_prefix_size + hdr_len); hdr_len 488 drivers/net/ethernet/sfc/falcon/rx.c __skb_put(skb, hdr_len); hdr_len 491 drivers/net/ethernet/sfc/falcon/rx.c if (rx_buf->len > hdr_len) { hdr_len 492 drivers/net/ethernet/sfc/falcon/rx.c rx_buf->page_offset += hdr_len; hdr_len 493 drivers/net/ethernet/sfc/falcon/rx.c rx_buf->len -= hdr_len; hdr_len 615 drivers/net/ethernet/sfc/falcon/rx.c u16 hdr_len = min_t(u16, rx_buf->len, EF4_SKB_HEADERS); hdr_len 617 drivers/net/ethernet/sfc/falcon/rx.c skb = ef4_rx_mk_skb(channel, rx_buf, n_frags, eh, hdr_len); hdr_len 158 drivers/net/ethernet/sfc/mcdi.c size_t hdr_len; hdr_len 183 drivers/net/ethernet/sfc/mcdi.c hdr_len = 4; hdr_len 198 drivers/net/ethernet/sfc/mcdi.c hdr_len = 8; hdr_len 208 drivers/net/ethernet/sfc/mcdi.c WARN_ON_ONCE(hdr_len % 4); hdr_len 214 drivers/net/ethernet/sfc/mcdi.c for (i = 0; i < hdr_len / 4 && bytes < PAGE_SIZE; i++) hdr_len 226 drivers/net/ethernet/sfc/mcdi.c efx->type->mcdi_request(efx, hdr, hdr_len, inbuf, inlen); hdr_len 289 drivers/net/ethernet/sfc/mcdi.c size_t hdr_len, data_len; hdr_len 294 drivers/net/ethernet/sfc/mcdi.c hdr_len = mcdi->resp_hdr_len / 4; hdr_len 303 drivers/net/ethernet/sfc/mcdi.c for (i = 0; i < hdr_len && bytes < PAGE_SIZE; i++) { hdr_len 502 drivers/net/ethernet/sfc/mcdi.c size_t hdr_len, data_len, err_len; hdr_len 520 drivers/net/ethernet/sfc/mcdi.c hdr_len = 0; hdr_len 524 drivers/net/ethernet/sfc/mcdi.c hdr_len = mcdi->resp_hdr_len; hdr_len 543 drivers/net/ethernet/sfc/mcdi.c efx->type->mcdi_read_response(efx, outbuf, hdr_len, hdr_len 547 drivers/net/ethernet/sfc/mcdi.c efx->type->mcdi_read_response(efx, errbuf, hdr_len, hdr_len 631 drivers/net/ethernet/sfc/mcdi.c size_t hdr_len, size_t data_len, hdr_len 640 drivers/net/ethernet/sfc/mcdi.c efx->type->mcdi_read_response(efx, testbuf, hdr_len, buflen); hdr_len 694 drivers/net/ethernet/sfc/mcdi.c size_t hdr_len, data_len, err_len; hdr_len 704 drivers/net/ethernet/sfc/mcdi.c hdr_len = mcdi->resp_hdr_len; hdr_len 711 drivers/net/ethernet/sfc/mcdi.c efx->type->mcdi_read_response(efx, outbuf, hdr_len, hdr_len 716 drivers/net/ethernet/sfc/mcdi.c efx->type->mcdi_read_response(efx, errbuf, hdr_len, err_len); hdr_len 728 drivers/net/ethernet/sfc/mcdi.c efx_mcdi_get_proxy_handle(efx, hdr_len, data_len, hdr_len 1309 drivers/net/ethernet/sfc/net_driver.h const efx_dword_t *hdr, size_t hdr_len, hdr_len 458 drivers/net/ethernet/sfc/rx.c u8 *eh, int hdr_len) hdr_len 466 drivers/net/ethernet/sfc/rx.c hdr_len); hdr_len 472 drivers/net/ethernet/sfc/rx.c EFX_WARN_ON_ONCE_PARANOID(rx_buf->len < hdr_len); hdr_len 475 drivers/net/ethernet/sfc/rx.c efx->rx_prefix_size + hdr_len); hdr_len 477 drivers/net/ethernet/sfc/rx.c __skb_put(skb, hdr_len); hdr_len 480 drivers/net/ethernet/sfc/rx.c if (rx_buf->len > hdr_len) { hdr_len 481 drivers/net/ethernet/sfc/rx.c rx_buf->page_offset += hdr_len; hdr_len 482 drivers/net/ethernet/sfc/rx.c rx_buf->len -= hdr_len; hdr_len 604 drivers/net/ethernet/sfc/rx.c u16 hdr_len = min_t(u16, rx_buf->len, EFX_SKB_HEADERS); hdr_len 606 drivers/net/ethernet/sfc/rx.c skb = efx_rx_mk_skb(channel, rx_buf, n_frags, eh, hdr_len); hdr_len 741 drivers/net/ethernet/sfc/siena.c const efx_dword_t *hdr, size_t hdr_len, hdr_len 749 drivers/net/ethernet/sfc/siena.c EFX_WARN_ON_PARANOID(hdr_len != 4); hdr_len 754 drivers/net/ethernet/sfc/siena.c efx_writed(efx, &sdu[i], pdu + hdr_len + 4 * i); hdr_len 2704 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data->rx.hdr_len = XLGMAC_GET_REG_BITS_LE(dma_desc->desc2, hdr_len 2707 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c if (desc_data->rx.hdr_len) hdr_len 1010 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c copy_len = (desc_data->rx.hdr_len) ? desc_data->rx.hdr_len : len; hdr_len 250 drivers/net/ethernet/synopsys/dwc-xlgmac.h unsigned short hdr_len; /* Length of received header */ hdr_len 866 drivers/net/macsec.c static void macsec_finalize_skb(struct sk_buff *skb, u8 icv_len, u8 hdr_len) hdr_len 869 drivers/net/macsec.c memmove(skb->data + hdr_len, skb->data, 2 * ETH_ALEN); hdr_len 870 drivers/net/macsec.c skb_pull(skb, hdr_len); hdr_len 653 drivers/net/tap.c tap16_to_cpu(q, vnet_hdr.hdr_len)) hdr_len 654 drivers/net/tap.c vnet_hdr.hdr_len = cpu_to_tap16(q, hdr_len 658 drivers/net/tap.c if (tap16_to_cpu(q, vnet_hdr.hdr_len) > len) hdr_len 669 drivers/net/tap.c copylen = vnet_hdr.hdr_len ? hdr_len 670 drivers/net/tap.c tap16_to_cpu(q, vnet_hdr.hdr_len) : GOODCOPY_LEN; hdr_len 684 drivers/net/tap.c linear = tap16_to_cpu(q, vnet_hdr.hdr_len); hdr_len 1782 drivers/net/tun.c tun16_to_cpu(tun, gso.csum_start) + tun16_to_cpu(tun, gso.csum_offset) + 2 > tun16_to_cpu(tun, gso.hdr_len)) hdr_len 1783 drivers/net/tun.c gso.hdr_len = cpu_to_tun16(tun, tun16_to_cpu(tun, gso.csum_start) + tun16_to_cpu(tun, gso.csum_offset) + 2); hdr_len 1785 drivers/net/tun.c if (tun16_to_cpu(tun, gso.hdr_len) > len) hdr_len 1793 drivers/net/tun.c (gso.hdr_len && tun16_to_cpu(tun, gso.hdr_len) < ETH_HLEN))) hdr_len 1806 drivers/net/tun.c copylen = gso.hdr_len ? tun16_to_cpu(tun, gso.hdr_len) : GOODCOPY_LEN; hdr_len 1830 drivers/net/tun.c if (tun16_to_cpu(tun, gso.hdr_len) > good_linear) hdr_len 1833 drivers/net/tun.c linear = tun16_to_cpu(tun, gso.hdr_len); hdr_len 2124 drivers/net/tun.c tun16_to_cpu(tun, gso.hdr_len)); hdr_len 2128 drivers/net/tun.c min((int)tun16_to_cpu(tun, gso.hdr_len), 64), true); hdr_len 45 drivers/net/usb/net1080.c __le16 hdr_len; // sizeof nc_header (LE, all) hdr_len 344 drivers/net/usb/net1080.c u16 hdr_len, packet_len; hdr_len 360 drivers/net/usb/net1080.c hdr_len = le16_to_cpup(&header->hdr_len); hdr_len 367 drivers/net/usb/net1080.c } else if (hdr_len < MIN_HEADER) { hdr_len 369 drivers/net/usb/net1080.c netdev_dbg(dev->net, "header too short, %d\n", hdr_len); hdr_len 372 drivers/net/usb/net1080.c } else if (hdr_len > MIN_HEADER) { hdr_len 374 drivers/net/usb/net1080.c netdev_dbg(dev->net, "header OOB, %d bytes\n", hdr_len - MIN_HEADER); hdr_len 378 drivers/net/usb/net1080.c skb_pull(skb, hdr_len); hdr_len 407 drivers/net/usb/net1080.c netdev_dbg(dev->net, "frame <rx h %d p %d id %d\n", header->hdr_len, hdr_len 458 drivers/net/usb/net1080.c header->hdr_len = cpu_to_le16(sizeof (*header)); hdr_len 469 drivers/net/usb/net1080.c header->hdr_len, header->packet_len, hdr_len 206 drivers/net/virtio_net.c u8 hdr_len; hdr_len 378 drivers/net/virtio_net.c unsigned int copy, hdr_len, hdr_padded_len; hdr_len 390 drivers/net/virtio_net.c hdr_len = vi->hdr_len; hdr_len 397 drivers/net/virtio_net.c memcpy(hdr, p, hdr_len); hdr_len 399 drivers/net/virtio_net.c len -= hdr_len; hdr_len 457 drivers/net/virtio_net.c if (unlikely(xdpf->headroom < vi->hdr_len)) hdr_len 461 drivers/net/virtio_net.c xdpf->data -= vi->hdr_len; hdr_len 464 drivers/net/virtio_net.c memset(hdr, 0, vi->hdr_len); hdr_len 465 drivers/net/virtio_net.c xdpf->len += vi->hdr_len; hdr_len 640 drivers/net/virtio_net.c unsigned int headroom = vi->hdr_len + header_offset; hdr_len 648 drivers/net/virtio_net.c len -= vi->hdr_len; hdr_len 665 drivers/net/virtio_net.c unsigned int tlen = len + vi->hdr_len; hdr_len 670 drivers/net/virtio_net.c headroom = vi->hdr_len + header_offset; hdr_len 684 drivers/net/virtio_net.c xdp.data_hard_start = buf + VIRTNET_RX_PAD + vi->hdr_len; hdr_len 740 drivers/net/virtio_net.c memcpy(skb_vnet_hdr(skb), buf, vi->hdr_len); hdr_len 766 drivers/net/virtio_net.c stats->bytes += len - vi->hdr_len; hdr_len 798 drivers/net/virtio_net.c stats->bytes += len - vi->hdr_len; hdr_len 840 drivers/net/virtio_net.c xdp.data_hard_start = data - VIRTIO_XDP_HEADROOM + vi->hdr_len; hdr_len 841 drivers/net/virtio_net.c xdp.data = data + vi->hdr_len; hdr_len 843 drivers/net/virtio_net.c xdp.data_end = xdp.data + (len - vi->hdr_len); hdr_len 856 drivers/net/virtio_net.c page_address(xdp_page) - vi->hdr_len; hdr_len 861 drivers/net/virtio_net.c len = xdp.data_end - xdp.data + vi->hdr_len; hdr_len 1019 drivers/net/virtio_net.c if (unlikely(len < vi->hdr_len + ETH_HLEN)) { hdr_len 1081 drivers/net/virtio_net.c int len = vi->hdr_len + VIRTNET_RX_PAD + GOOD_PACKET_LEN + xdp_headroom; hdr_len 1093 drivers/net/virtio_net.c vi->hdr_len + GOOD_PACKET_LEN); hdr_len 1133 drivers/net/virtio_net.c sg_set_buf(&rq->sg[0], p, vi->hdr_len); hdr_len 1153 drivers/net/virtio_net.c const size_t hdr_len = sizeof(struct virtio_net_hdr_mrg_rxbuf); hdr_len 1159 drivers/net/virtio_net.c len = hdr_len + clamp_t(unsigned int, ewma_pkt_len_read(avg_pkt_len), hdr_len 1160 drivers/net/virtio_net.c rq->min_buf_len, PAGE_SIZE - hdr_len); hdr_len 1512 drivers/net/virtio_net.c unsigned hdr_len = vi->hdr_len; hdr_len 1519 drivers/net/virtio_net.c !skb_header_cloned(skb) && skb_headroom(skb) >= hdr_len; hdr_len 1523 drivers/net/virtio_net.c hdr = (struct virtio_net_hdr_mrg_rxbuf *)(skb->data - hdr_len); hdr_len 1537 drivers/net/virtio_net.c __skb_push(skb, hdr_len); hdr_len 1542 drivers/net/virtio_net.c __skb_pull(skb, hdr_len); hdr_len 1544 drivers/net/virtio_net.c sg_set_buf(sq->sg, hdr, hdr_len); hdr_len 2741 drivers/net/virtio_net.c const unsigned int hdr_len = sizeof(struct virtio_net_hdr_mrg_rxbuf); hdr_len 2744 drivers/net/virtio_net.c unsigned int buf_len = hdr_len + ETH_HLEN + VLAN_HLEN + packet_len; hdr_len 2747 drivers/net/virtio_net.c return max(max(min_buf_len, hdr_len) - hdr_len, hdr_len 3089 drivers/net/virtio_net.c vi->hdr_len = sizeof(struct virtio_net_hdr_mrg_rxbuf); hdr_len 3091 drivers/net/virtio_net.c vi->hdr_len = sizeof(struct virtio_net_hdr); hdr_len 3123 drivers/net/virtio_net.c dev->needed_headroom = vi->hdr_len; hdr_len 1124 drivers/net/wireless/ath/ath10k/coredump.c size_t hdr_len = sizeof(*dump_data); hdr_len 1128 drivers/net/wireless/ath/ath10k/coredump.c len = hdr_len; hdr_len 1140 drivers/net/wireless/ath/ath10k/coredump.c sofar += hdr_len; hdr_len 1340 drivers/net/wireless/ath/ath10k/htt_rx.c size_t hdr_len; hdr_len 1387 drivers/net/wireless/ath/ath10k/htt_rx.c hdr_len = ieee80211_hdrlen(hdr->frame_control); hdr_len 1397 drivers/net/wireless/ath/ath10k/htt_rx.c (void *)hdr + round_up(hdr_len, bytes_aligned), hdr_len 1400 drivers/net/wireless/ath/ath10k/htt_rx.c memcpy(skb_push(msdu, hdr_len), hdr, hdr_len); hdr_len 1446 drivers/net/wireless/ath/ath10k/htt_rx.c hdr_len = ieee80211_hdrlen(hdr->frame_control); hdr_len 1450 drivers/net/wireless/ath/ath10k/htt_rx.c (void *)msdu->data, hdr_len); hdr_len 1463 drivers/net/wireless/ath/ath10k/htt_rx.c size_t hdr_len; hdr_len 1488 drivers/net/wireless/ath/ath10k/htt_rx.c hdr_len = ath10k_htt_rx_nwifi_hdrlen(ar, hdr); hdr_len 1491 drivers/net/wireless/ath/ath10k/htt_rx.c skb_pull(msdu, hdr_len); hdr_len 1495 drivers/net/wireless/ath/ath10k/htt_rx.c hdr_len = ieee80211_hdrlen(hdr->frame_control); hdr_len 1500 drivers/net/wireless/ath/ath10k/htt_rx.c (void *)hdr + round_up(hdr_len, bytes_aligned), hdr_len 1504 drivers/net/wireless/ath/ath10k/htt_rx.c memcpy(skb_push(msdu, hdr_len), hdr, hdr_len); hdr_len 1520 drivers/net/wireless/ath/ath10k/htt_rx.c size_t hdr_len, crypto_len; hdr_len 1537 drivers/net/wireless/ath/ath10k/htt_rx.c hdr_len = ieee80211_hdrlen(hdr->frame_control); hdr_len 1540 drivers/net/wireless/ath/ath10k/htt_rx.c rfc1042 += round_up(hdr_len, bytes_aligned) + hdr_len 1558 drivers/net/wireless/ath/ath10k/htt_rx.c size_t hdr_len; hdr_len 1592 drivers/net/wireless/ath/ath10k/htt_rx.c hdr_len = ieee80211_hdrlen(hdr->frame_control); hdr_len 1597 drivers/net/wireless/ath/ath10k/htt_rx.c (void *)hdr + round_up(hdr_len, bytes_aligned), hdr_len 1601 drivers/net/wireless/ath/ath10k/htt_rx.c memcpy(skb_push(msdu, hdr_len), hdr, hdr_len); hdr_len 1618 drivers/net/wireless/ath/ath10k/htt_rx.c size_t hdr_len; hdr_len 1636 drivers/net/wireless/ath/ath10k/htt_rx.c hdr_len = ieee80211_hdrlen(hdr->frame_control); hdr_len 1641 drivers/net/wireless/ath/ath10k/htt_rx.c (void *)hdr + round_up(hdr_len, bytes_aligned), hdr_len 1645 drivers/net/wireless/ath/ath10k/htt_rx.c memcpy(skb_push(msdu, hdr_len), hdr, hdr_len); hdr_len 2368 drivers/net/wireless/ath/ath10k/htt_rx.c u16 hdr_len) hdr_len 2373 drivers/net/wireless/ath/ath10k/htt_rx.c ivp = orig_hdr + hdr_len + head_len; hdr_len 2379 drivers/net/wireless/ath/ath10k/htt_rx.c memmove(orig_hdr + IEEE80211_TKIP_IV_LEN, orig_hdr, head_len + hdr_len); hdr_len 2387 drivers/net/wireless/ath/ath10k/htt_rx.c u16 hdr_len) hdr_len 2392 drivers/net/wireless/ath/ath10k/htt_rx.c ivp = orig_hdr + hdr_len + head_len; hdr_len 2398 drivers/net/wireless/ath/ath10k/htt_rx.c memmove(orig_hdr + IEEE80211_TKIP_IV_LEN, orig_hdr, head_len + hdr_len); hdr_len 2406 drivers/net/wireless/ath/ath10k/htt_rx.c u16 hdr_len) hdr_len 2411 drivers/net/wireless/ath/ath10k/htt_rx.c ivp = orig_hdr + hdr_len + head_len; hdr_len 2418 drivers/net/wireless/ath/ath10k/htt_rx.c memmove(orig_hdr + IEEE80211_CCMP_HDR_LEN, orig_hdr, head_len + hdr_len); hdr_len 2425 drivers/net/wireless/ath/ath10k/htt_rx.c u16 hdr_len) hdr_len 2432 drivers/net/wireless/ath/ath10k/htt_rx.c orig_hdr, head_len + hdr_len); hdr_len 4284 drivers/net/wireless/ath/ath10k/wmi.c arg->hdr_len = sizeof(*phyerr); hdr_len 4329 drivers/net/wireless/ath/ath10k/wmi.c arg->hdr_len = sizeof(*phyerr); hdr_len 4385 drivers/net/wireless/ath/ath10k/wmi.c left_len -= phyerr_arg.hdr_len; hdr_len 4411 drivers/net/wireless/ath/ath10k/wmi.c phyerr = phyerr + phyerr_arg.hdr_len + buf_len; hdr_len 6825 drivers/net/wireless/ath/ath10k/wmi.h u8 hdr_len; hdr_len 97 drivers/net/wireless/ath/ath10k/wow.c int hdr_len = sizeof(*new_hdr_pattern); hdr_len 100 drivers/net/wireless/ath/ath10k/wow.c (struct rfc1042_hdr *)(hdr_80211_pattern + hdr_len); hdr_len 102 drivers/net/wireless/ath/ath10k/wow.c (struct rfc1042_hdr *)(hdr_80211_bit_mask + hdr_len); hdr_len 135 drivers/net/wireless/ath/ath10k/wow.c new->pkt_offset = old->pkt_offset + hdr_len + rfc_len - ETH_HLEN; hdr_len 139 drivers/net/wireless/ath/ath10k/wow.c hdr_80211_end_offset = hdr_len + rfc_len; hdr_len 141 drivers/net/wireless/ath/ath10k/wow.c hdr_80211_end_offset = hdr_len + rfc_len + total_len - ETH_HLEN; hdr_len 77 drivers/net/wireless/ath/ath5k/desc.c unsigned int pkt_len, unsigned int hdr_len, hdr_len 140 drivers/net/wireless/ath/ath5k/desc.c if (hdr_len & ~AR5K_2W_TX_DESC_CTL0_HEADER_LEN_5210) hdr_len 143 drivers/net/wireless/ath/ath5k/desc.c AR5K_REG_SM(hdr_len, AR5K_2W_TX_DESC_CTL0_HEADER_LEN_5210); hdr_len 243 drivers/net/wireless/ath/ath5k/desc.c unsigned int pkt_len, unsigned int hdr_len, hdr_len 2607 drivers/net/wireless/broadcom/b43/main.c const size_t hdr_len = sizeof(struct b43_fw_header); hdr_len 2626 drivers/net/wireless/broadcom/b43/main.c data = (__be32 *) (dev->fw.ucode.data->data + hdr_len); hdr_len 2627 drivers/net/wireless/broadcom/b43/main.c len = (dev->fw.ucode.data->size - hdr_len) / sizeof(__be32); hdr_len 2636 drivers/net/wireless/broadcom/b43/main.c data = (__be32 *) (dev->fw.pcm.data->data + hdr_len); hdr_len 2637 drivers/net/wireless/broadcom/b43/main.c len = (dev->fw.pcm.data->size - hdr_len) / sizeof(__be32); hdr_len 2814 drivers/net/wireless/broadcom/b43/main.c const size_t hdr_len = sizeof(struct b43_fw_header); hdr_len 2821 drivers/net/wireless/broadcom/b43/main.c ivals = (const struct b43_iv *)(fw->initvals.data->data + hdr_len); hdr_len 2824 drivers/net/wireless/broadcom/b43/main.c fw->initvals.data->size - hdr_len); hdr_len 2829 drivers/net/wireless/broadcom/b43/main.c const size_t hdr_len = sizeof(struct b43_fw_header); hdr_len 2839 drivers/net/wireless/broadcom/b43/main.c ivals = (const struct b43_iv *)(fw->initvals_band.data->data + hdr_len); hdr_len 2842 drivers/net/wireless/broadcom/b43/main.c fw->initvals_band.data->size - hdr_len); hdr_len 1655 drivers/net/wireless/broadcom/b43legacy/main.c const size_t hdr_len = sizeof(struct b43legacy_fw_header); hdr_len 1678 drivers/net/wireless/broadcom/b43legacy/main.c data = (__be32 *) (dev->fw.ucode->data + hdr_len); hdr_len 1679 drivers/net/wireless/broadcom/b43legacy/main.c len = (dev->fw.ucode->size - hdr_len) / sizeof(__be32); hdr_len 1692 drivers/net/wireless/broadcom/b43legacy/main.c data = (__be32 *) (dev->fw.pcm->data + hdr_len); hdr_len 1693 drivers/net/wireless/broadcom/b43legacy/main.c len = (dev->fw.pcm->size - hdr_len) / sizeof(__be32); hdr_len 1842 drivers/net/wireless/broadcom/b43legacy/main.c const size_t hdr_len = sizeof(struct b43legacy_fw_header); hdr_len 1850 drivers/net/wireless/broadcom/b43legacy/main.c ivals = (const struct b43legacy_iv *)(fw->initvals->data + hdr_len); hdr_len 1853 drivers/net/wireless/broadcom/b43legacy/main.c fw->initvals->size - hdr_len); hdr_len 1860 drivers/net/wireless/broadcom/b43legacy/main.c + hdr_len); hdr_len 1863 drivers/net/wireless/broadcom/b43legacy/main.c fw->initvals_band->size - hdr_len); hdr_len 10106 drivers/net/wireless/intel/ipw2x00/ipw2200.c u8 id, hdr_len, unicast; hdr_len 10112 drivers/net/wireless/intel/ipw2x00/ipw2200.c hdr_len = libipw_get_hdrlen(le16_to_cpu(hdr->frame_ctl)); hdr_len 10157 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(&tfd->u.data.tfd.tfd_24.mchdr, hdr, hdr_len); hdr_len 10220 drivers/net/wireless/intel/ipw2x00/ipw2200.c txb->fragments[i]->len - hdr_len); hdr_len 10223 drivers/net/wireless/intel/ipw2x00/ipw2200.c txb->fragments[i]->len - hdr_len); hdr_len 10224 drivers/net/wireless/intel/ipw2x00/ipw2200.c printk_buf(IPW_DL_TX, txb->fragments[i]->data + hdr_len, hdr_len 10225 drivers/net/wireless/intel/ipw2x00/ipw2200.c txb->fragments[i]->len - hdr_len); hdr_len 10230 drivers/net/wireless/intel/ipw2x00/ipw2200.c txb->fragments[i]->data + hdr_len, hdr_len 10231 drivers/net/wireless/intel/ipw2x00/ipw2200.c txb->fragments[i]->len - hdr_len, hdr_len 10234 drivers/net/wireless/intel/ipw2x00/ipw2200.c cpu_to_le16(txb->fragments[i]->len - hdr_len); hdr_len 10243 drivers/net/wireless/intel/ipw2x00/ipw2200.c remaining_bytes += txb->fragments[j]->len - hdr_len; hdr_len 10251 drivers/net/wireless/intel/ipw2x00/ipw2200.c int size = txb->fragments[j]->len - hdr_len; hdr_len 10256 drivers/net/wireless/intel/ipw2x00/ipw2200.c txb->fragments[j]->data + hdr_len, hdr_len 139 drivers/net/wireless/intel/ipw2x00/libipw_tx.c struct sk_buff *frag, int hdr_len) hdr_len 153 drivers/net/wireless/intel/ipw2x00/libipw_tx.c res = crypt->ops->encrypt_mpdu(frag, hdr_len, crypt->priv); hdr_len 251 drivers/net/wireless/intel/ipw2x00/libipw_tx.c int bytes, fc, hdr_len; hdr_len 319 drivers/net/wireless/intel/ipw2x00/libipw_tx.c hdr_len = LIBIPW_3ADDR_LEN; hdr_len 323 drivers/net/wireless/intel/ipw2x00/libipw_tx.c hdr_len += 2; hdr_len 340 drivers/net/wireless/intel/ipw2x00/libipw_tx.c int len = bytes + hdr_len + crypt->ops->extra_msdu_prefix_len + hdr_len 348 drivers/net/wireless/intel/ipw2x00/libipw_tx.c skb_put_data(skb_new, &header, hdr_len); hdr_len 353 drivers/net/wireless/intel/ipw2x00/libipw_tx.c res = crypt->ops->encrypt_msdu(skb_new, hdr_len, crypt->priv); hdr_len 363 drivers/net/wireless/intel/ipw2x00/libipw_tx.c skb_pull(skb, hdr_len); hdr_len 379 drivers/net/wireless/intel/ipw2x00/libipw_tx.c bytes_per_frag = frag_size - hdr_len; hdr_len 401 drivers/net/wireless/intel/ipw2x00/libipw_tx.c frag_size = bytes + hdr_len; hdr_len 428 drivers/net/wireless/intel/ipw2x00/libipw_tx.c frag_hdr = skb_put(skb_frag, hdr_len); hdr_len 435 drivers/net/wireless/intel/ipw2x00/libipw_tx.c memcpy(frag_hdr, &header, hdr_len); hdr_len 458 drivers/net/wireless/intel/ipw2x00/libipw_tx.c frag_hdr = skb_put_data(skb_frag, &header, hdr_len); hdr_len 486 drivers/net/wireless/intel/ipw2x00/libipw_tx.c libipw_encrypt_fragment(ieee, skb_frag, hdr_len); hdr_len 461 drivers/net/wireless/intel/iwlegacy/3945-mac.c u16 len, idx, hdr_len; hdr_len 494 drivers/net/wireless/intel/iwlegacy/3945-mac.c hdr_len = ieee80211_hdrlen(fc); hdr_len 544 drivers/net/wireless/intel/iwlegacy/3945-mac.c memcpy(tx_cmd->hdr, hdr, hdr_len); hdr_len 571 drivers/net/wireless/intel/iwlegacy/3945-mac.c hdr_len; hdr_len 584 drivers/net/wireless/intel/iwlegacy/3945-mac.c secondlen = skb->len - hdr_len; hdr_len 587 drivers/net/wireless/intel/iwlegacy/3945-mac.c pci_map_single(il->pci_dev, skb->data + hdr_len, secondlen, hdr_len 1660 drivers/net/wireless/intel/iwlegacy/4965-mac.c u8 hdr_len; hdr_len 1685 drivers/net/wireless/intel/iwlegacy/4965-mac.c hdr_len = ieee80211_hdrlen(fc); hdr_len 1786 drivers/net/wireless/intel/iwlegacy/4965-mac.c memcpy(tx_cmd->hdr, hdr, hdr_len); hdr_len 1808 drivers/net/wireless/intel/iwlegacy/4965-mac.c len = sizeof(struct il_tx_cmd) + sizeof(struct il_cmd_header) + hdr_len; hdr_len 1825 drivers/net/wireless/intel/iwlegacy/4965-mac.c secondlen = skb->len - hdr_len; hdr_len 1828 drivers/net/wireless/intel/iwlegacy/4965-mac.c pci_map_single(il->pci_dev, skb->data + hdr_len, secondlen, hdr_len 1865 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_print_hex_dump(il, IL_DL_TX, (u8 *) tx_cmd->hdr, hdr_len); hdr_len 273 drivers/net/wireless/intel/iwlwifi/dvm/tx.c u8 hdr_len; hdr_len 310 drivers/net/wireless/intel/iwlwifi/dvm/tx.c hdr_len = ieee80211_hdrlen(fc); hdr_len 416 drivers/net/wireless/intel/iwlwifi/dvm/tx.c memcpy(tx_cmd->hdr, hdr, hdr_len); hdr_len 733 drivers/net/wireless/intel/iwlwifi/fw/dbg.c size_t hdr_len = sizeof(struct iwl_fw_error_dump_data) + hdr_len 742 drivers/net/wireless/intel/iwlwifi/fw/dbg.c ADD_LEN(fifo_len, mem_cfg->rxfifo2_size, hdr_len); hdr_len 749 drivers/net/wireless/intel/iwlwifi/fw/dbg.c ADD_LEN(fifo_len, mem_cfg->lmac[i].rxfifo1_size, hdr_len); hdr_len 757 drivers/net/wireless/intel/iwlwifi/fw/dbg.c size_t hdr_len = sizeof(struct iwl_fw_error_dump_data) + hdr_len 774 drivers/net/wireless/intel/iwlwifi/fw/dbg.c hdr_len); hdr_len 784 drivers/net/wireless/intel/iwlwifi/fw/dbg.c ADD_LEN(fifo_len, mem_cfg->internal_txfifo_size[i], hdr_len); hdr_len 875 drivers/net/wireless/intel/iwlwifi/fw/dbg.c size_t hdr_len = sizeof(*dump_data) + hdr_len 880 drivers/net/wireless/intel/iwlwifi/fw/dbg.c ADD_LEN(file_len, sram_len, hdr_len); hdr_len 883 drivers/net/wireless/intel/iwlwifi/fw/dbg.c ADD_LEN(file_len, smem_len, hdr_len); hdr_len 884 drivers/net/wireless/intel/iwlwifi/fw/dbg.c ADD_LEN(file_len, sram2_len, hdr_len); hdr_len 887 drivers/net/wireless/intel/iwlwifi/fw/dbg.c ADD_LEN(file_len, le32_to_cpu(fw_mem[i].len), hdr_len); hdr_len 556 drivers/net/wireless/intel/iwlwifi/fw/file.h u8 hdr_len; hdr_len 85 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h int hdr_len), hdr_len 86 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h TP_ARGS(dev, skb, tfd, tfdlen, buf0, buf0_len, hdr_len), hdr_len 99 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h __dynamic_array(u8, buf1, hdr_len > 0 && iwl_trace_data(skb) ? hdr_len 100 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h 0 : skb->len - hdr_len) hdr_len 106 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h if (hdr_len > 0) hdr_len 107 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h __entry->framelen += skb->len - hdr_len; hdr_len 110 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h if (hdr_len > 0 && !iwl_trace_data(skb)) hdr_len 111 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h skb_copy_bits(skb, hdr_len, hdr_len 113 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h skb->len - hdr_len); hdr_len 494 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c cs->hdr_len = fwcs->hdr_len; hdr_len 246 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c u8 hdr_len, hdr_len 266 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c total_len = skb->len - snap_ip_tcp_hdrlen - hdr_len; hdr_len 287 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c skb_pull(skb, hdr_len); hdr_len 363 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c skb_push(skb, hdr_len); hdr_len 378 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c int hdr_len, hdr_len 397 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c len = tx_cmd_len + sizeof(struct iwl_cmd_header) + hdr_len - hdr_len 415 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c hdr_len, dev_cmd)) hdr_len 467 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c int hdr_len, hdr_len 491 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c len = tx_cmd_len + sizeof(struct iwl_cmd_header) + hdr_len - hdr_len 510 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c IWL_FIRST_TB_SIZE + tb1_len, hdr_len); hdr_len 513 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c tb2_len = skb_headlen(skb) - hdr_len; hdr_len 516 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c tb_phys = dma_map_single(trans->dev, skb->data + hdr_len, hdr_len 522 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c skb->data + hdr_len, hdr_len 559 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c int len, hdr_len; hdr_len 576 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c hdr_len = ieee80211_hdrlen(hdr->frame_control); hdr_len 585 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c out_meta, hdr_len, len); hdr_len 588 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c hdr_len, len, !amsdu); hdr_len 2004 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq, u8 hdr_len, hdr_len 2014 drivers/net/wireless/intel/iwlwifi/pcie/tx.c head_tb_len = skb_headlen(skb) - hdr_len; hdr_len 2018 drivers/net/wireless/intel/iwlwifi/pcie/tx.c skb->data + hdr_len, hdr_len 2023 drivers/net/wireless/intel/iwlwifi/pcie/tx.c skb->data + hdr_len, hdr_len 2100 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq, u8 hdr_len, hdr_len 2128 drivers/net/wireless/intel/iwlwifi/pcie/tx.c total_len = skb->len - snap_ip_tcp_hdrlen - hdr_len - iv_len; hdr_len 2144 drivers/net/wireless/intel/iwlwifi/pcie/tx.c memcpy(hdr_page->pos, skb->data + hdr_len, iv_len); hdr_len 2151 drivers/net/wireless/intel/iwlwifi/pcie/tx.c skb_pull(skb, hdr_len + iv_len); hdr_len 2277 drivers/net/wireless/intel/iwlwifi/pcie/tx.c skb_push(skb, hdr_len + iv_len); hdr_len 2283 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq, u8 hdr_len, hdr_len 2309 drivers/net/wireless/intel/iwlwifi/pcie/tx.c u8 hdr_len; hdr_len 2344 drivers/net/wireless/intel/iwlwifi/pcie/tx.c hdr_len = ieee80211_hdrlen(fc); hdr_len 2403 drivers/net/wireless/intel/iwlwifi/pcie/tx.c hdr_len - IWL_FIRST_TB_SIZE; hdr_len 2439 drivers/net/wireless/intel/iwlwifi/pcie/tx.c hdr_len); hdr_len 2448 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (unlikely(iwl_fill_data_tbs_amsdu(trans, skb, txq, hdr_len, hdr_len 2455 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (unlikely(iwl_fill_data_tbs(trans, skb, txq, hdr_len, hdr_len 73 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c int hdr_len, encaps_len, skip_header_bytes; hdr_len 141 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c hdr_len = IEEE80211_DATA_HDR3_LEN; hdr_len 158 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c hdr_len += ETH_ALEN; hdr_len 213 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c need_headroom = local->func->need_tx_headroom + hdr_len + encaps_len; hdr_len 244 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c memcpy(skb_push(skb, hdr_len), &hdr, hdr_len); hdr_len 321 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c int prefix_len, postfix_len, hdr_len, res; hdr_len 359 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c hdr_len = hostap_80211_get_hdrlen(hdr->frame_control); hdr_len 366 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c res = crypt->ops->encrypt_msdu(skb, hdr_len, crypt->priv); hdr_len 368 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c res = crypt->ops->encrypt_mpdu(skb, hdr_len, crypt->priv); hdr_len 1805 drivers/net/wireless/intersil/hostap/hostap_hw.c int hdr_len, data_len, idx, res, ret = -1; hdr_len 1827 drivers/net/wireless/intersil/hostap/hostap_hw.c hdr_len = 24; hdr_len 1828 drivers/net/wireless/intersil/hostap/hostap_hw.c skb_copy_from_linear_data(skb, &txdesc.frame_control, hdr_len); hdr_len 1834 drivers/net/wireless/intersil/hostap/hostap_hw.c skb_copy_from_linear_data_offset(skb, hdr_len, txdesc.addr4, hdr_len 1836 drivers/net/wireless/intersil/hostap/hostap_hw.c hdr_len += ETH_ALEN; hdr_len 1847 drivers/net/wireless/intersil/hostap/hostap_hw.c data_len = skb->len - hdr_len; hdr_len 1864 drivers/net/wireless/intersil/hostap/hostap_hw.c res = hfa384x_to_bap(dev, BAP0, skb->data + hdr_len, hdr_len 1865 drivers/net/wireless/intersil/hostap/hostap_hw.c skb->len - hdr_len); hdr_len 1929 drivers/net/wireless/intersil/hostap/hostap_hw.c u16 len, hdr_len, rxfid, status, macport; hdr_len 1965 drivers/net/wireless/intersil/hostap/hostap_hw.c hdr_len = sizeof(rxdesc); hdr_len 1976 drivers/net/wireless/intersil/hostap/hostap_hw.c hdr_len -= 65535 - len; hdr_len 1977 drivers/net/wireless/intersil/hostap/hostap_hw.c hdr_len--; hdr_len 1989 drivers/net/wireless/intersil/hostap/hostap_hw.c skb = dev_alloc_skb(len + hdr_len); hdr_len 1997 drivers/net/wireless/intersil/hostap/hostap_hw.c skb_put_data(skb, &rxdesc, hdr_len); hdr_len 829 drivers/net/wireless/mediatek/mt76/mac80211.c int hdr_len = ieee80211_get_hdrlen_from_skb(skb); hdr_len 833 drivers/net/wireless/mediatek/mt76/mac80211.c memmove(skb->data, skb->data + 8, hdr_len); hdr_len 834 drivers/net/wireless/mediatek/mt76/mac80211.c hdr = skb->data + hdr_len; hdr_len 791 drivers/net/wireless/mediatek/mt76/mt7603/mac.c int hdr_len = ieee80211_get_hdrlen_from_skb(skb); hdr_len 830 drivers/net/wireless/mediatek/mt76/mt7603/mac.c FIELD_PREP(MT_TXD1_HDR_INFO, hdr_len / 2) | hdr_len 10 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c int hdr_len; hdr_len 13 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c hdr_len = ieee80211_get_hdrlen_from_skb(skb); hdr_len 14 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c if (hdr_len % 4) hdr_len 32 drivers/net/wireless/mediatek/mt7601u/dma.c u32 true_len, hdr_len = 0, copy, frag; hdr_len 42 drivers/net/wireless/mediatek/mt7601u/dma.c hdr_len = ieee80211_get_hdrlen_from_buf(data, true_len); hdr_len 43 drivers/net/wireless/mediatek/mt7601u/dma.c if (!hdr_len) hdr_len 47 drivers/net/wireless/mediatek/mt7601u/dma.c skb_put_data(skb, data, hdr_len); hdr_len 49 drivers/net/wireless/mediatek/mt7601u/dma.c data += hdr_len + 2; hdr_len 50 drivers/net/wireless/mediatek/mt7601u/dma.c true_len -= hdr_len; hdr_len 51 drivers/net/wireless/mediatek/mt7601u/dma.c hdr_len = 0; hdr_len 55 drivers/net/wireless/mediatek/mt7601u/dma.c copy = (true_len <= skb_tailroom(skb)) ? true_len : hdr_len + 8; hdr_len 71 drivers/net/wireless/mediatek/mt7601u/dma.c true_len, hdr_len); hdr_len 119 drivers/net/wireless/mediatek/mt7601u/tx.c int hdr_len = ieee80211_get_hdrlen_from_skb(skb); hdr_len 123 drivers/net/wireless/mediatek/mt7601u/tx.c if (hdr_len % 4) hdr_len 154 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c void rt2x00queue_insert_l2pad(struct sk_buff *skb, unsigned int hdr_len) hdr_len 156 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c unsigned int l2pad = (skb->len > hdr_len) ? L2PAD_SIZE(hdr_len) : 0; hdr_len 162 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c memmove(skb->data, skb->data + l2pad, hdr_len); hdr_len 165 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c void rt2x00queue_remove_l2pad(struct sk_buff *skb, unsigned int hdr_len) hdr_len 167 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c unsigned int l2pad = (skb->len > hdr_len) ? L2PAD_SIZE(hdr_len) : 0; hdr_len 172 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c memmove(skb->data + l2pad, skb->data, hdr_len); hdr_len 557 drivers/net/wireless/rayctl.h UCHAR hdr_len; hdr_len 867 drivers/net/wireless/st/cw1200/wsm.c size_t hdr_len; hdr_len 893 drivers/net/wireless/st/cw1200/wsm.c hdr_len = buf->data - buf->begin; hdr_len 894 drivers/net/wireless/st/cw1200/wsm.c skb_pull(*skb_p, hdr_len); hdr_len 907 drivers/net/wireless/st/cw1200/wsm.c skb_push(*skb_p, hdr_len); hdr_len 901 drivers/pci/controller/pci-hyperv.c unsigned int data_len, hdr_len; hdr_len 903 drivers/pci/controller/pci-hyperv.c hdr_len = offsetof(struct pci_read_block_response, bytes); hdr_len 904 drivers/pci/controller/pci-hyperv.c if (resp_packet_size < hdr_len) { hdr_len 909 drivers/pci/controller/pci-hyperv.c data_len = resp_packet_size - hdr_len; hdr_len 612 drivers/platform/mellanox/mlxbf-tmfifo.c int vdev_id, hdr_len; hdr_len 626 drivers/platform/mellanox/mlxbf-tmfifo.c hdr_len = sizeof(struct virtio_net_hdr); hdr_len 633 drivers/platform/mellanox/mlxbf-tmfifo.c hdr_len = 0; hdr_len 649 drivers/platform/mellanox/mlxbf-tmfifo.c vring->pkt_len = ntohs(hdr.len) + hdr_len; hdr_len 652 drivers/platform/mellanox/mlxbf-tmfifo.c hdr_len = (vring->vdev_id == VIRTIO_ID_NET) ? hdr_len 657 drivers/platform/mellanox/mlxbf-tmfifo.c hdr.len = htons(vring->pkt_len - hdr_len); hdr_len 661 drivers/platform/mellanox/mlxbf-tmfifo.c vring->cur_len = hdr_len; hdr_len 333 drivers/s390/net/qeth_core.h __u16 hdr_len; hdr_len 3639 drivers/s390/net/qeth_core_main.c unsigned int hdr_len, unsigned int proto_len, hdr_len 3650 drivers/s390/net/qeth_core_main.c start = (addr_t)skb->data - hdr_len; hdr_len 3694 drivers/s390/net/qeth_core_main.c *hdr = skb_push(skb, hdr_len); hdr_len 3695 drivers/s390/net/qeth_core_main.c return hdr_len; hdr_len 3698 drivers/s390/net/qeth_core_main.c if (hdr_len + proto_len > QETH_HDR_CACHE_OBJ_SIZE) hdr_len 3704 drivers/s390/net/qeth_core_main.c skb_copy_from_linear_data(skb, ((char *)*hdr) + hdr_len, proto_len); hdr_len 4011 drivers/s390/net/qeth_core_main.c ext->hdr_len = 28; hdr_len 1473 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_entry[cri].wq.hdr_len = 0; hdr_len 1628 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_entry[cri].wq.hdr_len, hdr_len 1655 drivers/scsi/be2iscsi/be_main.c if (wq->hdr_len) { hdr_len 1665 drivers/scsi/be2iscsi/be_main.c wq->hdr_len = pasync_handle->buffer_len; hdr_len 1674 drivers/scsi/be2iscsi/be_main.c if (!wq->hdr_len || !wq->bytes_needed) { hdr_len 1696 drivers/scsi/be2iscsi/be_main.c wq->hdr_len, wq->bytes_needed, hdr_len 568 drivers/scsi/be2iscsi/be_main.h unsigned short hdr_len; hdr_len 130 drivers/scsi/bnx2fc/bnx2fc_els.c u32 resp_len, hdr_len; hdr_len 164 drivers/scsi/bnx2fc/bnx2fc_els.c hdr_len = sizeof(*fc_hdr); hdr_len 165 drivers/scsi/bnx2fc/bnx2fc_els.c if (hdr_len + resp_len > PAGE_SIZE) { hdr_len 170 drivers/scsi/bnx2fc/bnx2fc_els.c memcpy(buf, fc_hdr, hdr_len); hdr_len 171 drivers/scsi/bnx2fc/bnx2fc_els.c memcpy(buf + hdr_len, resp_buf, resp_len); hdr_len 172 drivers/scsi/bnx2fc/bnx2fc_els.c frame_len = hdr_len + resp_len; hdr_len 274 drivers/scsi/bnx2fc/bnx2fc_els.c u32 resp_len, hdr_len; hdr_len 329 drivers/scsi/bnx2fc/bnx2fc_els.c hdr_len = sizeof(*fc_hdr); hdr_len 335 drivers/scsi/bnx2fc/bnx2fc_els.c memcpy(buf, fc_hdr, hdr_len); hdr_len 336 drivers/scsi/bnx2fc/bnx2fc_els.c memcpy(buf + hdr_len, resp_buf, resp_len); hdr_len 346 drivers/scsi/bnx2fc/bnx2fc_els.c memcpy(fh, buf, hdr_len + resp_len); hdr_len 393 drivers/scsi/bnx2fc/bnx2fc_els.c u32 resp_len, hdr_len; hdr_len 453 drivers/scsi/bnx2fc/bnx2fc_els.c hdr_len = sizeof(*fc_hdr); hdr_len 460 drivers/scsi/bnx2fc/bnx2fc_els.c memcpy(buf, fc_hdr, hdr_len); hdr_len 461 drivers/scsi/bnx2fc/bnx2fc_els.c memcpy(buf + hdr_len, resp_buf, resp_len); hdr_len 471 drivers/scsi/bnx2fc/bnx2fc_els.c memcpy(fh, buf, hdr_len + resp_len); hdr_len 750 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c unsigned int hdr_len, data_len, status; hdr_len 776 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c len = hdr_len = ntohs(hdr_cpl->len); hdr_len 778 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c if (skb->len <= hdr_len) { hdr_len 781 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c skb->len, hdr_len); hdr_len 811 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c if (skb->len > (hdr_len + sizeof(ddp_cpl))) { hdr_len 812 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c err = skb_copy_bits(skb, hdr_len, &data_cpl, sizeof(data_cpl)); hdr_len 1974 drivers/scsi/cxgbi/libcxgbi.c skb_put(skb, task->hdr_len); hdr_len 2005 drivers/scsi/cxgbi/libcxgbi.c char *dst = skb->data + task->hdr_len; hdr_len 512 drivers/scsi/iscsi_tcp.c iscsi_sw_tcp_send_hdr_prep(conn, task->hdr, task->hdr_len); hdr_len 140 drivers/scsi/libiscsi.c task->hdr_len = sizeof(struct iscsi_data); hdr_len 166 drivers/scsi/libiscsi.c unsigned exp_len = task->hdr_len + len; hdr_len 174 drivers/scsi/libiscsi.c task->hdr_len = exp_len; hdr_len 214 drivers/scsi/libiscsi.c task->hdr_len); hdr_len 335 drivers/scsi/libiscsi.c task->hdr_len = 0; hdr_len 413 drivers/scsi/libiscsi.c hdrlength = task->hdr_len - sizeof(*hdr); hdr_len 730 drivers/scsi/libiscsi.c task->hdr_len = sizeof(struct iscsi_hdr); hdr_len 3325 drivers/scsi/qla4xxx/ql4_os.c int hdr_len; hdr_len 3332 drivers/scsi/qla4xxx/ql4_os.c hdr_len = sizeof(struct iscsi_hdr); hdr_len 3347 drivers/scsi/qla4xxx/ql4_os.c data = task_data->resp_buffer + hdr_len; hdr_len 3348 drivers/scsi/qla4xxx/ql4_os.c data_len = task_data->resp_len - hdr_len; hdr_len 3365 drivers/scsi/qla4xxx/ql4_os.c int hdr_len; hdr_len 3379 drivers/scsi/qla4xxx/ql4_os.c hdr_len = sizeof(struct iscsi_hdr); hdr_len 3390 drivers/scsi/qla4xxx/ql4_os.c __func__, task->conn->max_recv_dlength, hdr_len)); hdr_len 3392 drivers/scsi/qla4xxx/ql4_os.c task_data->resp_len = task->conn->max_recv_dlength + hdr_len; hdr_len 3400 drivers/scsi/qla4xxx/ql4_os.c task_data->req_len = task->data_count + hdr_len; hdr_len 3431 drivers/scsi/qla4xxx/ql4_os.c int hdr_len; hdr_len 3433 drivers/scsi/qla4xxx/ql4_os.c hdr_len = sizeof(struct iscsi_hdr); hdr_len 3445 drivers/scsi/qla4xxx/ql4_os.c __func__, task->conn->max_recv_dlength, hdr_len)); hdr_len 1217 drivers/staging/qlge/qlge.h __le32 hdr_len; /* */ hdr_len 2001 drivers/staging/qlge/qlge_dbg.c le32_to_cpu(ib_mac_rsp->hdr_len)); hdr_len 1766 drivers/staging/qlge/qlge_main.c u32 hdr_len = le32_to_cpu(ib_mac_rsp->hdr_len); hdr_len 1775 drivers/staging/qlge/qlge_main.c "Header of %d bytes in small buffer.\n", hdr_len); hdr_len 1785 drivers/staging/qlge/qlge_main.c ql_realign_skb(skb, hdr_len); hdr_len 1786 drivers/staging/qlge/qlge_main.c skb_put(skb, hdr_len); hdr_len 23 drivers/staging/rtl8188eu/os_dep/mon.c int hdr_len; hdr_len 26 drivers/staging/rtl8188eu/os_dep/mon.c hdr_len = ieee80211_hdrlen(hdr->frame_control); hdr_len 28 drivers/staging/rtl8188eu/os_dep/mon.c if (skb->len < hdr_len + iv_len + icv_len) hdr_len 35 drivers/staging/rtl8188eu/os_dep/mon.c memmove(skb->data + iv_len, skb->data, hdr_len); hdr_len 1939 drivers/staging/rtl8192e/rtllib.h int hdr_len); hdr_len 153 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c static int rtllib_ccmp_encrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 163 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c skb->len < hdr_len) hdr_len 167 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c memmove(pos, pos + CCMP_HDR_LEN, hdr_len); hdr_len 168 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c pos += hdr_len; hdr_len 194 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c int data_len = skb->len - hdr_len - CCMP_HDR_LEN; hdr_len 205 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, hdr_len 222 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c static int rtllib_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 231 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { hdr_len 237 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c pos = skb->data + hdr_len; hdr_len 273 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; hdr_len 309 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); hdr_len 281 drivers/staging/rtl8192e/rtllib_crypt_tkip.c static int rtllib_tkip_encrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 295 drivers/staging/rtl8192e/rtllib_crypt_tkip.c skb->len < hdr_len) hdr_len 312 drivers/staging/rtl8192e/rtllib_crypt_tkip.c len = skb->len - hdr_len; hdr_len 314 drivers/staging/rtl8192e/rtllib_crypt_tkip.c memmove(pos, pos + 8, hdr_len); hdr_len 315 drivers/staging/rtl8192e/rtllib_crypt_tkip.c pos += hdr_len; hdr_len 367 drivers/staging/rtl8192e/rtllib_crypt_tkip.c static int rtllib_tkip_decrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 383 drivers/staging/rtl8192e/rtllib_crypt_tkip.c if (skb->len < hdr_len + 8 + 4) hdr_len 387 drivers/staging/rtl8192e/rtllib_crypt_tkip.c pos = skb->data + hdr_len; hdr_len 440 drivers/staging/rtl8192e/rtllib_crypt_tkip.c plen = skb->len - hdr_len - 12; hdr_len 491 drivers/staging/rtl8192e/rtllib_crypt_tkip.c memmove(skb->data + 8, skb->data, hdr_len); hdr_len 557 drivers/staging/rtl8192e/rtllib_crypt_tkip.c static int rtllib_michael_mic_add(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 565 drivers/staging/rtl8192e/rtllib_crypt_tkip.c if (skb_tailroom(skb) < 8 || skb->len < hdr_len) { hdr_len 568 drivers/staging/rtl8192e/rtllib_crypt_tkip.c skb_tailroom(skb), hdr_len, skb->len); hdr_len 575 drivers/staging/rtl8192e/rtllib_crypt_tkip.c tkey->tx_hdr[12] = *(skb->data + hdr_len - 2) & 0x07; hdr_len 578 drivers/staging/rtl8192e/rtllib_crypt_tkip.c skb->data + hdr_len, skb->len - 8 - hdr_len, pos)) hdr_len 607 drivers/staging/rtl8192e/rtllib_crypt_tkip.c int hdr_len, void *priv) hdr_len 620 drivers/staging/rtl8192e/rtllib_crypt_tkip.c tkey->rx_hdr[12] = *(skb->data + hdr_len - 2) & 0x07; hdr_len 623 drivers/staging/rtl8192e/rtllib_crypt_tkip.c skb->data + hdr_len, skb->len - 8 - hdr_len, mic)) hdr_len 85 drivers/staging/rtl8192e/rtllib_crypt_wep.c static int prism2_wep_encrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 99 drivers/staging/rtl8192e/rtllib_crypt_wep.c skb->len < hdr_len){ hdr_len 101 drivers/staging/rtl8192e/rtllib_crypt_wep.c skb_headroom(skb), skb_tailroom(skb), skb->len, hdr_len); hdr_len 104 drivers/staging/rtl8192e/rtllib_crypt_wep.c len = skb->len - hdr_len; hdr_len 106 drivers/staging/rtl8192e/rtllib_crypt_wep.c memmove(pos, pos + 4, hdr_len); hdr_len 107 drivers/staging/rtl8192e/rtllib_crypt_wep.c pos += hdr_len; hdr_len 165 drivers/staging/rtl8192e/rtllib_crypt_wep.c static int prism2_wep_decrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 178 drivers/staging/rtl8192e/rtllib_crypt_wep.c if (skb->len < hdr_len + 8) hdr_len 181 drivers/staging/rtl8192e/rtllib_crypt_wep.c pos = skb->data + hdr_len; hdr_len 195 drivers/staging/rtl8192e/rtllib_crypt_wep.c plen = skb->len - hdr_len - 8; hdr_len 220 drivers/staging/rtl8192e/rtllib_crypt_wep.c memmove(skb->data + 4, skb->data, hdr_len); hdr_len 158 drivers/staging/rtl8192e/rtllib_tx.c int hdr_len) hdr_len 180 drivers/staging/rtl8192e/rtllib_tx.c res = crypt->ops->encrypt_msdu(frag, hdr_len, crypt->priv); hdr_len 182 drivers/staging/rtl8192e/rtllib_tx.c res = crypt->ops->encrypt_mpdu(frag, hdr_len, crypt->priv); hdr_len 558 drivers/staging/rtl8192e/rtllib_tx.c int bytes, fc, qos_ctl = 0, hdr_len; hdr_len 715 drivers/staging/rtl8192e/rtllib_tx.c hdr_len = RTLLIB_3ADDR_LEN + 2; hdr_len 731 drivers/staging/rtl8192e/rtllib_tx.c hdr_len = RTLLIB_3ADDR_LEN; hdr_len 738 drivers/staging/rtl8192e/rtllib_tx.c bytes_per_frag = frag_size - hdr_len; hdr_len 804 drivers/staging/rtl8192e/rtllib_tx.c frag_hdr = skb_put_data(skb_frag, &header, hdr_len); hdr_len 847 drivers/staging/rtl8192e/rtllib_tx.c hdr_len); hdr_len 2179 drivers/staging/rtl8192u/ieee80211/ieee80211.h struct sk_buff *frag, int hdr_len); hdr_len 42 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h int (*encrypt_mpdu)(struct sk_buff *skb, int hdr_len, void *priv); hdr_len 43 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h int (*decrypt_mpdu)(struct sk_buff *skb, int hdr_len, void *priv); hdr_len 48 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h int (*encrypt_msdu)(struct sk_buff *skb, int hdr_len, void *priv); hdr_len 49 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h int (*decrypt_msdu)(struct sk_buff *skb, int keyidx, int hdr_len, hdr_len 159 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c static int ieee80211_ccmp_encrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 169 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c skb->len < hdr_len) hdr_len 173 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c memmove(pos, pos + CCMP_HDR_LEN, hdr_len); hdr_len 174 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c pos += hdr_len; hdr_len 201 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; hdr_len 213 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, hdr_len 228 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c static int ieee80211_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 236 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { hdr_len 242 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c pos = skb->data + hdr_len; hdr_len 288 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; hdr_len 319 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); hdr_len 286 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c static int ieee80211_tkip_encrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 299 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c skb->len < hdr_len) hdr_len 315 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c len = skb->len - hdr_len; hdr_len 317 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c memmove(pos, pos + 8, hdr_len); hdr_len 318 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c pos += hdr_len; hdr_len 368 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c static int ieee80211_tkip_decrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 383 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c if (skb->len < hdr_len + 8 + 4) hdr_len 387 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c pos = skb->data + hdr_len; hdr_len 435 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c plen = skb->len - hdr_len - 12; hdr_len 488 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c memmove(skb->data + 8, skb->data, hdr_len); hdr_len 553 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c static int ieee80211_michael_mic_add(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 561 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c if (skb_tailroom(skb) < 8 || skb->len < hdr_len) { hdr_len 564 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c skb_tailroom(skb), hdr_len, skb->len); hdr_len 573 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c tkey->tx_hdr[12] = *(skb->data + hdr_len - 2) & 0x07; hdr_len 578 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c skb->data + hdr_len, skb->len - 8 - hdr_len, pos)) hdr_len 606 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c int hdr_len, void *priv) hdr_len 621 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c tkey->rx_hdr[12] = *(skb->data + hdr_len - 2) & 0x07; hdr_len 625 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c skb->data + hdr_len, skb->len - 8 - hdr_len, mic)) hdr_len 81 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c static int prism2_wep_encrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 94 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c skb->len < hdr_len) hdr_len 97 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c len = skb->len - hdr_len; hdr_len 99 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c memmove(pos, pos + 4, hdr_len); hdr_len 100 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c pos += hdr_len; hdr_len 160 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c static int prism2_wep_decrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 172 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c if (skb->len < hdr_len + 8) hdr_len 175 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c pos = skb->data + hdr_len; hdr_len 189 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c plen = skb->len - hdr_len - 8; hdr_len 217 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c memmove(skb->data + 4, skb->data, hdr_len); hdr_len 167 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c int hdr_len) hdr_len 201 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c res = crypt->ops->encrypt_msdu(frag, hdr_len, crypt->priv); hdr_len 203 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c res = crypt->ops->encrypt_mpdu(frag, hdr_len, crypt->priv); hdr_len 539 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c int bytes, fc, qos_ctl = 0, hdr_len; hdr_len 649 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c hdr_len = IEEE80211_3ADDR_LEN + 2; hdr_len 655 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c hdr_len = IEEE80211_3ADDR_LEN; hdr_len 662 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c bytes_per_frag = frag_size - hdr_len; hdr_len 724 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c frag_hdr = skb_put_data(skb_frag, &header, hdr_len); hdr_len 763 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c ieee80211_encrypt_fragment(ieee, skb_frag, hdr_len); hdr_len 1188 drivers/target/iscsi/cxgbit/cxgbit_cm.c hlen = ntohl(req->hdr_len); hdr_len 32 drivers/target/iscsi/cxgbit/cxgbit_target.c static const u32 hdr_len = TX_HDR_LEN + ISCSI_HDR_LEN; hdr_len 35 drivers/target/iscsi/cxgbit/cxgbit_target.c skb = alloc_skb_with_frags(hdr_len, len, hdr_len 51 drivers/target/iscsi/cxgbit/cxgbit_target.c skb = alloc_skb(hdr_len + iso_len, GFP_KERNEL); hdr_len 728 drivers/vhost/net.c vhost16_to_cpu(vq, gso->hdr_len)) { hdr_len 729 drivers/vhost/net.c gso->hdr_len = cpu_to_vhost16(vq, hdr_len 733 drivers/vhost/net.c if (vhost16_to_cpu(vq, gso->hdr_len) > len) hdr_len 1631 drivers/vhost/net.c size_t vhost_hlen, sock_hlen, hdr_len; hdr_len 1634 drivers/vhost/net.c hdr_len = (features & ((1ULL << VIRTIO_NET_F_MRG_RXBUF) | hdr_len 1640 drivers/vhost/net.c vhost_hlen = hdr_len; hdr_len 1645 drivers/vhost/net.c sock_hlen = hdr_len; hdr_len 288 include/linux/psp-sev.h u32 hdr_len; /* In */ hdr_len 351 include/linux/psp-sev.h u32 hdr_len; /* In/Out */ hdr_len 374 include/linux/psp-sev.h u32 hdr_len; /* In/Out */ hdr_len 426 include/linux/psp-sev.h u32 hdr_len; /* In */ hdr_len 450 include/linux/psp-sev.h u32 hdr_len; /* In */ hdr_len 736 include/linux/skbuff.h hdr_len; hdr_len 3103 include/linux/skbuff.h skb_headroom(skb) + len <= skb->hdr_len; hdr_len 13 include/linux/soc/qcom/apr.h #define APR_HDR_LEN(hdr_len) ((hdr_len)/4) hdr_len 22 include/linux/soc/qcom/apr.h #define APR_HDR_FIELD(msg_type, hdr_len, ver)\ hdr_len 23 include/linux/soc/qcom/apr.h (((msg_type & 0x3) << 8) | ((hdr_len & 0xF) << 4) | (ver & 0xF)) hdr_len 67 include/linux/ti_wilink_st.h unsigned char hdr_len; hdr_len 140 include/linux/virtio_net.h hdr->hdr_len = __cpu_to_virtio16(little_endian, hdr_len 624 include/net/bluetooth/l2cap.h unsigned long hdr_len, hdr_len 875 include/net/bluetooth/l2cap.h unsigned long hdr_len, hdr_len 275 include/net/caif/caif_layer.h unsigned short hdr_len; hdr_len 120 include/net/gre.h static inline void gre_build_header(struct sk_buff *skb, int hdr_len, hdr_len 126 include/net/gre.h skb_push(skb, hdr_len); hdr_len 135 include/net/gre.h __be32 *ptr = (__be32 *)(((u8 *)greh) + hdr_len - 4); hdr_len 152 include/net/ip_tunnels.h int hdr_len; hdr_len 405 include/net/ip_tunnels.h int __iptunnel_pull_header(struct sk_buff *skb, int hdr_len, hdr_len 408 include/net/ip_tunnels.h static inline int iptunnel_pull_header(struct sk_buff *skb, int hdr_len, hdr_len 411 include/net/ip_tunnels.h return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); hdr_len 62 include/net/lib80211.h int (*encrypt_mpdu) (struct sk_buff * skb, int hdr_len, void *priv); hdr_len 63 include/net/lib80211.h int (*decrypt_mpdu) (struct sk_buff * skb, int hdr_len, void *priv); hdr_len 67 include/net/lib80211.h int (*encrypt_msdu) (struct sk_buff * skb, int hdr_len, void *priv); hdr_len 68 include/net/lib80211.h int (*decrypt_msdu) (struct sk_buff * skb, int keyidx, int hdr_len, hdr_len 124 include/net/lwtunnel.h struct lwtunnel_state *lwtunnel_state_alloc(int hdr_len); hdr_len 233 include/net/lwtunnel.h static inline struct lwtunnel_state *lwtunnel_state_alloc(int hdr_len) hdr_len 1831 include/net/mac80211.h u8 hdr_len; hdr_len 37 include/net/sock_reuseport.h int hdr_len); hdr_len 495 include/rdma/ib_mad.h int hdr_len; hdr_len 887 include/rdma/ib_mad.h int hdr_len, int data_len, hdr_len 240 include/rdma/ib_pack.h u8 hdr_len; hdr_len 104 include/scsi/libiscsi.h unsigned short hdr_len; /* accumulated size of hdr used */ hdr_len 142 include/scsi/libiscsi.h return (void*)task->hdr + task->hdr_len; hdr_len 65 include/trace/events/ib_mad.h __entry->length = wr->send_buf.hdr_len + hdr_len 15 include/uapi/linux/btf.h __u32 hdr_len; hdr_len 1520 include/uapi/linux/kvm.h __u32 hdr_len; hdr_len 55 include/uapi/linux/netfilter_ipv6/ip6t_srh.h __u8 hdr_len; hdr_len 82 include/uapi/linux/netfilter_ipv6/ip6t_srh.h __u8 hdr_len; hdr_len 114 include/uapi/linux/virtio_net.h __virtio16 hdr_len; /* Ethernet + IP + tcp/udp hdrs */ hdr_len 131 include/uapi/linux/virtio_net.h __virtio16 hdr_len; /* Ethernet + IP + tcp/udp hdrs */ hdr_len 809 kernel/bpf/btf.c __btf_verifier_log(log, "hdr_len: %u\n", hdr->hdr_len); hdr_len 3184 kernel/bpf/btf.c expected_total = btf_data_size - hdr->hdr_len; hdr_len 3218 kernel/bpf/btf.c u32 hdr_len, hdr_copy, btf_data_size; hdr_len 3227 kernel/bpf/btf.c offsetof(struct btf_header, hdr_len) + sizeof(hdr->hdr_len)) { hdr_len 3233 kernel/bpf/btf.c hdr_len = hdr->hdr_len; hdr_len 3234 kernel/bpf/btf.c if (btf_data_size < hdr_len) { hdr_len 3240 kernel/bpf/btf.c if (hdr_len > sizeof(btf->hdr)) { hdr_len 3242 kernel/bpf/btf.c u8 *end = btf->data + hdr_len; hdr_len 3252 kernel/bpf/btf.c hdr_copy = min_t(u32, hdr_len, sizeof(btf->hdr)); hdr_len 3274 kernel/bpf/btf.c if (btf_data_size == hdr->hdr_len) { hdr_len 3344 kernel/bpf/btf.c btf->nohdr_data = btf->data + btf->hdr.hdr_len; hdr_len 37 net/802/fc.c int hdr_len; hdr_len 47 net/802/fc.c hdr_len = sizeof(struct fch_hdr) + sizeof(struct fcllc); hdr_len 48 net/802/fc.c fch = skb_push(skb, hdr_len); hdr_len 57 net/802/fc.c hdr_len = sizeof(struct fch_hdr); hdr_len 58 net/802/fc.c fch = skb_push(skb, hdr_len); hdr_len 69 net/802/fc.c return hdr_len; hdr_len 71 net/802/fc.c return -hdr_len; hdr_len 682 net/batman-adv/routing.c int res, hdr_len, ret = NET_RX_DROP; hdr_len 710 net/batman-adv/routing.c hdr_len = sizeof(struct batadv_unicast_4addr_packet); hdr_len 713 net/batman-adv/routing.c hdr_len = sizeof(struct batadv_unicast_packet); hdr_len 717 net/batman-adv/routing.c hdr_len = -1; hdr_len 721 net/batman-adv/routing.c if (hdr_len > 0) hdr_len 722 net/batman-adv/routing.c batadv_skb_set_priority(skb, hdr_len); hdr_len 807 net/batman-adv/routing.c struct sk_buff *skb, int hdr_len) hdr_len 818 net/batman-adv/routing.c if (!pskb_may_pull(skb, hdr_len + ETH_HLEN)) hdr_len 826 net/batman-adv/routing.c vid = batadv_get_vid(skb, hdr_len); hdr_len 827 net/batman-adv/routing.c ethhdr = (struct ethhdr *)(skb->data + hdr_len); hdr_len 595 net/batman-adv/tvlv.c ssize_t hdr_len = sizeof(*unicast_tvlv_packet); hdr_len 603 net/batman-adv/tvlv.c skb = netdev_alloc_skb_ip_align(NULL, ETH_HLEN + hdr_len + tvlv_len); hdr_len 846 net/bluetooth/6lowpan.c unsigned long hdr_len, hdr_len 853 net/bluetooth/6lowpan.c return bt_skb_alloc(hdr_len + len, GFP_ATOMIC); hdr_len 722 net/bluetooth/a2mp.c unsigned long hdr_len, hdr_len 727 net/bluetooth/a2mp.c skb = bt_skb_alloc(hdr_len + len, GFP_KERNEL); hdr_len 1379 net/bluetooth/l2cap_sock.c unsigned long hdr_len, hdr_len 1387 net/bluetooth/l2cap_sock.c skb = bt_skb_send_alloc(sk, hdr_len + len, nb, &err); hdr_len 3134 net/bluetooth/smp.c unsigned long hdr_len, hdr_len 3139 net/bluetooth/smp.c skb = bt_skb_alloc(hdr_len + len, GFP_KERNEL); hdr_len 62 net/caif/caif_usb.c hpad = (info->hdr_len + CFUSB_PAD_DESCR_SZ) & (CFUSB_ALIGNMENT - 1); hdr_len 171 net/caif/cfctrl.c info->hdr_len = 0; hdr_len 110 net/caif/cfdgml.c info->hdr_len = 4; hdr_len 154 net/caif/cffrml.c cfpkt_info(pkt)->hdr_len += 2; hdr_len 231 net/caif/cfmuxl.c info->hdr_len += 1; hdr_len 207 net/caif/cfrfml.c cfpkt_info(pkt)->hdr_len = RFM_HEAD_SIZE; hdr_len 123 net/caif/cfsrvl.c info->hdr_len = 1; hdr_len 144 net/caif/cfsrvl.c info->hdr_len = 1; hdr_len 101 net/caif/cfutill.c info->hdr_len = 1; hdr_len 95 net/caif/cfveil.c info->hdr_len = 1; hdr_len 3347 net/core/dev.c unsigned int hdr_len; hdr_len 3351 net/core/dev.c hdr_len = skb_transport_header(skb) - skb_mac_header(skb); hdr_len 3361 net/core/dev.c hdr_len += __tcp_hdrlen(th); hdr_len 3367 net/core/dev.c hdr_len += sizeof(struct udphdr); hdr_len 3371 net/core/dev.c gso_segs = DIV_ROUND_UP(skb->len - hdr_len, hdr_len 3374 net/core/dev.c qdisc_skb_cb(skb)->pkt_len += (gso_segs - 1) * hdr_len; hdr_len 992 net/core/skbuff.c n->hdr_len = skb->nohdr ? skb_headroom(skb) : skb->hdr_len; hdr_len 1677 net/core/skbuff.c skb->hdr_len = 0; hdr_len 5187 net/core/skbuff.c unsigned int hdr_len = skb_transport_header(skb) - hdr_len 5190 net/core/skbuff.c return hdr_len + skb_gso_transport_seglen(skb); hdr_len 5204 net/core/skbuff.c unsigned int hdr_len = skb_transport_header(skb) - skb_mac_header(skb); hdr_len 5206 net/core/skbuff.c return hdr_len + skb_gso_transport_seglen(skb); hdr_len 5763 net/core/skbuff.c skb->hdr_len = 0; hdr_len 5902 net/core/skbuff.c skb->hdr_len = 0; hdr_len 227 net/core/sock_reuseport.c int hdr_len) hdr_len 240 net/core/sock_reuseport.c if (!pskb_pull(skb, hdr_len)) { hdr_len 245 net/core/sock_reuseport.c __skb_push(skb, hdr_len); hdr_len 268 net/core/sock_reuseport.c int hdr_len) hdr_len 294 net/core/sock_reuseport.c sk2 = run_bpf_filter(reuse, socks, prog, skb, hdr_len); hdr_len 20 net/core/tso.c int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 23 net/core/tso.c memcpy(hdr, skb->data, hdr_len); hdr_len 28 net/core/tso.c iph->tot_len = htons(size + hdr_len - mac_hdr_len); hdr_len 67 net/core/tso.c int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); hdr_len 75 net/core/tso.c tso->size = skb_headlen(skb) - hdr_len; hdr_len 76 net/core/tso.c tso->data = skb->data + hdr_len; hdr_len 67 net/ipv4/gre_demux.c int hdr_len; hdr_len 77 net/ipv4/gre_demux.c hdr_len = gre_calc_hlen(tpi->flags); hdr_len 79 net/ipv4/gre_demux.c if (!pskb_may_pull(skb, nhs + hdr_len)) hdr_len 117 net/ipv4/gre_demux.c val = skb_header_pointer(skb, nhs + hdr_len, hdr_len 123 net/ipv4/gre_demux.c hdr_len += 4; hdr_len 125 net/ipv4/gre_demux.c tpi->hdr_len = hdr_len; hdr_len 135 net/ipv4/gre_demux.c if (!pskb_may_pull(skb, nhs + hdr_len + sizeof(*ershdr))) hdr_len 138 net/ipv4/gre_demux.c ershdr = (struct erspan_base_hdr *)(skb->data + nhs + hdr_len); hdr_len 142 net/ipv4/gre_demux.c return hdr_len; hdr_len 191 net/ipv4/ip_gre.c !ip6_err_gen_icmpv6_unreach(skb, iph->ihl * 4 + tpi->hdr_len, hdr_len 332 net/ipv4/ip_gre.c struct ip_tunnel_net *itn, int hdr_len, bool raw_proto) hdr_len 343 net/ipv4/ip_gre.c if (__iptunnel_pull_header(skb, hdr_len, tpi->proto, hdr_len 373 net/ipv4/ip_gre.c int hdr_len) hdr_len 384 net/ipv4/ip_gre.c res = __ipgre_rcv(skb, tpi, itn, hdr_len, false); hdr_len 390 net/ipv4/ip_gre.c res = __ipgre_rcv(skb, tpi, itn, hdr_len, true); hdr_len 399 net/ipv4/ip_gre.c int hdr_len; hdr_len 409 net/ipv4/ip_gre.c hdr_len = gre_parse_header(skb, &tpi, &csum_err, htons(ETH_P_IP), 0); hdr_len 410 net/ipv4/ip_gre.c if (hdr_len < 0) hdr_len 415 net/ipv4/ip_gre.c if (erspan_rcv(skb, &tpi, hdr_len) == PACKET_RCVD) hdr_len 420 net/ipv4/ip_gre.c if (ipgre_rcv(skb, &tpi, hdr_len) == PACKET_RCVD) hdr_len 88 net/ipv4/ip_tunnel_core.c int __iptunnel_pull_header(struct sk_buff *skb, int hdr_len, hdr_len 91 net/ipv4/ip_tunnel_core.c if (unlikely(!pskb_may_pull(skb, hdr_len))) hdr_len 94 net/ipv4/ip_tunnel_core.c skb_pull_rcsum(skb, hdr_len); hdr_len 466 net/ipv6/ah6.c int hdr_len = skb_network_header_len(skb); hdr_len 473 net/ipv6/ah6.c auth_data = ah_tmp_auth(work_iph, hdr_len); hdr_len 483 net/ipv6/ah6.c memcpy(skb_network_header(skb), work_iph, hdr_len); hdr_len 484 net/ipv6/ah6.c __skb_pull(skb, ah_hlen + hdr_len); hdr_len 488 net/ipv6/ah6.c skb_set_transport_header(skb, -hdr_len); hdr_len 523 net/ipv6/ah6.c u16 hdr_len; hdr_len 543 net/ipv6/ah6.c hdr_len = skb_network_header_len(skb); hdr_len 566 net/ipv6/ah6.c skb_push(skb, hdr_len); hdr_len 573 net/ipv6/ah6.c work_iph = ah_alloc_tmp(ahash, nfrags + sglists, hdr_len + hdr_len 580 net/ipv6/ah6.c auth_data = ah_tmp_auth((u8 *)work_iph, hdr_len); hdr_len 587 net/ipv6/ah6.c memcpy(work_iph, ip6h, hdr_len); hdr_len 591 net/ipv6/ah6.c if (ipv6_clear_mutable_options(ip6h, hdr_len, XFRM_POLICY_IN)) hdr_len 629 net/ipv6/ah6.c memcpy(skb_network_header(skb), work_iph, hdr_len); hdr_len 630 net/ipv6/ah6.c __skb_pull(skb, ah_hlen + hdr_len); hdr_len 635 net/ipv6/ah6.c skb_set_transport_header(skb, -hdr_len); hdr_len 524 net/ipv6/esp6.c int hdr_len = skb_network_header_len(skb); hdr_len 542 net/ipv6/esp6.c skb_set_transport_header(skb, -hdr_len); hdr_len 600 net/ipv6/ip6_gre.c int hdr_len; hdr_len 602 net/ipv6/ip6_gre.c hdr_len = gre_parse_header(skb, &tpi, &csum_err, htons(ETH_P_IPV6), 0); hdr_len 603 net/ipv6/ip6_gre.c if (hdr_len < 0) hdr_len 606 net/ipv6/ip6_gre.c if (iptunnel_pull_header(skb, hdr_len, tpi.proto, false)) hdr_len 611 net/ipv6/ip6_gre.c if (ip6erspan_rcv(skb, &tpi, hdr_len) == PACKET_RCVD) hdr_len 56 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen == srhinfo->hdr_len))) hdr_len 61 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen > srhinfo->hdr_len))) hdr_len 66 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen < srhinfo->hdr_len))) hdr_len 150 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen == srhinfo->hdr_len))) hdr_len 154 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen > srhinfo->hdr_len))) hdr_len 158 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen < srhinfo->hdr_len))) hdr_len 1055 net/l2tp/l2tp_core.c int l2tp_xmit_skb(struct l2tp_session *session, struct sk_buff *skb, int hdr_len) hdr_len 1073 net/l2tp/l2tp_core.c uhlen + hdr_len; hdr_len 1080 net/l2tp/l2tp_core.c session->build_header(session, __skb_push(skb, hdr_len)); hdr_len 1118 net/l2tp/l2tp_core.c udp_len = uhlen + hdr_len + data_len; hdr_len 1635 net/l2tp/l2tp_core.c session->hdr_len = 6; hdr_len 1637 net/l2tp/l2tp_core.c session->hdr_len += 4; hdr_len 1639 net/l2tp/l2tp_core.c session->hdr_len = 4 + session->cookie_len; hdr_len 1640 net/l2tp/l2tp_core.c session->hdr_len += l2tp_get_l2specific_len(session); hdr_len 1642 net/l2tp/l2tp_core.c session->hdr_len += 4; hdr_len 85 net/l2tp/l2tp_core.h u16 hdr_len; hdr_len 228 net/l2tp/l2tp_core.h int hdr_len); hdr_len 80 net/l2tp/l2tp_eth.c int ret = l2tp_xmit_skb(session, skb, session->hdr_len); hdr_len 246 net/l2tp/l2tp_eth.c overhead += session->hdr_len + ETH_HLEN + l3_overhead; hdr_len 254 net/l2tp/l2tp_eth.c dev->needed_headroom += session->hdr_len; hdr_len 299 net/l2tp/l2tp_ppp.c uhlen + session->hdr_len + hdr_len 325 net/l2tp/l2tp_ppp.c l2tp_xmit_skb(session, skb, session->hdr_len); hdr_len 373 net/l2tp/l2tp_ppp.c session->hdr_len + /* L2TP header */ hdr_len 384 net/l2tp/l2tp_ppp.c l2tp_xmit_skb(session, skb, session->hdr_len); hdr_len 650 net/mac80211/key.c key->conf.iv_len = cs->hdr_len; hdr_len 738 net/mac80211/mesh.c int hdr_len = offsetofend(struct ieee80211_mgmt, u.beacon); hdr_len 748 net/mac80211/mesh.c head_len = hdr_len + hdr_len 785 net/mac80211/mesh.c mgmt = skb_put_zero(skb, hdr_len); hdr_len 816 net/mac80211/mesh.c bcn->csa_counter_offsets[0] = hdr_len + 6; hdr_len 112 net/mac80211/mesh_hwmp.c int hdr_len = offsetofend(struct ieee80211_mgmt, hdr_len 116 net/mac80211/mesh_hwmp.c hdr_len + hdr_len 121 net/mac80211/mesh_hwmp.c mgmt = skb_put_zero(skb, hdr_len); hdr_len 243 net/mac80211/mesh_hwmp.c int hdr_len = offsetofend(struct ieee80211_mgmt, hdr_len 252 net/mac80211/mesh_hwmp.c hdr_len + hdr_len 257 net/mac80211/mesh_hwmp.c mgmt = skb_put_zero(skb, hdr_len); hdr_len 222 net/mac80211/mesh_plink.c int hdr_len = offsetofend(struct ieee80211_mgmt, u.action.u.self_prot); hdr_len 228 net/mac80211/mesh_plink.c hdr_len + hdr_len 247 net/mac80211/mesh_plink.c mgmt = skb_put_zero(skb, hdr_len); hdr_len 1020 net/mac80211/rx.c minlen = hdrlen + cs->hdr_len; hdr_len 309 net/mac80211/sta_info.h u8 hdr_len; hdr_len 2940 net/mac80211/tx.c build.hdr_len = 24; hdr_len 2948 net/mac80211/tx.c build.hdr_len = 24; hdr_len 2961 net/mac80211/tx.c build.hdr_len = 30; hdr_len 2969 net/mac80211/tx.c build.hdr_len = 24; hdr_len 2980 net/mac80211/tx.c build.hdr_len = 30; hdr_len 2990 net/mac80211/tx.c build.hdr_len = 24; hdr_len 2998 net/mac80211/tx.c build.hdr_len += 2; hdr_len 3031 net/mac80211/tx.c build.pn_offs = build.hdr_len; hdr_len 3033 net/mac80211/tx.c build.hdr_len += IEEE80211_CCMP_HDR_LEN; hdr_len 3038 net/mac80211/tx.c build.pn_offs = build.hdr_len; hdr_len 3040 net/mac80211/tx.c build.hdr_len += IEEE80211_GCMP_HDR_LEN; hdr_len 3047 net/mac80211/tx.c build.hdr_len += IEEE80211_TKIP_IV_LEN; hdr_len 3055 net/mac80211/tx.c build.hdr_len += IEEE80211_WEP_IV_LEN; hdr_len 3077 net/mac80211/tx.c build.hdr_len += build.key->conf.iv_len; hdr_len 3085 net/mac80211/tx.c memcpy(build.hdr + build.hdr_len, hdr_len 3087 net/mac80211/tx.c build.hdr_len += sizeof(rfc1042_header); hdr_len 3169 net/mac80211/tx.c int hdr_len = fast_tx->hdr_len - sizeof(rfc1042_header); hdr_len 3170 net/mac80211/tx.c int subframe_len = skb->len - hdr_len; hdr_len 3185 net/mac80211/tx.c memmove(data, data + sizeof(*amsdu_hdr), hdr_len); hdr_len 3187 net/mac80211/tx.c amsdu_hdr = data + hdr_len; hdr_len 3322 net/mac80211/tx.c hdrlen = fast_tx->hdr_len - sizeof(rfc1042_header); hdr_len 3429 net/mac80211/tx.c int extra_head = fast_tx->hdr_len - (ETH_HLEN - 2); hdr_len 3492 net/mac80211/tx.c memcpy(skb->data, fast_tx->hdr, fast_tx->hdr_len); hdr_len 3475 net/mac80211/util.c int hdr_len = offsetofend(struct ieee80211_mgmt, hdr_len 3483 net/mac80211/util.c skb = dev_alloc_skb(local->tx_headroom + hdr_len + hdr_len 3492 net/mac80211/util.c mgmt = skb_put_zero(skb, hdr_len); hdr_len 3558 net/mac80211/util.c cs->hdr_len < cs->pn_len + cs->pn_off || hdr_len 3559 net/mac80211/util.c cs->hdr_len <= cs->key_idx_off || hdr_len 3612 net/mac80211/util.c if (cs && headroom < cs->hdr_len) hdr_len 3613 net/mac80211/util.c headroom = cs->hdr_len; hdr_len 3617 net/mac80211/util.c if (cs && headroom < cs->hdr_len) hdr_len 3618 net/mac80211/util.c headroom = cs->hdr_len; hdr_len 860 net/mac80211/wpa.c data_len = rx->skb->len - hdrlen - cs->hdr_len; hdr_len 887 net/mac80211/wpa.c memmove(rx->skb->data + cs->hdr_len, rx->skb->data, hdrlen); hdr_len 888 net/mac80211/wpa.c skb_pull(rx->skb, cs->hdr_len); hdr_len 2447 net/packet/af_packet.c __virtio16_to_cpu(vio_le(), vnet_hdr->hdr_len))) hdr_len 2448 net/packet/af_packet.c vnet_hdr->hdr_len = __cpu_to_virtio16(vio_le(), hdr_len 2452 net/packet/af_packet.c if (__virtio16_to_cpu(vio_le(), vnet_hdr->hdr_len) > len) hdr_len 2726 net/packet/af_packet.c vnet_hdr->hdr_len); hdr_len 2919 net/packet/af_packet.c linear = __virtio16_to_cpu(vio_le(), vnet_hdr.hdr_len); hdr_len 60 net/sched/sch_atm.c int hdr_len; hdr_len 205 net/sched/sch_atm.c int fd, error, hdr_len; hdr_len 237 net/sched/sch_atm.c hdr_len = nla_len(tb[TCA_ATM_HDR]); hdr_len 240 net/sched/sch_atm.c hdr_len = RFC1483LLC_LEN; hdr_len 252 net/sched/sch_atm.c opt->nla_type, nla_len(opt), hdr_len); hdr_len 281 net/sched/sch_atm.c flow = kzalloc(sizeof(struct atm_flow_data) + hdr_len, GFP_KERNEL); hdr_len 311 net/sched/sch_atm.c flow->hdr_len = hdr_len; hdr_len 313 net/sched/sch_atm.c memcpy(flow->hdr, hdr, hdr_len); hdr_len 497 net/sched/sch_atm.c if (skb_headroom(skb) < flow->hdr_len) { hdr_len 500 net/sched/sch_atm.c new = skb_realloc_headroom(skb, flow->hdr_len); hdr_len 509 net/sched/sch_atm.c memcpy(skb_push(skb, flow->hdr_len), flow->hdr, hdr_len 510 net/sched/sch_atm.c flow->hdr_len); hdr_len 618 net/sched/sch_atm.c if (nla_put(skb, TCA_ATM_HDR, flow->hdr_len, flow->hdr)) hdr_len 1312 net/sched/sch_cake.c unsigned int hdr_len, last_len = 0; hdr_len 1323 net/sched/sch_cake.c hdr_len = skb_transport_header(skb) - skb_mac_header(skb); hdr_len 1334 net/sched/sch_cake.c hdr_len += __tcp_hdrlen(th); hdr_len 1340 net/sched/sch_cake.c hdr_len += sizeof(struct udphdr); hdr_len 1344 net/sched/sch_cake.c segs = DIV_ROUND_UP(skb->len - hdr_len, hdr_len 1349 net/sched/sch_cake.c len = shinfo->gso_size + hdr_len; hdr_len 573 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c unsigned int hdr_len; hdr_len 613 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c hdr_len = (unsigned long)p - (unsigned long)rdma_argp; hdr_len 614 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c rq_arg->head[0].iov_len -= hdr_len; hdr_len 615 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c rq_arg->len -= hdr_len; hdr_len 616 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c trace_svcrdma_decode_rqst(rdma_argp, hdr_len); hdr_len 617 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c return hdr_len; hdr_len 706 net/tipc/msg.c int hdr_len; hdr_len 711 net/tipc/msg.c hdr_len = skb_headroom(skb) + msg_hdr_sz(buf_msg(skb)); hdr_len 712 net/tipc/msg.c _skb = __pskb_copy(skb, hdr_len, GFP_ATOMIC); hdr_len 148 net/tipc/netlink_compat.c int hdr_len; hdr_len 152 net/tipc/netlink_compat.c hdr_len = nlmsg_total_size(GENL_HDRLEN + TIPC_GENL_HDRLEN); hdr_len 154 net/tipc/netlink_compat.c buf = alloc_skb(hdr_len + size, GFP_KERNEL); hdr_len 158 net/tipc/netlink_compat.c skb_reserve(buf, hdr_len); hdr_len 136 net/tipc/trace.c i += scnprintf(buf + i, sz - i, " %u", skb->hdr_len); hdr_len 153 net/wireless/lib80211_crypt_ccmp.c static int lib80211_ccmp_hdr(struct sk_buff *skb, int hdr_len, hdr_len 160 net/wireless/lib80211_crypt_ccmp.c if (skb_headroom(skb) < CCMP_HDR_LEN || skb->len < hdr_len) hdr_len 167 net/wireless/lib80211_crypt_ccmp.c memmove(pos, pos + CCMP_HDR_LEN, hdr_len); hdr_len 168 net/wireless/lib80211_crypt_ccmp.c pos += hdr_len; hdr_len 190 net/wireless/lib80211_crypt_ccmp.c static int lib80211_ccmp_encrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 201 net/wireless/lib80211_crypt_ccmp.c if (skb_tailroom(skb) < CCMP_MIC_LEN || skb->len < hdr_len) hdr_len 204 net/wireless/lib80211_crypt_ccmp.c data_len = skb->len - hdr_len; hdr_len 205 net/wireless/lib80211_crypt_ccmp.c len = lib80211_ccmp_hdr(skb, hdr_len, NULL, 0, priv); hdr_len 220 net/wireless/lib80211_crypt_ccmp.c sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, hdr_len 254 net/wireless/lib80211_crypt_ccmp.c static int lib80211_ccmp_decrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 265 net/wireless/lib80211_crypt_ccmp.c size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; hdr_len 267 net/wireless/lib80211_crypt_ccmp.c if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { hdr_len 273 net/wireless/lib80211_crypt_ccmp.c pos = skb->data + hdr_len; hdr_len 340 net/wireless/lib80211_crypt_ccmp.c memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); hdr_len 283 net/wireless/lib80211_crypt_tkip.c static int lib80211_tkip_hdr(struct sk_buff *skb, int hdr_len, hdr_len 292 net/wireless/lib80211_crypt_tkip.c if (skb_headroom(skb) < TKIP_HDR_LEN || skb->len < hdr_len) hdr_len 306 net/wireless/lib80211_crypt_tkip.c memmove(pos, pos + TKIP_HDR_LEN, hdr_len); hdr_len 307 net/wireless/lib80211_crypt_tkip.c pos += hdr_len; hdr_len 327 net/wireless/lib80211_crypt_tkip.c static int lib80211_tkip_encrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 341 net/wireless/lib80211_crypt_tkip.c if (skb_tailroom(skb) < 4 || skb->len < hdr_len) hdr_len 344 net/wireless/lib80211_crypt_tkip.c len = skb->len - hdr_len; hdr_len 345 net/wireless/lib80211_crypt_tkip.c pos = skb->data + hdr_len; hdr_len 347 net/wireless/lib80211_crypt_tkip.c if ((lib80211_tkip_hdr(skb, hdr_len, rc4key, 16, priv)) < 0) hdr_len 376 net/wireless/lib80211_crypt_tkip.c static int lib80211_tkip_decrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 396 net/wireless/lib80211_crypt_tkip.c if (skb->len < hdr_len + TKIP_HDR_LEN + 4) hdr_len 399 net/wireless/lib80211_crypt_tkip.c pos = skb->data + hdr_len; hdr_len 437 net/wireless/lib80211_crypt_tkip.c plen = skb->len - hdr_len - 12; hdr_len 467 net/wireless/lib80211_crypt_tkip.c memmove(skb->data + TKIP_HDR_LEN, skb->data, hdr_len); hdr_len 541 net/wireless/lib80211_crypt_tkip.c static int lib80211_michael_mic_add(struct sk_buff *skb, int hdr_len, hdr_len 547 net/wireless/lib80211_crypt_tkip.c if (skb_tailroom(skb) < 8 || skb->len < hdr_len) { hdr_len 550 net/wireless/lib80211_crypt_tkip.c skb_tailroom(skb), hdr_len, skb->len); hdr_len 557 net/wireless/lib80211_crypt_tkip.c skb->data + hdr_len, skb->len - 8 - hdr_len, pos)) hdr_len 585 net/wireless/lib80211_crypt_tkip.c int hdr_len, void *priv) hdr_len 595 net/wireless/lib80211_crypt_tkip.c skb->data + hdr_len, skb->len - 8 - hdr_len, mic)) hdr_len 63 net/wireless/lib80211_crypt_wep.c static int lib80211_wep_build_iv(struct sk_buff *skb, int hdr_len, hdr_len 70 net/wireless/lib80211_crypt_wep.c if (skb_headroom(skb) < 4 || skb->len < hdr_len) hdr_len 74 net/wireless/lib80211_crypt_wep.c memmove(pos, pos + 4, hdr_len); hdr_len 75 net/wireless/lib80211_crypt_wep.c pos += hdr_len; hdr_len 105 net/wireless/lib80211_crypt_wep.c static int lib80211_wep_encrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 117 net/wireless/lib80211_crypt_wep.c if (lib80211_wep_build_iv(skb, hdr_len, NULL, 0, priv)) hdr_len 121 net/wireless/lib80211_crypt_wep.c skb_copy_from_linear_data_offset(skb, hdr_len, key, 3); hdr_len 126 net/wireless/lib80211_crypt_wep.c len = skb->len - hdr_len - 4; hdr_len 127 net/wireless/lib80211_crypt_wep.c pos = skb->data + hdr_len + 4; hdr_len 151 net/wireless/lib80211_crypt_wep.c static int lib80211_wep_decrypt(struct sk_buff *skb, int hdr_len, void *priv) hdr_len 158 net/wireless/lib80211_crypt_wep.c if (skb->len < hdr_len + 8) hdr_len 161 net/wireless/lib80211_crypt_wep.c pos = skb->data + hdr_len; hdr_len 175 net/wireless/lib80211_crypt_wep.c plen = skb->len - hdr_len - 8; hdr_len 191 net/wireless/lib80211_crypt_wep.c memmove(skb->data + 4, skb->data, hdr_len); hdr_len 460 net/wireless/wext-core.c int hdr_len; /* Size of the event header */ hdr_len 529 net/wireless/wext-core.c hdr_len = event_type_size[descr->header_type]; hdr_len 530 net/wireless/wext-core.c event_len = hdr_len + extra_len; hdr_len 575 net/wireless/wext-core.c memset(event, 0, hdr_len); hdr_len 578 net/wireless/wext-core.c memcpy(&event->u, ((char *) wrqu) + wrqu_off, hdr_len - IW_EV_LCP_LEN); hdr_len 580 net/wireless/wext-core.c memcpy(((char *) event) + hdr_len, extra, extra_len); hdr_len 584 net/wireless/wext-core.c hdr_len = compat_event_type_size[descr->header_type]; hdr_len 585 net/wireless/wext-core.c event_len = hdr_len + extra_len; hdr_len 617 net/wireless/wext-core.c hdr_len - IW_EV_COMPAT_LCP_LEN); hdr_len 619 net/wireless/wext-core.c memcpy(((char *) compat_event) + hdr_len, hdr_len 624 net/wireless/wext-core.c hdr_len - IW_EV_COMPAT_LCP_LEN); hdr_len 84 net/xfrm/xfrm_output.c int hdr_len; hdr_len 89 net/xfrm/xfrm_output.c hdr_len = x->type->hdr_offset(x, skb, &prevhdr); hdr_len 90 net/xfrm/xfrm_output.c if (hdr_len < 0) hdr_len 91 net/xfrm/xfrm_output.c return hdr_len; hdr_len 95 net/xfrm/xfrm_output.c skb->transport_header = skb->network_header + hdr_len; hdr_len 96 net/xfrm/xfrm_output.c __skb_pull(skb, hdr_len); hdr_len 97 net/xfrm/xfrm_output.c memmove(ipv6_hdr(skb), iph, hdr_len); hdr_len 115 net/xfrm/xfrm_output.c int hdr_len; hdr_len 119 net/xfrm/xfrm_output.c hdr_len = x->type->hdr_offset(x, skb, &prevhdr); hdr_len 120 net/xfrm/xfrm_output.c if (hdr_len < 0) hdr_len 121 net/xfrm/xfrm_output.c return hdr_len; hdr_len 125 net/xfrm/xfrm_output.c skb->transport_header = skb->network_header + hdr_len; hdr_len 126 net/xfrm/xfrm_output.c __skb_pull(skb, hdr_len); hdr_len 127 net/xfrm/xfrm_output.c memmove(ipv6_hdr(skb), iph, hdr_len); hdr_len 275 net/xfrm/xfrm_output.c int optlen, hdr_len; hdr_len 277 net/xfrm/xfrm_output.c hdr_len = 0; hdr_len 280 net/xfrm/xfrm_output.c hdr_len += IPV4_BEET_PHMAXLEN - (optlen & 4); hdr_len 282 net/xfrm/xfrm_output.c skb_set_network_header(skb, -x->props.header_len - hdr_len); hdr_len 288 net/xfrm/xfrm_output.c ph = __skb_pull(skb, XFRM_MODE_SKB_CB(skb)->ihl - hdr_len); hdr_len 15 tools/include/uapi/linux/btf.h __u32 hdr_len; hdr_len 1520 tools/include/uapi/linux/kvm.h __u32 hdr_len; hdr_len 793 tools/lib/bpf/btf.c info = btf_ext->data + btf_ext->hdr->hdr_len + ext_sec->off; hdr_len 907 tools/lib/bpf/btf.c if (data_size < offsetofend(struct btf_ext_header, hdr_len) || hdr_len 908 tools/lib/bpf/btf.c data_size < hdr->hdr_len) { hdr_len 928 tools/lib/bpf/btf.c if (data_size == hdr->hdr_len) { hdr_len 965 tools/lib/bpf/btf.c if (btf_ext->hdr->hdr_len < hdr_len 976 tools/lib/bpf/btf.c if (btf_ext->hdr->hdr_len < hdr_len 54 tools/lib/bpf/btf.h __u32 hdr_len; hdr_len 143 tools/lib/bpf/libbpf_probes.c .hdr_len = sizeof(struct btf_header), hdr_len 151 tools/lib/bpf/libbpf_probes.c btf_len = hdr.hdr_len + hdr.type_len + hdr.str_len; hdr_len 157 tools/lib/bpf/libbpf_probes.c memcpy(raw_btf + hdr.hdr_len, raw_types, hdr.type_len); hdr_len 158 tools/lib/bpf/libbpf_probes.c memcpy(raw_btf + hdr.hdr_len + hdr.type_len, str_sec, hdr.str_len); hdr_len 130 tools/testing/selftests/bpf/map_tests/sk_storage_map.c .hdr_len = sizeof(struct btf_header), hdr_len 92 tools/testing/selftests/bpf/test_btf.c .hdr_len = sizeof(struct btf_header), hdr_len 3647 tools/testing/selftests/bpf/test_btf.c hdr->hdr_len = (int)hdr->hdr_len + test->hdr_len_delta; hdr_len 542 tools/testing/selftests/bpf/test_verifier.c .hdr_len = sizeof(struct btf_header), hdr_len 80 tools/testing/selftests/net/psock_snd.c vh->hdr_len = ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr);