hdr_size 502 arch/powerpc/kernel/nvram_64.c size_t length, hdr_size; hdr_size 507 arch/powerpc/kernel/nvram_64.c hdr_size = sizeof(u16); hdr_size 512 arch/powerpc/kernel/nvram_64.c hdr_size = sizeof(*oops_hdr); hdr_size 517 arch/powerpc/kernel/nvram_64.c record->buf = kmemdup(buff + hdr_size, length, GFP_KERNEL); hdr_size 301 arch/powerpc/platforms/powernv/opal-core.c u32 hdr_size, cpu_notes_size, count; hdr_size 312 arch/powerpc/platforms/powernv/opal-core.c hdr_size = (sizeof(Elf64_Ehdr) + hdr_size 321 arch/powerpc/platforms/powernv/opal-core.c oc_conf->opalcorebuf_sz = PAGE_ALIGN(hdr_size + cpu_notes_size); hdr_size 383 arch/powerpc/platforms/powernv/opal-core.c phdr->p_offset = cpu_to_be64(hdr_size); hdr_size 3218 drivers/bluetooth/btusb.c size_t hdr_size) hdr_size 3232 drivers/bluetooth/btusb.c size = min_t(size_t, count, hdr_size); hdr_size 720 drivers/crypto/qat/qat_common/qat_uclo.c int hdr_size; hdr_size 724 drivers/crypto/qat/qat_common/qat_uclo.c hdr_size = (char *)&str_table->strings - (char *)str_table; hdr_size 726 drivers/crypto/qat/qat_common/qat_uclo.c chunk_hdr->offset + hdr_size; hdr_size 53 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/hs_ucode.h u32 hdr_size; hdr_size 439 drivers/infiniband/core/mad_rmpp.c int hdr_size, data_size, pad; hdr_size 445 drivers/infiniband/core/mad_rmpp.c hdr_size = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); hdr_size 447 drivers/infiniband/core/mad_rmpp.c data_size = sizeof(struct opa_rmpp_mad) - hdr_size; hdr_size 452 drivers/infiniband/core/mad_rmpp.c data_size = sizeof(struct ib_rmpp_mad) - hdr_size; hdr_size 458 drivers/infiniband/core/mad_rmpp.c return hdr_size + rmpp_recv->seg_num * data_size - pad; hdr_size 246 drivers/infiniband/core/user_mad.c packet->mad.hdr.length = hdr_size(file) + mad_recv_wc->mad_len; hdr_size 304 drivers/infiniband/core/user_mad.c count < hdr_size(file) + packet->length) || hdr_size 306 drivers/infiniband/core/user_mad.c count < hdr_size(file) + seg_size)) hdr_size 309 drivers/infiniband/core/user_mad.c if (copy_to_user(buf, &packet->mad, hdr_size(file))) hdr_size 312 drivers/infiniband/core/user_mad.c buf += hdr_size(file); hdr_size 322 drivers/infiniband/core/user_mad.c if (count < hdr_size(file) + packet->length) { hdr_size 345 drivers/infiniband/core/user_mad.c return hdr_size(file) + packet->length; hdr_size 351 drivers/infiniband/core/user_mad.c ssize_t size = hdr_size(file) + packet->length; hdr_size 356 drivers/infiniband/core/user_mad.c if (copy_to_user(buf, &packet->mad, hdr_size(file))) hdr_size 359 drivers/infiniband/core/user_mad.c buf += hdr_size(file); hdr_size 377 drivers/infiniband/core/user_mad.c if (count < hdr_size(file)) hdr_size 496 drivers/infiniband/core/user_mad.c if (count < hdr_size(file) + IB_MGMT_RMPP_HDR) hdr_size 503 drivers/infiniband/core/user_mad.c if (copy_from_user(&packet->mad, buf, hdr_size(file))) { hdr_size 513 drivers/infiniband/core/user_mad.c buf += hdr_size(file); hdr_size 567 drivers/infiniband/core/user_mad.c data_len = count - hdr_size(file) - hdr_len; hdr_size 2482 drivers/infiniband/hw/hfi1/hfi.h static inline int hfi1_get_16b_padding(u32 hdr_size, u32 payload) hdr_size 2484 drivers/infiniband/hw/hfi1/hfi.h return -(hdr_size + payload + (SIZE_OF_CRC << 2) + hdr_size 47 drivers/infiniband/sw/rxe/rxe_icrc.c int hdr_size = sizeof(struct udphdr) + hdr_size 63 drivers/infiniband/sw/rxe/rxe_icrc.c memcpy(pshdr, ip_hdr(skb), hdr_size); hdr_size 71 drivers/infiniband/sw/rxe/rxe_icrc.c memcpy(pshdr, ipv6_hdr(skb), hdr_size); hdr_size 81 drivers/infiniband/sw/rxe/rxe_icrc.c bth_offset += hdr_size; hdr_size 89 drivers/infiniband/sw/rxe/rxe_icrc.c length = hdr_size + RXE_BTH_BYTES; hdr_size 95 drivers/media/pci/cx18/cx18-vbi.c static u32 compress_raw_buf(struct cx18 *cx, u8 *buf, u32 size, u32 hdr_size) hdr_size 104 drivers/media/pci/cx18/cx18-vbi.c buf += hdr_size; hdr_size 116 drivers/media/pci/cx18/cx18-vbi.c memcpy(q, p + 4, line_size - 4 - hdr_size); hdr_size 117 drivers/media/pci/cx18/cx18-vbi.c q += line_size - 4 - hdr_size; hdr_size 118 drivers/media/pci/cx18/cx18-vbi.c p += line_size - hdr_size - 1; hdr_size 119 drivers/media/pci/cx18/cx18-vbi.c memset(q, (int) *p, hdr_size); hdr_size 129 drivers/media/pci/cx18/cx18-vbi.c const u32 hdr_size) hdr_size 138 drivers/media/pci/cx18/cx18-vbi.c for (i = hdr_size, buf += hdr_size; i < size; i++, buf++) { hdr_size 150 drivers/media/pci/cx18/cx18-vbi.c size -= (i - hdr_size); hdr_size 87 drivers/net/arcnet/arc-rawmode.c int hdr_size = ARC_HDR_SIZE; hdr_size 88 drivers/net/arcnet/arc-rawmode.c struct archdr *pkt = skb_push(skb, hdr_size); hdr_size 105 drivers/net/arcnet/arc-rawmode.c return hdr_size; hdr_size 110 drivers/net/arcnet/arc-rawmode.c return hdr_size; /* success */ hdr_size 103 drivers/net/arcnet/capmode.c int hdr_size = ARC_HDR_SIZE; hdr_size 104 drivers/net/arcnet/capmode.c struct archdr *pkt = skb_push(skb, hdr_size); hdr_size 124 drivers/net/arcnet/capmode.c return hdr_size; hdr_size 129 drivers/net/arcnet/capmode.c return hdr_size; /* success */ hdr_size 91 drivers/net/arcnet/rfc1051.c int hdr_size = ARC_HDR_SIZE + RFC1051_HDR_SIZE; hdr_size 95 drivers/net/arcnet/rfc1051.c skb_pull(skb, hdr_size); hdr_size 164 drivers/net/arcnet/rfc1051.c int hdr_size = ARC_HDR_SIZE + RFC1051_HDR_SIZE; hdr_size 165 drivers/net/arcnet/rfc1051.c struct archdr *pkt = skb_push(skb, hdr_size); hdr_size 199 drivers/net/arcnet/rfc1051.c return hdr_size; hdr_size 204 drivers/net/arcnet/rfc1051.c return hdr_size; /* success */ hdr_size 95 drivers/net/arcnet/rfc1201.c int hdr_size = ARC_HDR_SIZE + RFC1201_HDR_SIZE; hdr_size 99 drivers/net/arcnet/rfc1201.c skb_pull(skb, hdr_size); hdr_size 381 drivers/net/arcnet/rfc1201.c int hdr_size = ARC_HDR_SIZE + RFC1201_HDR_SIZE; hdr_size 382 drivers/net/arcnet/rfc1201.c struct archdr *pkt = skb_push(skb, hdr_size); hdr_size 435 drivers/net/arcnet/rfc1201.c return hdr_size; hdr_size 439 drivers/net/arcnet/rfc1201.c return hdr_size; hdr_size 68 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h unsigned short hdr_size = (ipv6 ? hdr_size 74 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h unsigned short data_size = mtu - hdr_size; hdr_size 76 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h cxgb4_best_aligned_mtu(mtus, hdr_size, data_size, 8, idx); hdr_size 2662 drivers/net/ethernet/emulex/benet/be_cmds.c u32 img_offset, u32 img_size, int hdr_size, hdr_size 2674 drivers/net/ethernet/emulex/benet/be_cmds.c crc_offset = hdr_size + img_offset + img_size - 4; hdr_size 645 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (info->hdr_size > ((2 * 1024) - 64)) { hdr_size 649 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c rx_ctx.hbuff = info->hdr_size >> I40E_RXQ_CTX_HBUFF_SHIFT; hdr_size 3680 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 hdr_size = sizeof(struct ixgbe_hic_hdr); hdr_size 3706 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c dword_len = hdr_size >> 2; hdr_size 3719 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (length < round_up(buf_len, 4) + hdr_size) { hdr_size 2354 drivers/net/ethernet/qlogic/qed/qed_iwarp.c u32 hdr_size; hdr_size 2429 drivers/net/ethernet/qlogic/qed/qed_iwarp.c hdr_size = ((cm_info.ip_version == QED_TCP_IPV4) ? 40 : 60); hdr_size 2430 drivers/net/ethernet/qlogic/qed/qed_iwarp.c ep->mss = p_hwfn->p_rdma_info->iwarp.max_mtu - hdr_size; hdr_size 3958 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 mbx_cmd, fw_hal_version, hdr_size, total_size, tmp; hdr_size 3969 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c hdr_size = sizeof(struct qlcnic_bc_hdr) / sizeof(u32); hdr_size 3970 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c total_size = cmd->pay_size + hdr_size; hdr_size 3983 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c for (i = 2, j = 0; j < hdr_size; i++, j++) hdr_size 53 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c u16 hdr_size; hdr_size 63 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c u16 hdr_size; hdr_size 1736 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c addr = QLC_83XX_RESET_TEMPLATE_ADDR + ahw->reset.hdr->hdr_size; hdr_size 1737 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c p_buff = ahw->reset.buff + ahw->reset.hdr->hdr_size; hdr_size 1738 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c count = (ahw->reset.hdr->size - ahw->reset.hdr->hdr_size) / sizeof(u32); hdr_size 1752 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c ahw->reset.stop_offset = ahw->reset.buff + ahw->reset.hdr->hdr_size; hdr_size 907 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c u8 i, max = 2, hdr_size, j; hdr_size 909 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c hdr_size = (sizeof(struct qlcnic_bc_hdr) / sizeof(u32)); hdr_size 910 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c max = (size / sizeof(u32)) + hdr_size; hdr_size 912 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c for (i = 2, j = 0; j < hdr_size; i++, j++) hdr_size 749 drivers/net/thunderbolt.c unsigned int hdr_size = sizeof(*hdr); hdr_size 800 drivers/net/thunderbolt.c skb_reserve(skb, hdr_size); hdr_size 806 drivers/net/thunderbolt.c page, hdr_size, frame_size, hdr_size 807 drivers/net/thunderbolt.c TBNET_RX_PAGE_SIZE - hdr_size); hdr_size 618 drivers/net/wimax/i2400m/tx.c size_t aligned_size, padding, hdr_size; hdr_size 643 drivers/net/wimax/i2400m/tx.c hdr_size = struct_size(tx_msg, pld, le16_to_cpu(tx_msg->num_pls)); hdr_size 644 drivers/net/wimax/i2400m/tx.c hdr_size = ALIGN(hdr_size, I2400M_PL_ALIGN); hdr_size 645 drivers/net/wimax/i2400m/tx.c tx_msg->offset = I2400M_TX_PLD_SIZE - hdr_size; hdr_size 647 drivers/net/wimax/i2400m/tx.c memmove(tx_msg_moved, tx_msg, hdr_size); hdr_size 306 drivers/net/wireless/ath/ath6kl/wmi.c u32 meta_size, hdr_size; hdr_size 325 drivers/net/wireless/ath/ath6kl/wmi.c hdr_size = sizeof(struct ethhdr); hdr_size 330 drivers/net/wireless/ath/ath6kl/wmi.c meta_size + hdr_size); hdr_size 393 drivers/net/wireless/ath/ath6kl/wmi.c u32 hdr_size; hdr_size 409 drivers/net/wireless/ath/ath6kl/wmi.c hdr_size = roundup(sizeof(struct ieee80211_qos_hdr), hdr_size 411 drivers/net/wireless/ath/ath6kl/wmi.c skb_pull(skb, hdr_size); hdr_size 1490 drivers/net/wireless/ath/wil6210/wmi.c size_t hdr_size = sizeof(struct wmi_link_stats_record); hdr_size 1494 drivers/net/wireless/ath/wil6210/wmi.c if (payload_size < hdr_size) { hdr_size 1499 drivers/net/wireless/ath/wil6210/wmi.c while (payload_size >= hdr_size) { hdr_size 1502 drivers/net/wireless/ath/wil6210/wmi.c record_size = hdr_size + stats_size; hdr_size 1524 drivers/net/wireless/ath/wil6210/wmi.c wil_link_stats_store_basic(vif, payload + hdr_size); hdr_size 1546 drivers/net/wireless/ath/wil6210/wmi.c wil_link_stats_store_global(vif, payload + hdr_size); hdr_size 4710 drivers/net/wireless/intel/iwlegacy/4965-mac.c u32 api_ver, hdr_size; hdr_size 4721 drivers/net/wireless/intel/iwlegacy/4965-mac.c hdr_size = 24; hdr_size 4722 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (ucode_raw->size < hdr_size) { hdr_size 4737 drivers/net/wireless/intel/iwlegacy/4965-mac.c hdr_size + pieces->inst_size + pieces->data_size + hdr_size 501 drivers/net/wireless/intel/iwlwifi/iwl-drv.c u32 api_ver, hdr_size, build; hdr_size 510 drivers/net/wireless/intel/iwlwifi/iwl-drv.c hdr_size = 28; hdr_size 511 drivers/net/wireless/intel/iwlwifi/iwl-drv.c if (ucode_raw->size < hdr_size) { hdr_size 529 drivers/net/wireless/intel/iwlwifi/iwl-drv.c hdr_size = 24; hdr_size 530 drivers/net/wireless/intel/iwlwifi/iwl-drv.c if (ucode_raw->size < hdr_size) { hdr_size 563 drivers/net/wireless/intel/iwlwifi/iwl-drv.c if (ucode_raw->size != hdr_size + hdr_size 127 drivers/nfc/s3fwrn5/i2c.c size_t hdr_size; hdr_size 132 drivers/nfc/s3fwrn5/i2c.c hdr_size = (phy->mode == S3FWRN5_MODE_NCI) ? hdr_size 134 drivers/nfc/s3fwrn5/i2c.c ret = i2c_master_recv(phy->i2c_dev, hdr, hdr_size); hdr_size 138 drivers/nfc/s3fwrn5/i2c.c if (ret < hdr_size) hdr_size 145 drivers/nfc/s3fwrn5/i2c.c skb = alloc_skb(hdr_size + data_len, GFP_KERNEL); hdr_size 149 drivers/nfc/s3fwrn5/i2c.c skb_put_data(skb, hdr, hdr_size); hdr_size 11638 drivers/scsi/lpfc/lpfc_init.c sli4_params->hdr_size = bf_get(hdr_size, &mqe->un.sli4_params); hdr_size 519 drivers/scsi/lpfc/lpfc_sli4.h uint32_t hdr_size; hdr_size 1550 drivers/scsi/qla2xxx/qla_nx2.c tmplt_hdr_size = vha->reset_tmplt.hdr->hdr_size/sizeof(uint32_t); hdr_size 1560 drivers/scsi/qla2xxx/qla_nx2.c addr = QLA8044_RESET_TEMPLATE_ADDR + vha->reset_tmplt.hdr->hdr_size; hdr_size 1561 drivers/scsi/qla2xxx/qla_nx2.c p_buff = vha->reset_tmplt.buff + vha->reset_tmplt.hdr->hdr_size; hdr_size 1563 drivers/scsi/qla2xxx/qla_nx2.c vha->reset_tmplt.hdr->hdr_size)/sizeof(uint32_t); hdr_size 1595 drivers/scsi/qla2xxx/qla_nx2.c vha->reset_tmplt.hdr->hdr_size; hdr_size 224 drivers/scsi/qla2xxx/qla_nx2.h uint16_t hdr_size; hdr_size 812 drivers/scsi/qla4xxx/ql4_83xx.c tmplt_hdr_size = ha->reset_tmplt.hdr->hdr_size/sizeof(uint32_t); hdr_size 820 drivers/scsi/qla4xxx/ql4_83xx.c addr = QLA83XX_RESET_TEMPLATE_ADDR + ha->reset_tmplt.hdr->hdr_size; hdr_size 821 drivers/scsi/qla4xxx/ql4_83xx.c p_buff = ha->reset_tmplt.buff + ha->reset_tmplt.hdr->hdr_size; hdr_size 823 drivers/scsi/qla4xxx/ql4_83xx.c ha->reset_tmplt.hdr->hdr_size) / sizeof(uint32_t); hdr_size 854 drivers/scsi/qla4xxx/ql4_83xx.c ha->reset_tmplt.hdr->hdr_size; hdr_size 184 drivers/scsi/qla4xxx/ql4_83xx.h __le16 hdr_size; hdr_size 3620 drivers/scsi/scsi_transport_iscsi.c (char*)ev + sizeof(*ev) + ev->u.send_pdu.hdr_size, hdr_size 104 drivers/soc/qcom/apr.c uint16_t hdr_size, msg_type, ver, svc_id; hdr_size 118 drivers/soc/qcom/apr.c hdr_size = APR_HDR_FIELD_SIZE_BYTES(hdr->hdr_field); hdr_size 119 drivers/soc/qcom/apr.c if (hdr_size < APR_HDR_SIZE) { hdr_size 120 drivers/soc/qcom/apr.c dev_err(apr->dev, "APR: Wrong hdr size:%d\n", hdr_size); hdr_size 156 drivers/soc/qcom/apr.c resp.payload_size = hdr->pkt_size - hdr_size; hdr_size 163 drivers/soc/qcom/apr.c resp.payload = buf + hdr_size; hdr_size 167 drivers/target/iscsi/cxgbit/cxgbit_target.c u32 hdr_size = sizeof(*req); hdr_size 176 drivers/target/iscsi/cxgbit/cxgbit_target.c hdr_size += sizeof(struct cpl_tx_data_iso); hdr_size 183 drivers/target/iscsi/cxgbit/cxgbit_target.c req = __skb_push(skb, hdr_size); hdr_size 109 drivers/thunderbolt/switch.c unsigned int image_size, hdr_size; hdr_size 125 drivers/thunderbolt/switch.c hdr_size = (*(u32 *)buf) & 0xffffff; hdr_size 126 drivers/thunderbolt/switch.c if (hdr_size + NVM_DEVID + 2 >= image_size) hdr_size 130 drivers/thunderbolt/switch.c if (!IS_ALIGNED(hdr_size, SZ_4K)) hdr_size 137 drivers/thunderbolt/switch.c ds_size = *(u16 *)(buf + hdr_size); hdr_size 148 drivers/thunderbolt/switch.c device_id = *(u16 *)(buf + hdr_size + NVM_DEVID); hdr_size 162 drivers/thunderbolt/switch.c buf += hdr_size; hdr_size 163 drivers/thunderbolt/switch.c image_size -= hdr_size; hdr_size 366 drivers/thunderbolt/switch.c u32 nvm_size, hdr_size; hdr_size 373 drivers/thunderbolt/switch.c hdr_size = sw->generation < 3 ? SZ_8K : SZ_16K; hdr_size 375 drivers/thunderbolt/switch.c nvm_size = (nvm_size - hdr_size) / 2; hdr_size 595 drivers/vhost/net.c size_t hdr_size, int out) hdr_size 601 drivers/vhost/net.c iov_iter_advance(iter, hdr_size); hdr_size 139 fs/cifs/smb2misc.c int hdr_size = sizeof(struct smb2_sync_hdr); hdr_size 169 fs/cifs/smb2misc.c if ((len >= hdr_size) hdr_size 278 fs/xfs/libxfs/xfs_attr_remote.c int hdr_size = 0; hdr_size 291 fs/xfs/libxfs/xfs_attr_remote.c hdr_size = sizeof(struct xfs_attr3_rmt_hdr); hdr_size 294 fs/xfs/libxfs/xfs_attr_remote.c memcpy(*dst, src + hdr_size, byte_cnt); hdr_size 326 fs/xfs/libxfs/xfs_attr_remote.c int hdr_size; hdr_size 330 fs/xfs/libxfs/xfs_attr_remote.c hdr_size = xfs_attr3_rmt_hdr_set(mp, dst, ino, *offset, hdr_size 333 fs/xfs/libxfs/xfs_attr_remote.c memcpy(dst + hdr_size, *src, byte_cnt); hdr_size 339 fs/xfs/libxfs/xfs_attr_remote.c if (byte_cnt + hdr_size < blksize) { hdr_size 342 fs/xfs/libxfs/xfs_attr_remote.c memset(dst + hdr_size + byte_cnt, 0, hdr_size 343 fs/xfs/libxfs/xfs_attr_remote.c blksize - hdr_size - byte_cnt); hdr_size 301 include/linux/avf/virtchnl.h u16 hdr_size; hdr_size 3304 include/linux/ieee80211.h static inline int ieee80211_get_tdls_action(struct sk_buff *skb, u32 hdr_size) hdr_size 130 include/scsi/iscsi_if.h uint32_t hdr_size; hdr_size 1701 net/batman-adv/bridge_loop_avoidance.c struct batadv_orig_node *orig_node, int hdr_size) hdr_size 1710 net/batman-adv/bridge_loop_avoidance.c if (!pskb_may_pull(skb, hdr_size + ETH_HLEN)) hdr_size 1713 net/batman-adv/bridge_loop_avoidance.c vid = batadv_get_vid(skb, hdr_size); hdr_size 43 net/batman-adv/bridge_loop_avoidance.h int hdr_size); hdr_size 82 net/batman-adv/bridge_loop_avoidance.h int hdr_size) hdr_size 230 net/batman-adv/distributed-arp-table.c static u8 *batadv_arp_hw_src(struct sk_buff *skb, int hdr_size) hdr_size 234 net/batman-adv/distributed-arp-table.c addr = (u8 *)(skb->data + hdr_size); hdr_size 247 net/batman-adv/distributed-arp-table.c static __be32 batadv_arp_ip_src(struct sk_buff *skb, int hdr_size) hdr_size 249 net/batman-adv/distributed-arp-table.c return *(__be32 *)(batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN); hdr_size 259 net/batman-adv/distributed-arp-table.c static u8 *batadv_arp_hw_dst(struct sk_buff *skb, int hdr_size) hdr_size 261 net/batman-adv/distributed-arp-table.c return batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN + 4; hdr_size 271 net/batman-adv/distributed-arp-table.c static __be32 batadv_arp_ip_dst(struct sk_buff *skb, int hdr_size) hdr_size 273 net/batman-adv/distributed-arp-table.c return *(__be32 *)(batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN * 2 + 4); hdr_size 422 net/batman-adv/distributed-arp-table.c int hdr_size, char *msg) hdr_size 432 net/batman-adv/distributed-arp-table.c ip_src = batadv_arp_ip_src(skb, hdr_size); hdr_size 433 net/batman-adv/distributed-arp-table.c ip_dst = batadv_arp_ip_dst(skb, hdr_size); hdr_size 436 net/batman-adv/distributed-arp-table.c batadv_arp_hw_src(skb, hdr_size), &ip_src, hdr_size 437 net/batman-adv/distributed-arp-table.c batadv_arp_hw_dst(skb, hdr_size), &ip_dst); hdr_size 439 net/batman-adv/distributed-arp-table.c if (hdr_size < sizeof(struct batadv_unicast_packet)) hdr_size 489 net/batman-adv/distributed-arp-table.c int hdr_size, char *msg) hdr_size 1055 net/batman-adv/distributed-arp-table.c struct sk_buff *skb, int hdr_size) hdr_size 1064 net/batman-adv/distributed-arp-table.c if (unlikely(!pskb_may_pull(skb, hdr_size + ETH_HLEN))) hdr_size 1067 net/batman-adv/distributed-arp-table.c ethhdr = (struct ethhdr *)(skb->data + hdr_size); hdr_size 1073 net/batman-adv/distributed-arp-table.c if (unlikely(!pskb_may_pull(skb, hdr_size + ETH_HLEN + hdr_size 1077 net/batman-adv/distributed-arp-table.c arphdr = (struct arphdr *)(skb->data + hdr_size + ETH_HLEN); hdr_size 1095 net/batman-adv/distributed-arp-table.c ip_src = batadv_arp_ip_src(skb, hdr_size); hdr_size 1096 net/batman-adv/distributed-arp-table.c ip_dst = batadv_arp_ip_dst(skb, hdr_size); hdr_size 1103 net/batman-adv/distributed-arp-table.c hw_src = batadv_arp_hw_src(skb, hdr_size); hdr_size 1109 net/batman-adv/distributed-arp-table.c hw_dst = batadv_arp_hw_dst(skb, hdr_size); hdr_size 1129 net/batman-adv/distributed-arp-table.c static unsigned short batadv_dat_get_vid(struct sk_buff *skb, int *hdr_size) hdr_size 1133 net/batman-adv/distributed-arp-table.c vid = batadv_get_vid(skb, *hdr_size); hdr_size 1141 net/batman-adv/distributed-arp-table.c *hdr_size += VLAN_HLEN; hdr_size 1201 net/batman-adv/distributed-arp-table.c int hdr_size = 0; hdr_size 1207 net/batman-adv/distributed-arp-table.c vid = batadv_dat_get_vid(skb, &hdr_size); hdr_size 1209 net/batman-adv/distributed-arp-table.c type = batadv_arp_get_type(bat_priv, skb, hdr_size); hdr_size 1216 net/batman-adv/distributed-arp-table.c batadv_dbg_arp(bat_priv, skb, hdr_size, "Parsing outgoing ARP REQUEST"); hdr_size 1218 net/batman-adv/distributed-arp-table.c ip_src = batadv_arp_ip_src(skb, hdr_size); hdr_size 1219 net/batman-adv/distributed-arp-table.c hw_src = batadv_arp_hw_src(skb, hdr_size); hdr_size 1220 net/batman-adv/distributed-arp-table.c ip_dst = batadv_arp_ip_dst(skb, hdr_size); hdr_size 1263 net/batman-adv/distributed-arp-table.c skb->len + ETH_HLEN + hdr_size); hdr_size 1289 net/batman-adv/distributed-arp-table.c struct sk_buff *skb, int hdr_size) hdr_size 1303 net/batman-adv/distributed-arp-table.c vid = batadv_dat_get_vid(skb, &hdr_size); hdr_size 1305 net/batman-adv/distributed-arp-table.c type = batadv_arp_get_type(bat_priv, skb, hdr_size); hdr_size 1309 net/batman-adv/distributed-arp-table.c hw_src = batadv_arp_hw_src(skb, hdr_size); hdr_size 1310 net/batman-adv/distributed-arp-table.c ip_src = batadv_arp_ip_src(skb, hdr_size); hdr_size 1311 net/batman-adv/distributed-arp-table.c ip_dst = batadv_arp_ip_dst(skb, hdr_size); hdr_size 1313 net/batman-adv/distributed-arp-table.c batadv_dbg_arp(bat_priv, skb, hdr_size, "Parsing incoming ARP REQUEST"); hdr_size 1330 net/batman-adv/distributed-arp-table.c if (hdr_size == sizeof(struct batadv_unicast_4addr_packet)) hdr_size 1360 net/batman-adv/distributed-arp-table.c int hdr_size = 0; hdr_size 1366 net/batman-adv/distributed-arp-table.c vid = batadv_dat_get_vid(skb, &hdr_size); hdr_size 1368 net/batman-adv/distributed-arp-table.c type = batadv_arp_get_type(bat_priv, skb, hdr_size); hdr_size 1372 net/batman-adv/distributed-arp-table.c batadv_dbg_arp(bat_priv, skb, hdr_size, "Parsing outgoing ARP REPLY"); hdr_size 1374 net/batman-adv/distributed-arp-table.c hw_src = batadv_arp_hw_src(skb, hdr_size); hdr_size 1375 net/batman-adv/distributed-arp-table.c ip_src = batadv_arp_ip_src(skb, hdr_size); hdr_size 1376 net/batman-adv/distributed-arp-table.c hw_dst = batadv_arp_hw_dst(skb, hdr_size); hdr_size 1377 net/batman-adv/distributed-arp-table.c ip_dst = batadv_arp_ip_dst(skb, hdr_size); hdr_size 1402 net/batman-adv/distributed-arp-table.c struct sk_buff *skb, int hdr_size) hdr_size 1414 net/batman-adv/distributed-arp-table.c vid = batadv_dat_get_vid(skb, &hdr_size); hdr_size 1416 net/batman-adv/distributed-arp-table.c type = batadv_arp_get_type(bat_priv, skb, hdr_size); hdr_size 1420 net/batman-adv/distributed-arp-table.c batadv_dbg_arp(bat_priv, skb, hdr_size, "Parsing incoming ARP REPLY"); hdr_size 1422 net/batman-adv/distributed-arp-table.c hw_src = batadv_arp_hw_src(skb, hdr_size); hdr_size 1423 net/batman-adv/distributed-arp-table.c ip_src = batadv_arp_ip_src(skb, hdr_size); hdr_size 1424 net/batman-adv/distributed-arp-table.c hw_dst = batadv_arp_hw_dst(skb, hdr_size); hdr_size 1425 net/batman-adv/distributed-arp-table.c ip_dst = batadv_arp_ip_dst(skb, hdr_size); hdr_size 1803 net/batman-adv/distributed-arp-table.c struct sk_buff *skb, int hdr_size) hdr_size 1815 net/batman-adv/distributed-arp-table.c if (unlikely(!pskb_may_pull(skb, hdr_size + ETH_HLEN))) hdr_size 1818 net/batman-adv/distributed-arp-table.c ethhdr = (struct ethhdr *)(skb->data + hdr_size); hdr_size 1819 net/batman-adv/distributed-arp-table.c skb_set_network_header(skb, hdr_size + ETH_HLEN); hdr_size 1826 net/batman-adv/distributed-arp-table.c vid = batadv_dat_get_vid(skb, &hdr_size); hdr_size 1854 net/batman-adv/distributed-arp-table.c int hdr_size = sizeof(struct batadv_bcast_packet); hdr_size 1866 net/batman-adv/distributed-arp-table.c vid = batadv_dat_get_vid(forw_packet->skb, &hdr_size); hdr_size 1868 net/batman-adv/distributed-arp-table.c type = batadv_arp_get_type(bat_priv, forw_packet->skb, hdr_size); hdr_size 1872 net/batman-adv/distributed-arp-table.c ip_dst = batadv_arp_ip_dst(forw_packet->skb, hdr_size); hdr_size 31 net/batman-adv/distributed-arp-table.h struct sk_buff *skb, int hdr_size); hdr_size 35 net/batman-adv/distributed-arp-table.h struct sk_buff *skb, int hdr_size); hdr_size 41 net/batman-adv/distributed-arp-table.h struct sk_buff *skb, int hdr_size); hdr_size 117 net/batman-adv/distributed-arp-table.h struct sk_buff *skb, int hdr_size) hdr_size 131 net/batman-adv/distributed-arp-table.h struct sk_buff *skb, int hdr_size) hdr_size 145 net/batman-adv/distributed-arp-table.h struct sk_buff *skb, int hdr_size) hdr_size 147 net/batman-adv/fragmentation.c u16 seqno, hdr_size = sizeof(struct batadv_frag_packet); hdr_size 176 net/batman-adv/fragmentation.c chain->size = skb->len - hdr_size; hdr_size 193 net/batman-adv/fragmentation.c chain->size += skb->len - hdr_size; hdr_size 206 net/batman-adv/fragmentation.c chain->size += skb->len - hdr_size; hdr_size 254 net/batman-adv/fragmentation.c int size, hdr_size = sizeof(struct batadv_frag_packet); hdr_size 266 net/batman-adv/fragmentation.c size = ntohs(packet->total_size) + hdr_size; hdr_size 279 net/batman-adv/fragmentation.c skb_pull(skb_out, hdr_size); hdr_size 288 net/batman-adv/fragmentation.c size = entry->skb->len - hdr_size; hdr_size 289 net/batman-adv/fragmentation.c skb_put_data(skb_out, entry->skb->data + hdr_size, size); hdr_size 1806 net/batman-adv/network-coding.c int hdr_size = sizeof(*coded_packet); hdr_size 1813 net/batman-adv/network-coding.c if (unlikely(!pskb_may_pull(skb, hdr_size))) hdr_size 362 net/batman-adv/routing.c int hdr_size = sizeof(struct batadv_icmp_header); hdr_size 366 net/batman-adv/routing.c if (unlikely(!pskb_may_pull(skb, hdr_size))) hdr_size 459 net/batman-adv/routing.c struct sk_buff *skb, int hdr_size) hdr_size 464 net/batman-adv/routing.c if (unlikely(!pskb_may_pull(skb, hdr_size))) hdr_size 929 net/batman-adv/routing.c int check, hdr_size = sizeof(*unicast_packet); hdr_size 931 net/batman-adv/routing.c check = batadv_check_unicast_packet(bat_priv, skb, hdr_size); hdr_size 962 net/batman-adv/routing.c int check, hdr_size = sizeof(*unicast_packet); hdr_size 971 net/batman-adv/routing.c hdr_size = sizeof(*unicast_4addr_packet); hdr_size 974 net/batman-adv/routing.c check = batadv_check_unicast_packet(bat_priv, skb, hdr_size); hdr_size 984 net/batman-adv/routing.c if (!batadv_check_unicast_ttvn(bat_priv, skb, hdr_size)) hdr_size 998 net/batman-adv/routing.c hdr_size); hdr_size 1028 net/batman-adv/routing.c hdr_size)) hdr_size 1031 net/batman-adv/routing.c hdr_size)) hdr_size 1034 net/batman-adv/routing.c batadv_dat_snoop_incoming_dhcp_ack(bat_priv, skb, hdr_size); hdr_size 1036 net/batman-adv/routing.c batadv_interface_rx(recv_if->soft_iface, skb, hdr_size, hdr_size 1071 net/batman-adv/routing.c int hdr_size = sizeof(*unicast_tvlv_packet); hdr_size 1074 net/batman-adv/routing.c if (batadv_check_unicast_packet(bat_priv, skb, hdr_size) < 0) hdr_size 1078 net/batman-adv/routing.c if (skb_cow(skb, hdr_size) < 0) hdr_size 1087 net/batman-adv/routing.c tvlv_buff = (unsigned char *)(skb->data + hdr_size); hdr_size 1090 net/batman-adv/routing.c if (tvlv_buff_len > skb->len - hdr_size) hdr_size 1190 net/batman-adv/routing.c int hdr_size = sizeof(*bcast_packet); hdr_size 1196 net/batman-adv/routing.c if (unlikely(!pskb_may_pull(skb, hdr_size))) hdr_size 1263 net/batman-adv/routing.c if (batadv_bla_is_backbone_gw(skb, orig_node, hdr_size)) hdr_size 1266 net/batman-adv/routing.c if (batadv_dat_snoop_incoming_arp_request(bat_priv, skb, hdr_size)) hdr_size 1268 net/batman-adv/routing.c if (batadv_dat_snoop_incoming_arp_reply(bat_priv, skb, hdr_size)) hdr_size 1271 net/batman-adv/routing.c batadv_dat_snoop_incoming_dhcp_ack(bat_priv, skb, hdr_size); hdr_size 1274 net/batman-adv/routing.c batadv_interface_rx(recv_if->soft_iface, skb, hdr_size, orig_node); hdr_size 235 net/batman-adv/send.c batadv_send_skb_push_fill_unicast(struct sk_buff *skb, int hdr_size, hdr_size 241 net/batman-adv/send.c if (batadv_skb_head_push(skb, hdr_size) < 0) hdr_size 420 net/batman-adv/soft-interface.c struct sk_buff *skb, int hdr_size, hdr_size 433 net/batman-adv/soft-interface.c skb_pull_rcsum(skb, hdr_size); hdr_size 20 net/batman-adv/soft-interface.h struct sk_buff *skb, int hdr_size, hdr_size 568 net/batman-adv/translation-table.c int hdr_size; hdr_size 578 net/batman-adv/translation-table.c hdr_size = sizeof(struct batadv_unicast_tvlv_packet); hdr_size 579 net/batman-adv/translation-table.c hdr_size += sizeof(struct batadv_tvlv_hdr); hdr_size 580 net/batman-adv/translation-table.c hdr_size += sizeof(struct batadv_tvlv_tt_data); hdr_size 581 net/batman-adv/translation-table.c hdr_size += num_vlan * sizeof(struct batadv_tvlv_tt_vlan_data); hdr_size 583 net/batman-adv/translation-table.c return hdr_size + batadv_tt_len(tt_local_entries); hdr_size 5833 net/bluetooth/l2cap_core.c int hdr_size; hdr_size 5836 net/bluetooth/l2cap_core.c hdr_size = L2CAP_EXT_HDR_SIZE; hdr_size 5838 net/bluetooth/l2cap_core.c hdr_size = L2CAP_ENH_HDR_SIZE; hdr_size 5843 net/bluetooth/l2cap_core.c our_fcs = crc16(0, skb->data - hdr_size, skb->len + hdr_size); hdr_size 688 net/mac80211/status.c unsigned int hdr_size = hdr_size 693 net/mac80211/status.c (ieee80211_get_tdls_action(skb, hdr_size) == hdr_size 2345 net/mpls/af_mpls.c unsigned int hdr_size = 0; hdr_size 2407 net/mpls/af_mpls.c hdr_size = n_labels * sizeof(struct mpls_shim_hdr); hdr_size 2418 net/mpls/af_mpls.c if (hdr_size) { hdr_size 2422 net/mpls/af_mpls.c if (skb_cow(skb, hdr_size)) { hdr_size 2427 net/mpls/af_mpls.c skb_reserve(skb, hdr_size); hdr_size 2428 net/mpls/af_mpls.c skb_push(skb, hdr_size); hdr_size 2447 net/mpls/af_mpls.c if (hdr_size) { hdr_size 2448 net/mpls/af_mpls.c skb_pull(skb, hdr_size); hdr_size 29 samples/bpf/tcp_tos_reflect_kern.c int hdr_size = 0; hdr_size 47 samples/bpf/tcp_tos_reflect_kern.c hdr_size = sizeof(struct iphdr); hdr_size 49 samples/bpf/tcp_tos_reflect_kern.c hdr_size = sizeof(struct ipv6hdr); hdr_size 51 samples/bpf/tcp_tos_reflect_kern.c header, hdr_size); hdr_size 20 scripts/dtc/flattree.c int hdr_size; hdr_size 329 scripts/dtc/flattree.c reserve_off = ALIGN(vi->hdr_size, 8); hdr_size 404 scripts/dtc/flattree.c blob = data_append_data(blob, &fdt, vi->hdr_size); hdr_size 92 tools/testing/selftests/bpf/progs/bpf_flow.c __u16 hdr_size, hdr_size 101 tools/testing/selftests/bpf/progs/bpf_flow.c if (thoff > (USHRT_MAX - hdr_size)) hdr_size 105 tools/testing/selftests/bpf/progs/bpf_flow.c if (hdr + hdr_size <= data_end) hdr_size 108 tools/testing/selftests/bpf/progs/bpf_flow.c if (bpf_skb_load_bytes(skb, thoff, buffer, hdr_size))