hdrlen 28 arch/s390/include/uapi/asm/monwriter.h unsigned char hdrlen; hdrlen 36 crypto/asymmetric_keys/mscode_parser.c int mscode_note_content_type(void *context, size_t hdrlen, hdrlen 68 crypto/asymmetric_keys/mscode_parser.c int mscode_note_digest_algo(void *context, size_t hdrlen, hdrlen 116 crypto/asymmetric_keys/mscode_parser.c int mscode_note_digest(void *context, size_t hdrlen, hdrlen 204 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_note_OID(void *context, size_t hdrlen, hdrlen 223 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_sig_note_digest_algo(void *context, size_t hdrlen, hdrlen 261 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_sig_note_pkey_algo(void *context, size_t hdrlen, hdrlen 282 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_check_content_type(void *context, size_t hdrlen, hdrlen 299 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_note_signeddata_version(void *context, size_t hdrlen, hdrlen 333 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_note_signerinfo_version(void *context, size_t hdrlen, hdrlen 376 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_extract_cert(void *context, size_t hdrlen, hdrlen 394 crypto/asymmetric_keys/pkcs7_parser.c value -= hdrlen; hdrlen 395 crypto/asymmetric_keys/pkcs7_parser.c vlen += hdrlen; hdrlen 416 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_note_certificate_list(void *context, size_t hdrlen, hdrlen 434 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_note_content(void *context, size_t hdrlen, hdrlen 454 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_note_data(void *context, size_t hdrlen, hdrlen 464 crypto/asymmetric_keys/pkcs7_parser.c ctx->msg->data_hdrlen = hdrlen; hdrlen 471 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_sig_note_authenticated_attr(void *context, size_t hdrlen, hdrlen 501 crypto/asymmetric_keys/pkcs7_parser.c hdrlen, tag, value, vlen); hdrlen 554 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_sig_note_set_of_authattrs(void *context, size_t hdrlen, hdrlen 574 crypto/asymmetric_keys/pkcs7_parser.c sinfo->authattrs = value - (hdrlen - 1); hdrlen 575 crypto/asymmetric_keys/pkcs7_parser.c sinfo->authattrs_len = vlen + (hdrlen - 1); hdrlen 582 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_sig_note_serial(void *context, size_t hdrlen, hdrlen 595 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_sig_note_issuer(void *context, size_t hdrlen, hdrlen 608 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_sig_note_skid(void *context, size_t hdrlen, hdrlen 624 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_sig_note_signature(void *context, size_t hdrlen, hdrlen 641 crypto/asymmetric_keys/pkcs7_parser.c int pkcs7_note_signed_info(void *context, size_t hdrlen, hdrlen 33 crypto/asymmetric_keys/pkcs8_parser.c int pkcs8_note_OID(void *context, size_t hdrlen, hdrlen 53 crypto/asymmetric_keys/pkcs8_parser.c int pkcs8_note_version(void *context, size_t hdrlen, hdrlen 67 crypto/asymmetric_keys/pkcs8_parser.c int pkcs8_note_algo(void *context, size_t hdrlen, hdrlen 83 crypto/asymmetric_keys/pkcs8_parser.c int pkcs8_note_key(void *context, size_t hdrlen, hdrlen 21 crypto/asymmetric_keys/tpm_parser.c int tpm_note_key(void *context, size_t hdrlen, hdrlen 155 crypto/asymmetric_keys/x509_cert_parser.c int x509_note_OID(void *context, size_t hdrlen, hdrlen 175 crypto/asymmetric_keys/x509_cert_parser.c int x509_note_tbs_certificate(void *context, size_t hdrlen, hdrlen 182 crypto/asymmetric_keys/x509_cert_parser.c hdrlen, tag, (unsigned long)value - ctx->data, vlen); hdrlen 184 crypto/asymmetric_keys/x509_cert_parser.c ctx->cert->tbs = value - hdrlen; hdrlen 185 crypto/asymmetric_keys/x509_cert_parser.c ctx->cert->tbs_size = vlen + hdrlen; hdrlen 192 crypto/asymmetric_keys/x509_cert_parser.c int x509_note_pkey_algo(void *context, size_t hdrlen, hdrlen 254 crypto/asymmetric_keys/x509_cert_parser.c int x509_note_signature(void *context, size_t hdrlen, hdrlen 286 crypto/asymmetric_keys/x509_cert_parser.c int x509_note_serial(void *context, size_t hdrlen, hdrlen 299 crypto/asymmetric_keys/x509_cert_parser.c int x509_extract_name_segment(void *context, size_t hdrlen, hdrlen 328 crypto/asymmetric_keys/x509_cert_parser.c static int x509_fabricate_name(struct x509_parse_context *ctx, size_t hdrlen, hdrlen 403 crypto/asymmetric_keys/x509_cert_parser.c int x509_note_issuer(void *context, size_t hdrlen, hdrlen 410 crypto/asymmetric_keys/x509_cert_parser.c return x509_fabricate_name(ctx, hdrlen, tag, &ctx->cert->issuer, vlen); hdrlen 413 crypto/asymmetric_keys/x509_cert_parser.c int x509_note_subject(void *context, size_t hdrlen, hdrlen 420 crypto/asymmetric_keys/x509_cert_parser.c return x509_fabricate_name(ctx, hdrlen, tag, &ctx->cert->subject, vlen); hdrlen 426 crypto/asymmetric_keys/x509_cert_parser.c int x509_note_params(void *context, size_t hdrlen, hdrlen 439 crypto/asymmetric_keys/x509_cert_parser.c ctx->params = value - hdrlen; hdrlen 440 crypto/asymmetric_keys/x509_cert_parser.c ctx->params_size = vlen + hdrlen; hdrlen 447 crypto/asymmetric_keys/x509_cert_parser.c int x509_extract_key_data(void *context, size_t hdrlen, hdrlen 476 crypto/asymmetric_keys/x509_cert_parser.c int x509_process_extension(void *context, size_t hdrlen, hdrlen 533 crypto/asymmetric_keys/x509_cert_parser.c int x509_decode_time(time64_t *_t, size_t hdrlen, hdrlen 610 crypto/asymmetric_keys/x509_cert_parser.c int x509_note_not_before(void *context, size_t hdrlen, hdrlen 615 crypto/asymmetric_keys/x509_cert_parser.c return x509_decode_time(&ctx->cert->valid_from, hdrlen, tag, value, vlen); hdrlen 618 crypto/asymmetric_keys/x509_cert_parser.c int x509_note_not_after(void *context, size_t hdrlen, hdrlen 623 crypto/asymmetric_keys/x509_cert_parser.c return x509_decode_time(&ctx->cert->valid_to, hdrlen, tag, value, vlen); hdrlen 629 crypto/asymmetric_keys/x509_cert_parser.c int x509_akid_note_kid(void *context, size_t hdrlen, hdrlen 652 crypto/asymmetric_keys/x509_cert_parser.c int x509_akid_note_name(void *context, size_t hdrlen, hdrlen 668 crypto/asymmetric_keys/x509_cert_parser.c int x509_akid_note_serial(void *context, size_t hdrlen, hdrlen 49 crypto/asymmetric_keys/x509_parser.h extern int x509_decode_time(time64_t *_t, size_t hdrlen, hdrlen 149 crypto/ecrdsa.c int ecrdsa_param_curve(void *context, size_t hdrlen, unsigned char tag, hdrlen 162 crypto/ecrdsa.c int ecrdsa_param_digest(void *context, size_t hdrlen, unsigned char tag, hdrlen 173 crypto/ecrdsa.c int ecrdsa_parse_pub_key(void *context, size_t hdrlen, unsigned char tag, hdrlen 16 crypto/rsa_helper.c int rsa_get_n(void *context, size_t hdrlen, unsigned char tag, hdrlen 46 crypto/rsa_helper.c int rsa_get_e(void *context, size_t hdrlen, unsigned char tag, hdrlen 61 crypto/rsa_helper.c int rsa_get_d(void *context, size_t hdrlen, unsigned char tag, hdrlen 76 crypto/rsa_helper.c int rsa_get_p(void *context, size_t hdrlen, unsigned char tag, hdrlen 91 crypto/rsa_helper.c int rsa_get_q(void *context, size_t hdrlen, unsigned char tag, hdrlen 106 crypto/rsa_helper.c int rsa_get_dp(void *context, size_t hdrlen, unsigned char tag, hdrlen 121 crypto/rsa_helper.c int rsa_get_dq(void *context, size_t hdrlen, unsigned char tag, hdrlen 136 crypto/rsa_helper.c int rsa_get_qinv(void *context, size_t hdrlen, unsigned char tag, hdrlen 3251 drivers/base/core.c create_syslog_header(const struct device *dev, char *hdr, size_t hdrlen) hdrlen 3263 drivers/base/core.c pos += snprintf(hdr + pos, hdrlen - pos, "SUBSYSTEM=%s", subsys); hdrlen 3264 drivers/base/core.c if (pos >= hdrlen) hdrlen 3282 drivers/base/core.c pos += snprintf(hdr + pos, hdrlen - pos, hdrlen 3289 drivers/base/core.c pos += snprintf(hdr + pos, hdrlen - pos, hdrlen 3293 drivers/base/core.c pos += snprintf(hdr + pos, hdrlen - pos, hdrlen 3297 drivers/base/core.c if (pos >= hdrlen) hdrlen 3311 drivers/base/core.c size_t hdrlen; hdrlen 3313 drivers/base/core.c hdrlen = create_syslog_header(dev, hdr, sizeof(hdr)); hdrlen 3315 drivers/base/core.c return vprintk_emit(0, level, hdrlen ? hdr : NULL, hdrlen, fmt, args); hdrlen 3292 drivers/block/drbd/drbd_nl.c const unsigned hdrlen = GENL_HDRLEN + GENL_MAGIC_FAMILY_HDRSZ; hdrlen 3296 drivers/block/drbd/drbd_nl.c nla = nla_find(nlmsg_attrdata(nlh, hdrlen), nlmsg_attrlen(nlh, hdrlen), hdrlen 4056 drivers/block/drbd/drbd_nl.c const unsigned hdrlen = GENL_HDRLEN + GENL_MAGIC_FAMILY_HDRSZ; hdrlen 4073 drivers/block/drbd/drbd_nl.c nla = nla_find(nlmsg_attrdata(cb->nlh, hdrlen), hdrlen 4074 drivers/block/drbd/drbd_nl.c nlmsg_attrlen(cb->nlh, hdrlen), hdrlen 316 drivers/crypto/chelsio/chcr_ipsec.c int hdrlen; hdrlen 319 drivers/crypto/chelsio/chcr_ipsec.c hdrlen = sizeof(struct fw_ulptx_wr) + hdrlen 322 drivers/crypto/chelsio/chcr_ipsec.c hdrlen += sizeof(struct cpl_tx_pkt); hdrlen 324 drivers/crypto/chelsio/chcr_ipsec.c hdrlen += (DIV_ROUND_UP(sizeof(struct chcr_ipsec_aadiv), 16) hdrlen 326 drivers/crypto/chelsio/chcr_ipsec.c if (skb->len <= MAX_IMM_TX_PKT_LEN - hdrlen) hdrlen 327 drivers/crypto/chelsio/chcr_ipsec.c return hdrlen; hdrlen 338 drivers/crypto/chelsio/chcr_ipsec.c int hdrlen; hdrlen 341 drivers/crypto/chelsio/chcr_ipsec.c hdrlen = is_eth_imm(skb, sa_entry); hdrlen 351 drivers/crypto/chelsio/chcr_ipsec.c if (hdrlen) { hdrlen 353 drivers/crypto/chelsio/chcr_ipsec.c return DIV_ROUND_UP(skb->len + hdrlen, sizeof(__be64)); hdrlen 229 drivers/gpu/drm/drm_dp_mst_topology.c u8 *buf, int buflen, u8 *hdrlen) hdrlen 261 drivers/gpu/drm/drm_dp_mst_topology.c *hdrlen = idx; hdrlen 398 drivers/gpu/drm/drm_dp_mst_topology.c u8 hdrlen; hdrlen 400 drivers/gpu/drm/drm_dp_mst_topology.c ret = drm_dp_decode_sideband_msg_hdr(&recv_hdr, replybuf, replybuflen, &hdrlen); hdrlen 415 drivers/gpu/drm/drm_dp_mst_topology.c msg->curchunk_hdrlen = hdrlen; hdrlen 429 drivers/gpu/drm/drm_dp_mst_topology.c msg->curchunk_idx = min(msg->curchunk_len, (u8)(replybuflen - hdrlen)); hdrlen 430 drivers/gpu/drm/drm_dp_mst_topology.c memcpy(&msg->chunk[0], replybuf + hdrlen, msg->curchunk_idx); hdrlen 114 drivers/infiniband/hw/hfi1/rc.c u32 hwords, hdrlen; hdrlen 328 drivers/infiniband/hw/hfi1/rc.c hdrlen = hfi1_build_tid_rdma_write_resp(qp, e, ohdr, &bth1, hdrlen 331 drivers/infiniband/hw/hfi1/rc.c if (!hdrlen) hdrlen 334 drivers/infiniband/hw/hfi1/rc.c hwords += hdrlen; hdrlen 1043 drivers/infiniband/hw/i40iw/i40iw_puda.c txbuf->hdrlen = buf->hdrlen; hdrlen 1044 drivers/infiniband/hw/i40iw/i40iw_puda.c i40iw_ieq_copy_to_txbuf(buf, txbuf, 0, 0, buf->hdrlen); hdrlen 1088 drivers/infiniband/hw/i40iw/i40iw_puda.c txbuf->totallen = buf->hdrlen + fpdu_len; hdrlen 1089 drivers/infiniband/hw/i40iw/i40iw_puda.c txbuf->data = (u8 *)txbuf->mem.va + buf->hdrlen; hdrlen 1092 drivers/infiniband/hw/i40iw/i40iw_puda.c txoffset = buf->hdrlen; hdrlen 1299 drivers/infiniband/hw/i40iw/i40iw_puda.c i40iw_ieq_copy_to_txbuf(buf, txbuf, ioffset, buf->hdrlen, hdrlen 1301 drivers/infiniband/hw/i40iw/i40iw_puda.c txbuf->totallen = buf->hdrlen + length; hdrlen 94 drivers/infiniband/hw/i40iw/i40iw_puda.h u8 hdrlen; hdrlen 1498 drivers/infiniband/hw/i40iw/i40iw_utils.c buf->hdrlen = buf->maclen + iphlen + buf->tcphlen; hdrlen 1496 drivers/net/ethernet/cadence/macb_main.c unsigned int hdrlen) hdrlen 1521 drivers/net/ethernet/cadence/macb_main.c size = hdrlen; hdrlen 1671 drivers/net/ethernet/cadence/macb_main.c unsigned int hdrlen; hdrlen 1680 drivers/net/ethernet/cadence/macb_main.c hdrlen = skb_transport_offset(skb); hdrlen 1686 drivers/net/ethernet/cadence/macb_main.c if (!IS_ALIGNED(skb_headlen(skb) - hdrlen, MACB_TX_LEN_ALIGN)) hdrlen 1783 drivers/net/ethernet/cadence/macb_main.c unsigned int hdrlen; hdrlen 1805 drivers/net/ethernet/cadence/macb_main.c hdrlen = skb_transport_offset(skb); hdrlen 1807 drivers/net/ethernet/cadence/macb_main.c hdrlen = skb_transport_offset(skb) + tcp_hdrlen(skb); hdrlen 1808 drivers/net/ethernet/cadence/macb_main.c if (skb_headlen(skb) < hdrlen) { hdrlen 1814 drivers/net/ethernet/cadence/macb_main.c hdrlen = min(skb_headlen(skb), bp->max_tx_length); hdrlen 1829 drivers/net/ethernet/cadence/macb_main.c if (is_lso && (skb_headlen(skb) > hdrlen)) hdrlen 1831 drivers/net/ethernet/cadence/macb_main.c desc_cnt = DIV_ROUND_UP((skb_headlen(skb) - hdrlen), bp->max_tx_length) + 1; hdrlen 1853 drivers/net/ethernet/cadence/macb_main.c if (!macb_tx_map(bp, queue, skb, hdrlen)) { hdrlen 787 drivers/net/ethernet/chelsio/cxgb4/sge.c int hdrlen = 0; hdrlen 791 drivers/net/ethernet/chelsio/cxgb4/sge.c hdrlen = sizeof(struct cpl_tx_tnl_lso); hdrlen 792 drivers/net/ethernet/chelsio/cxgb4/sge.c hdrlen += sizeof(struct cpl_tx_pkt_core); hdrlen 794 drivers/net/ethernet/chelsio/cxgb4/sge.c hdrlen = skb_shinfo(skb)->gso_size ? hdrlen 796 drivers/net/ethernet/chelsio/cxgb4/sge.c hdrlen += sizeof(struct cpl_tx_pkt); hdrlen 798 drivers/net/ethernet/chelsio/cxgb4/sge.c if (skb->len <= MAX_IMM_TX_PKT_LEN - hdrlen) hdrlen 799 drivers/net/ethernet/chelsio/cxgb4/sge.c return hdrlen; hdrlen 814 drivers/net/ethernet/chelsio/cxgb4/sge.c int hdrlen = is_eth_imm(skb, chip_ver); hdrlen 821 drivers/net/ethernet/chelsio/cxgb4/sge.c if (hdrlen) hdrlen 822 drivers/net/ethernet/chelsio/cxgb4/sge.c return DIV_ROUND_UP(skb->len + hdrlen, sizeof(__be64)); hdrlen 835 drivers/net/ethernet/chelsio/cxgb4/sge.c hdrlen = sizeof(struct fw_eth_tx_pkt_wr) + hdrlen 838 drivers/net/ethernet/chelsio/cxgb4/sge.c hdrlen = sizeof(struct fw_eth_tx_pkt_wr) + hdrlen 841 drivers/net/ethernet/chelsio/cxgb4/sge.c hdrlen += sizeof(struct cpl_tx_pkt_core); hdrlen 842 drivers/net/ethernet/chelsio/cxgb4/sge.c flits += (hdrlen / sizeof(__be64)); hdrlen 1107 drivers/net/ethernet/emulex/benet/be_main.c if (ehdr->hdrlen == 0xff) hdrlen 64 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c txd->mss, txd->hdrlen, txd->flags); hdrlen 759 drivers/net/ethernet/intel/fm10k/fm10k_main.c u8 hdrlen; hdrlen 777 drivers/net/ethernet/intel/fm10k/fm10k_main.c hdrlen = (th - skb->data) + (((struct tcphdr *)th)->doff << 2); hdrlen 783 drivers/net/ethernet/intel/fm10k/fm10k_main.c first->bytecount += (first->gso_segs - 1) * hdrlen; hdrlen 787 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_desc->hdrlen = hdrlen; hdrlen 881 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_desc->hdrlen = 0; hdrlen 669 drivers/net/ethernet/intel/fm10k/fm10k_type.h u8 hdrlen; /* Header size for segmentation offload */ hdrlen 730 drivers/net/ethernet/netronome/nfp/nfp_net_common.c u32 l3_offset, l4_offset, hdrlen; hdrlen 739 drivers/net/ethernet/netronome/nfp/nfp_net_common.c hdrlen = skb_transport_offset(skb) + tcp_hdrlen(skb); hdrlen 743 drivers/net/ethernet/netronome/nfp/nfp_net_common.c hdrlen = skb_inner_transport_header(skb) - skb->data + hdrlen 748 drivers/net/ethernet/netronome/nfp/nfp_net_common.c txbuf->real_len += hdrlen * (txbuf->pkt_cnt - 1); hdrlen 753 drivers/net/ethernet/netronome/nfp/nfp_net_common.c txd->lso_hdrlen = hdrlen - md_bytes; hdrlen 3506 drivers/net/ethernet/netronome/nfp/nfp_net_common.c u32 hdrlen; hdrlen 3508 drivers/net/ethernet/netronome/nfp/nfp_net_common.c hdrlen = skb_inner_transport_header(skb) - skb->data + hdrlen 3514 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (unlikely(hdrlen > NFP_NET_LSO_MAX_HDR_SZ - 8)) hdrlen 2811 drivers/net/ethernet/nvidia/forcedeth.c int hdrlen; /* length of the 802 header */ hdrlen 2817 drivers/net/ethernet/nvidia/forcedeth.c hdrlen = VLAN_HLEN; hdrlen 2820 drivers/net/ethernet/nvidia/forcedeth.c hdrlen = ETH_HLEN; hdrlen 2825 drivers/net/ethernet/nvidia/forcedeth.c protolen += hdrlen; hdrlen 506 drivers/net/ethernet/pensando/ionic/ionic_txrx.c unsigned int hdrlen, unsigned int mss, hdrlen 523 drivers/net/ethernet/pensando/ionic/ionic_txrx.c desc->hdr_len = cpu_to_le16(hdrlen); hdrlen 557 drivers/net/ethernet/pensando/ionic/ionic_txrx.c unsigned int hdrlen; hdrlen 597 drivers/net/ethernet/pensando/ionic/ionic_txrx.c hdrlen = skb_inner_transport_header(skb) - skb->data + hdrlen 600 drivers/net/ethernet/pensando/ionic/ionic_txrx.c hdrlen = skb_transport_offset(skb) + tcp_hdrlen(skb); hdrlen 602 drivers/net/ethernet/pensando/ionic/ionic_txrx.c seglen = hdrlen + mss; hdrlen 625 drivers/net/ethernet/pensando/ionic/ionic_txrx.c hdrlen, mss, hdrlen 630 drivers/net/ethernet/pensando/ionic/ionic_txrx.c total_bytes += start ? len : len + hdrlen; hdrlen 664 drivers/net/ethernet/pensando/ionic/ionic_txrx.c hdrlen, mss, outer_csum, hdrlen 668 drivers/net/ethernet/pensando/ionic/ionic_txrx.c total_bytes += start ? len : len + hdrlen; hdrlen 687 drivers/net/ethernet/pensando/ionic/ionic_txrx.c hdrlen, mss, outer_csum, hdrlen 691 drivers/net/ethernet/pensando/ionic/ionic_txrx.c total_bytes += start ? len : len + hdrlen; hdrlen 1728 drivers/net/ethernet/qlogic/qede/qede_fp.c u16 hdrlen, vxln_port, gnv_port; hdrlen 1730 drivers/net/ethernet/qlogic/qede/qede_fp.c hdrlen = QEDE_MAX_TUN_HDR_LEN; hdrlen 1735 drivers/net/ethernet/qlogic/qede/qede_fp.c skb_transport_header(skb)) > hdrlen || hdrlen 58 drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h int hdrlen, int pad); hdrlen 271 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c int hdrlen, int pad) hdrlen 277 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c map_datalen = skb->len - hdrlen; hdrlen 154 drivers/net/gtp.c unsigned int hdrlen, unsigned int role) hdrlen 158 drivers/net/gtp.c if (!pskb_may_pull(skb, hdrlen + sizeof(struct iphdr))) hdrlen 161 drivers/net/gtp.c iph = (struct iphdr *)(skb->data + hdrlen); hdrlen 173 drivers/net/gtp.c unsigned int hdrlen, unsigned int role) hdrlen 177 drivers/net/gtp.c return gtp_check_ms_ipv4(skb, pctx, hdrlen, role); hdrlen 183 drivers/net/gtp.c unsigned int hdrlen, unsigned int role) hdrlen 187 drivers/net/gtp.c if (!gtp_check_ms(skb, pctx, hdrlen, role)) { hdrlen 193 drivers/net/gtp.c if (iptunnel_pull_header(skb, hdrlen, skb->protocol, hdrlen 220 drivers/net/gtp.c unsigned int hdrlen = sizeof(struct udphdr) + hdrlen 225 drivers/net/gtp.c if (!pskb_may_pull(skb, hdrlen)) hdrlen 242 drivers/net/gtp.c return gtp_rx(pctx, skb, hdrlen, gtp->role); hdrlen 247 drivers/net/gtp.c unsigned int hdrlen = sizeof(struct udphdr) + hdrlen 252 drivers/net/gtp.c if (!pskb_may_pull(skb, hdrlen)) hdrlen 270 drivers/net/gtp.c hdrlen += 4; hdrlen 273 drivers/net/gtp.c if (!pskb_may_pull(skb, hdrlen)) hdrlen 284 drivers/net/gtp.c return gtp_rx(pctx, skb, hdrlen, gtp->role); hdrlen 42 drivers/net/ppp/ppp_deflate.c int unit, int hdrlen, int debug); hdrlen 45 drivers/net/ppp/ppp_deflate.c int unit, int hdrlen, int mru, int debug); hdrlen 138 drivers/net/ppp/ppp_deflate.c int unit, int hdrlen, int debug) hdrlen 353 drivers/net/ppp/ppp_deflate.c int unit, int hdrlen, int mru, int debug) hdrlen 85 drivers/net/ppp/ppp_generic.c int hdrlen; /* space to leave for headers */ hdrlen 502 drivers/net/ppp/ppp_generic.c skb = alloc_skb(count + pf->hdrlen, GFP_KERNEL); hdrlen 505 drivers/net/ppp/ppp_generic.c skb_reserve(skb, pf->hdrlen); hdrlen 1020 drivers/net/ppp/ppp_generic.c ppp->file.hdrlen = PPP_HDRLEN - 2; /* don't count proto bytes */ hdrlen 1679 drivers/net/ppp/ppp_generic.c int i, bits, hdrlen, mtu; hdrlen 1699 drivers/net/ppp/ppp_generic.c hdrlen = (ppp->flags & SC_MP_XSHORTSEQ)? MPHDRLEN_SSN: MPHDRLEN; hdrlen 1814 drivers/net/ppp/ppp_generic.c flen = (((totfree - nzero)*(totlen + hdrlen*totfree)) / hdrlen 1815 drivers/net/ppp/ppp_generic.c ((totspeed*totfree)/pch->speed)) - hdrlen; hdrlen 1849 drivers/net/ppp/ppp_generic.c mtu = pch->chan->mtu - (hdrlen - 2); hdrlen 1856 drivers/net/ppp/ppp_generic.c frag = alloc_skb(flen + hdrlen + (flen == 0), GFP_ATOMIC); hdrlen 1859 drivers/net/ppp/ppp_generic.c q = skb_put(frag, flen + hdrlen); hdrlen 1873 drivers/net/ppp/ppp_generic.c memcpy(q + hdrlen, p, flen); hdrlen 2616 drivers/net/ppp/ppp_generic.c pch->file.hdrlen = chan->hdrlen; hdrlen 3179 drivers/net/ppp/ppp_generic.c int hdrlen; hdrlen 3202 drivers/net/ppp/ppp_generic.c if (pch->file.hdrlen > ppp->file.hdrlen) hdrlen 3203 drivers/net/ppp/ppp_generic.c ppp->file.hdrlen = pch->file.hdrlen; hdrlen 3204 drivers/net/ppp/ppp_generic.c hdrlen = pch->file.hdrlen + 2; /* for protocol bytes */ hdrlen 3205 drivers/net/ppp/ppp_generic.c if (hdrlen > ppp->dev->hard_header_len) hdrlen 3206 drivers/net/ppp/ppp_generic.c ppp->dev->hard_header_len = hdrlen; hdrlen 309 drivers/net/ppp/ppp_mppe.c int hdrlen, int debug) hdrlen 415 drivers/net/ppp/ppp_mppe.c int hdrlen, int mru, int debug) hdrlen 188 drivers/net/ppp/ppp_synctty.c ap->chan.hdrlen = 2; /* for A/C bytes */ hdrlen 692 drivers/net/ppp/pppoe.c po->chan.hdrlen = (sizeof(struct pppoe_hdr) + hdrlen 459 drivers/net/ppp/pptp.c po->chan.hdrlen = 2 + sizeof(struct pptp_gre_header); hdrlen 500 drivers/net/slip/slhc.c int len, hdrlen; hdrlen 547 drivers/net/slip/slhc.c hdrlen = ip->ihl * 4 + thp->doff * 4; hdrlen 553 drivers/net/slip/slhc.c i = ntohs(ip->tot_len) - hdrlen; hdrlen 561 drivers/net/slip/slhc.c ntohs(ip->tot_len) - hdrlen); hdrlen 610 drivers/net/slip/slhc.c len += hdrlen; hdrlen 614 drivers/net/slip/slhc.c memmove(icp + hdrlen, cp, len - hdrlen); hdrlen 256 drivers/net/usb/sierra_net.c int hdrlen; hdrlen 288 drivers/net/usb/sierra_net.c hh->hdrlen = SIERRA_NET_HIP_EXT_HDR_LEN; hdrlen 291 drivers/net/usb/sierra_net.c hh->hdrlen = SIERRA_NET_HIP_HDR_LEN; hdrlen 295 drivers/net/usb/sierra_net.c hh->hdrlen++; hdrlen 300 drivers/net/usb/sierra_net.c if (buflen < (hh->hdrlen + hh->payload_len.word)) hdrlen 423 drivers/net/usb/sierra_net.c link_up = sierra_net_parse_lsi(dev, data + hh->hdrlen, hdrlen 510 drivers/net/usb/sierra_net.c if (len != hh.hdrlen + hh.payload_len.word) { hdrlen 513 drivers/net/usb/sierra_net.c hh.hdrlen + hh.payload_len.word); hdrlen 836 drivers/net/usb/sierra_net.c skb_pull(skb, hh.hdrlen); hdrlen 703 drivers/net/vxlan.c struct vxlanhdr *vh, size_t hdrlen, hdrlen 719 drivers/net/vxlan.c vh = skb_gro_remcsum_process(skb, (void *)vh, off, hdrlen, hdrlen 333 drivers/net/wireless/admtek/adm8211.c memcpy(skb_push(skb, info->hdrlen), skb->cb, info->hdrlen); hdrlen 1627 drivers/net/wireless/admtek/adm8211.c size_t hdrlen) hdrlen 1654 drivers/net/wireless/admtek/adm8211.c priv->tx_buffers[entry].hdrlen = hdrlen; hdrlen 1681 drivers/net/wireless/admtek/adm8211.c size_t payload_len, hdrlen; hdrlen 1693 drivers/net/wireless/admtek/adm8211.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 1694 drivers/net/wireless/admtek/adm8211.c memcpy(skb->cb, skb->data, hdrlen); hdrlen 1696 drivers/net/wireless/admtek/adm8211.c skb_pull(skb, hdrlen); hdrlen 1706 drivers/net/wireless/admtek/adm8211.c len = hdrlen + payload_len + FCS_LEN; hdrlen 1726 drivers/net/wireless/admtek/adm8211.c if (adm8211_tx_raw(dev, skb, plcp_signal, hdrlen)) { hdrlen 447 drivers/net/wireless/admtek/adm8211.h size_t hdrlen; hdrlen 98 drivers/net/wireless/ath/ar5523/ar5523.c u32 code, hdrlen; hdrlen 115 drivers/net/wireless/ath/ar5523/ar5523.c hdrlen = be32_to_cpu(hdr->len); hdrlen 151 drivers/net/wireless/ath/ar5523/ar5523.c dlen = hdrlen - sizeof(*hdr); hdrlen 534 drivers/net/wireless/ath/ar5523/ar5523.c int hdrlen, pad; hdrlen 585 drivers/net/wireless/ath/ar5523/ar5523.c hdrlen = ieee80211_get_hdrlen_from_skb(data->skb); hdrlen 586 drivers/net/wireless/ath/ar5523/ar5523.c if (!IS_ALIGNED(hdrlen, 4)) { hdrlen 588 drivers/net/wireless/ath/ar5523/ar5523.c pad = ALIGN(hdrlen, 4) - hdrlen; hdrlen 589 drivers/net/wireless/ath/ar5523/ar5523.c memmove(data->skb->data + pad, data->skb->data, hdrlen); hdrlen 268 drivers/net/wireless/ath/ath10k/bmi.c u32 hdrlen = sizeof(cmd.id) + sizeof(cmd.write_mem); hdrlen 281 drivers/net/wireless/ath/ath10k/bmi.c txlen = min(length, BMI_MAX_DATA_SIZE - hdrlen); hdrlen 291 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, hdrlen + txlen, hdrlen 352 drivers/net/wireless/ath/ath10k/bmi.c u32 hdrlen = sizeof(cmd.id) + sizeof(cmd.lz_data); hdrlen 365 drivers/net/wireless/ath/ath10k/bmi.c txlen = min(length, BMI_MAX_DATA_SIZE - hdrlen); hdrlen 373 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, hdrlen + txlen, hdrlen 3531 drivers/net/wireless/ath/ath10k/mac.c size_t hdrlen; hdrlen 3537 drivers/net/wireless/ath/ath10k/mac.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 3538 drivers/net/wireless/ath/ath10k/mac.c rfc1042 = (void *)skb->data + hdrlen; hdrlen 3544 drivers/net/wireless/ath/ath10k/mac.c skb_pull(skb, hdrlen + sizeof(*rfc1042)); hdrlen 2202 drivers/net/wireless/ath/ath10k/wmi.c unsigned int hdrlen; hdrlen 2210 drivers/net/wireless/ath/ath10k/wmi.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 2211 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < (hdrlen + IEEE80211_WEP_IV_LEN)) hdrlen 2214 drivers/net/wireless/ath/ath10k/wmi.c keyidx = skb->data[hdrlen + (IEEE80211_WEP_IV_LEN - 1)] >> WEP_KEYID_SHIFT; hdrlen 126 drivers/net/wireless/ath/ath9k/common.c int hdrlen, padpos, padsize; hdrlen 132 drivers/net/wireless/ath/ath9k/common.c hdrlen = ieee80211_get_hdrlen_from_skb(skb); hdrlen 156 drivers/net/wireless/ath/ath9k/common.c && !decrypt_error && skb->len >= hdrlen + 4) { hdrlen 157 drivers/net/wireless/ath/ath9k/common.c keyix = skb->data[hdrlen + 3] >> 6; hdrlen 451 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c int hdrlen, padsize; hdrlen 512 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c hdrlen = ieee80211_get_hdrlen_from_skb(skb); hdrlen 514 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c padsize = hdrlen & 3; hdrlen 515 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c if (padsize && skb->len > hdrlen + padsize) { hdrlen 516 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c memmove(skb->data + padsize, skb->data, hdrlen); hdrlen 1755 drivers/net/wireless/ath/wil6210/txrx.c int f, len, hdrlen, headlen; hdrlen 1790 drivers/net/wireless/ath/wil6210/txrx.c hdrlen = ETH_HLEN + hdrlen 1827 drivers/net/wireless/ath/wil6210/txrx.c pa = dma_map_single(dev, skb->data, hdrlen, DMA_TO_DEVICE); hdrlen 1834 drivers/net/wireless/ath/wil6210/txrx.c hdrlen, vring_index); hdrlen 1843 drivers/net/wireless/ath/wil6210/txrx.c headlen = skb_headlen(skb) - hdrlen; hdrlen 1415 drivers/net/wireless/ath/wil6210/txrx_edma.c int f, hdrlen, headlen; hdrlen 1462 drivers/net/wireless/ath/wil6210/txrx_edma.c hdrlen = ETH_HLEN + tcp_hdr_len + skb_net_hdr_len; hdrlen 1464 drivers/net/wireless/ath/wil6210/txrx_edma.c hdrlen); hdrlen 1465 drivers/net/wireless/ath/wil6210/txrx_edma.c rc = wil_tx_tso_gen_desc(wil, skb->data, hdrlen, swhead, hdrlen 1473 drivers/net/wireless/ath/wil6210/txrx_edma.c headlen = skb_headlen(skb) - hdrlen; hdrlen 1475 drivers/net/wireless/ath/wil6210/txrx_edma.c rc = wil_tx_tso_gen_desc(wil, skb->data + hdrlen, headlen, hdrlen 350 drivers/net/wireless/broadcom/b43/pio.c const u8 *hdr, unsigned int hdrlen) hdrlen 362 drivers/net/wireless/broadcom/b43/pio.c ctl = tx_write_2byte_queue(q, ctl, hdr, hdrlen); hdrlen 420 drivers/net/wireless/broadcom/b43/pio.c const u8 *hdr, unsigned int hdrlen) hdrlen 432 drivers/net/wireless/broadcom/b43/pio.c ctl = tx_write_4byte_queue(q, ctl, hdr, hdrlen); hdrlen 448 drivers/net/wireless/broadcom/b43/pio.c unsigned int hdrlen; hdrlen 457 drivers/net/wireless/broadcom/b43/pio.c hdrlen = b43_txhdr_size(dev); hdrlen 459 drivers/net/wireless/broadcom/b43/pio.c B43_WARN_ON(sizeof(wl->pio_scratchspace) < hdrlen); hdrlen 474 drivers/net/wireless/broadcom/b43/pio.c pio_tx_frame_4byte_queue(pack, (const u8 *)txhdr, hdrlen); hdrlen 476 drivers/net/wireless/broadcom/b43/pio.c pio_tx_frame_2byte_queue(pack, (const u8 *)txhdr, hdrlen); hdrlen 483 drivers/net/wireless/broadcom/b43/pio.c q->buffer_used += roundup(skb->len + hdrlen, 4); hdrlen 493 drivers/net/wireless/broadcom/b43/pio.c unsigned int hdrlen, total_len; hdrlen 510 drivers/net/wireless/broadcom/b43/pio.c hdrlen = b43_txhdr_size(dev); hdrlen 511 drivers/net/wireless/broadcom/b43/pio.c total_len = roundup(skb->len + hdrlen, 4); hdrlen 472 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c drvr->hdrlen += BCDC_HEADER_LEN + BRCMF_PROT_FW_SIGNAL_MAX_TXBYTES; hdrlen 323 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c if (skb_headroom(skb) < drvr->hdrlen || skb_header_cloned(skb)) { hdrlen 324 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c head_delta = max_t(int, drvr->hdrlen - skb_headroom(skb), 0); hdrlen 645 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c ndev->needed_headroom += drvr->hdrlen; hdrlen 1256 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c drvr->hdrlen = 0; hdrlen 1292 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c drvr->hdrlen += len; hdrlen 104 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h uint hdrlen; /* Total BRCMF header length (proto + bus) */ hdrlen 954 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 4 + fws->drvr->hdrlen; hdrlen 3292 drivers/net/wireless/cisco/airo.c u16 len, hdrlen = 0, gap, fid; hdrlen 3331 drivers/net/wireless/cisco/airo.c hdrlen = header_len(fc); hdrlen 3333 drivers/net/wireless/cisco/airo.c hdrlen = ETH_ALEN * 2; hdrlen 3335 drivers/net/wireless/cisco/airo.c skb = dev_alloc_skb(len + hdrlen + 2 + 2); hdrlen 3342 drivers/net/wireless/cisco/airo.c buffer = skb_put(skb, len + hdrlen); hdrlen 3345 drivers/net/wireless/cisco/airo.c bap_read(ai, buffer + 1, hdrlen - 2, BAP0); hdrlen 3346 drivers/net/wireless/cisco/airo.c if (hdrlen == 24) hdrlen 3359 drivers/net/wireless/cisco/airo.c bap_read(ai, buffer + hdrlen/2, len, BAP0); hdrlen 3375 drivers/net/wireless/cisco/airo.c skb_trim(skb, len + hdrlen); hdrlen 3713 drivers/net/wireless/cisco/airo.c u16 len, hdrlen = 0; hdrlen 3737 drivers/net/wireless/cisco/airo.c hdrlen = header_len(fc); hdrlen 3739 drivers/net/wireless/cisco/airo.c skb = dev_alloc_skb( len + hdrlen + 2 ); hdrlen 3744 drivers/net/wireless/cisco/airo.c buffer = skb_put(skb, len + hdrlen); hdrlen 3745 drivers/net/wireless/cisco/airo.c memcpy ((char *)buffer, ptr, hdrlen); hdrlen 3746 drivers/net/wireless/cisco/airo.c ptr += hdrlen; hdrlen 3747 drivers/net/wireless/cisco/airo.c if (hdrlen == 24) hdrlen 3758 drivers/net/wireless/cisco/airo.c memcpy ((char *)buffer + hdrlen, ptr, len); hdrlen 4375 drivers/net/wireless/cisco/airo.c int hdrlen; hdrlen 4382 drivers/net/wireless/cisco/airo.c hdrlen = header_len(fc); hdrlen 4384 drivers/net/wireless/cisco/airo.c if (len < hdrlen) { hdrlen 4394 drivers/net/wireless/cisco/airo.c payloadLen = cpu_to_le16(len-hdrlen); hdrlen 4397 drivers/net/wireless/cisco/airo.c bap_write(ai, (__le16 *)pPacket, hdrlen, BAP1); hdrlen 4398 drivers/net/wireless/cisco/airo.c bap_write(ai, (__le16 *)(tail + (hdrlen - 10)), 38 - hdrlen, BAP1); hdrlen 4400 drivers/net/wireless/cisco/airo.c bap_write(ai, (__le16 *)(pPacket + hdrlen), len - hdrlen, BAP1); hdrlen 875 drivers/net/wireless/intel/ipw2x00/libipw.h int hdrlen = LIBIPW_3ADDR_LEN; hdrlen 881 drivers/net/wireless/intel/ipw2x00/libipw.h hdrlen = LIBIPW_4ADDR_LEN; hdrlen 883 drivers/net/wireless/intel/ipw2x00/libipw.h hdrlen += 2; hdrlen 889 drivers/net/wireless/intel/ipw2x00/libipw.h hdrlen = LIBIPW_1ADDR_LEN; hdrlen 892 drivers/net/wireless/intel/ipw2x00/libipw.h hdrlen = LIBIPW_2ADDR_LEN; hdrlen 898 drivers/net/wireless/intel/ipw2x00/libipw.h return hdrlen; hdrlen 272 drivers/net/wireless/intel/ipw2x00/libipw_rx.c int res, hdrlen; hdrlen 278 drivers/net/wireless/intel/ipw2x00/libipw_rx.c hdrlen = libipw_get_hdrlen(le16_to_cpu(hdr->frame_ctl)); hdrlen 281 drivers/net/wireless/intel/ipw2x00/libipw_rx.c res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); hdrlen 289 drivers/net/wireless/intel/ipw2x00/libipw_rx.c skb->data[hdrlen + 3] >> 6); hdrlen 304 drivers/net/wireless/intel/ipw2x00/libipw_rx.c int res, hdrlen; hdrlen 310 drivers/net/wireless/intel/ipw2x00/libipw_rx.c hdrlen = libipw_get_hdrlen(le16_to_cpu(hdr->frame_ctl)); hdrlen 313 drivers/net/wireless/intel/ipw2x00/libipw_rx.c res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); hdrlen 333 drivers/net/wireless/intel/ipw2x00/libipw_rx.c size_t hdrlen; hdrlen 363 drivers/net/wireless/intel/ipw2x00/libipw_rx.c hdrlen = libipw_get_hdrlen(fc); hdrlen 365 drivers/net/wireless/intel/ipw2x00/libipw_rx.c if (skb->len < hdrlen) { hdrlen 420 drivers/net/wireless/intel/ipw2x00/libipw_rx.c if (skb->len >= hdrlen + 3) { hdrlen 422 drivers/net/wireless/intel/ipw2x00/libipw_rx.c keyidx = skb->data[hdrlen + 3] >> 6; hdrlen 594 drivers/net/wireless/intel/ipw2x00/libipw_rx.c flen -= hdrlen; hdrlen 611 drivers/net/wireless/intel/ipw2x00/libipw_rx.c skb_copy_from_linear_data_offset(skb, hdrlen, hdrlen 666 drivers/net/wireless/intel/ipw2x00/libipw_rx.c if (skb->len >= hdrlen + 3) hdrlen 667 drivers/net/wireless/intel/ipw2x00/libipw_rx.c keyidx = skb->data[hdrlen + 3] >> 6; hdrlen 677 drivers/net/wireless/intel/ipw2x00/libipw_rx.c hdrlen += 4; hdrlen 683 drivers/net/wireless/intel/ipw2x00/libipw_rx.c hdrlen += 8; hdrlen 689 drivers/net/wireless/intel/ipw2x00/libipw_rx.c hdrlen += 8; hdrlen 700 drivers/net/wireless/intel/ipw2x00/libipw_rx.c if (skb->len < hdrlen) hdrlen 706 drivers/net/wireless/intel/ipw2x00/libipw_rx.c payload = skb->data + hdrlen; hdrlen 735 drivers/net/wireless/intel/ipw2x00/libipw_rx.c if (skb->len - hdrlen >= 8 && hdrlen 741 drivers/net/wireless/intel/ipw2x00/libipw_rx.c skb_pull(skb, hdrlen + SNAP_SIZE); hdrlen 747 drivers/net/wireless/intel/ipw2x00/libipw_rx.c skb_pull(skb, hdrlen); hdrlen 619 drivers/net/wireless/intel/iwlwifi/dvm/rx.c unsigned int hdrlen, fraglen; hdrlen 645 drivers/net/wireless/intel/iwlwifi/dvm/rx.c hdrlen = (len <= skb_tailroom(skb)) ? len : sizeof(*hdr); hdrlen 647 drivers/net/wireless/intel/iwlwifi/dvm/rx.c skb_put_data(skb, hdr, hdrlen); hdrlen 648 drivers/net/wireless/intel/iwlwifi/dvm/rx.c fraglen = len - hdrlen; hdrlen 651 drivers/net/wireless/intel/iwlwifi/dvm/rx.c int offset = (void *)hdr + hdrlen - hdrlen 1184 drivers/net/wireless/intel/iwlwifi/mvm/d3.c int hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 1191 drivers/net/wireless/intel/iwlwifi/mvm/d3.c skb_put_data(pkt, pktdata, hdrlen); hdrlen 1192 drivers/net/wireless/intel/iwlwifi/mvm/d3.c pktdata += hdrlen; hdrlen 1193 drivers/net/wireless/intel/iwlwifi/mvm/d3.c pktsize -= hdrlen; hdrlen 105 drivers/net/wireless/intel/iwlwifi/mvm/rx.c unsigned int hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 118 drivers/net/wireless/intel/iwlwifi/mvm/rx.c skb_reserve(skb, hdrlen & 3); hdrlen 132 drivers/net/wireless/intel/iwlwifi/mvm/rx.c hdrlen = (len <= skb_tailroom(skb)) ? len : hdrlen + crypt_len + 8; hdrlen 134 drivers/net/wireless/intel/iwlwifi/mvm/rx.c skb_put_data(skb, hdr, hdrlen); hdrlen 135 drivers/net/wireless/intel/iwlwifi/mvm/rx.c fraglen = len - hdrlen; hdrlen 138 drivers/net/wireless/intel/iwlwifi/mvm/rx.c int offset = (void *)hdr + hdrlen - hdrlen 179 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c unsigned int hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 199 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c hdrlen + crypt_len + 8; hdrlen 206 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c hdrlen += crypt_len; hdrlen 208 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (WARN_ONCE(headlen < hdrlen, hdrlen 210 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c hdrlen, len, crypt_len)) { hdrlen 217 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c hdrlen, len, crypt_len); hdrlen 221 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c skb_put_data(skb, hdr, hdrlen); hdrlen 222 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c skb_put_data(skb, (u8 *)hdr + hdrlen + pad_len, headlen - hdrlen); hdrlen 437 drivers/net/wireless/intel/iwlwifi/mvm/tx.c int hdrlen) hdrlen 440 drivers/net/wireless/intel/iwlwifi/mvm/tx.c u8 *crypto_hdr = skb_frag->data + hdrlen; hdrlen 492 drivers/net/wireless/intel/iwlwifi/mvm/tx.c struct ieee80211_tx_info *info, int hdrlen, hdrlen 554 drivers/net/wireless/intel/iwlwifi/mvm/tx.c memcpy(cmd->hdr, hdr, hdrlen); hdrlen 567 drivers/net/wireless/intel/iwlwifi/mvm/tx.c memcpy(cmd->hdr, hdr, hdrlen); hdrlen 578 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_mvm_set_tx_cmd_crypto(mvm, info, tx_cmd, skb, hdrlen); hdrlen 585 drivers/net/wireless/intel/iwlwifi/mvm/tx.c memcpy(tx_cmd->hdr, hdr, hdrlen); hdrlen 713 drivers/net/wireless/intel/iwlwifi/mvm/tx.c int hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 724 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (WARN_ON_ONCE(skb->len > IEEE80211_MAX_DATA_LEN + hdrlen)) hdrlen 771 drivers/net/wireless/intel/iwlwifi/mvm/tx.c dev_cmd = iwl_mvm_set_tx_params(mvm, skb, &info, hdrlen, NULL, sta_id); hdrlen 1079 drivers/net/wireless/intel/iwlwifi/mvm/tx.c int hdrlen; hdrlen 1083 drivers/net/wireless/intel/iwlwifi/mvm/tx.c hdrlen = ieee80211_hdrlen(fc); hdrlen 1097 drivers/net/wireless/intel/iwlwifi/mvm/tx.c dev_cmd = iwl_mvm_set_tx_params(mvm, skb, info, hdrlen, hdrlen 68 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c int hdrlen, phdrlen, head_need, tail_need; hdrlen 102 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c hdrlen = hostap_80211_get_hdrlen(fhdr->frame_control); hdrlen 195 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c skb_pull(skb, hdrlen); hdrlen 653 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c int res, hdrlen; hdrlen 659 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); hdrlen 672 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); hdrlen 691 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c int res, hdrlen; hdrlen 697 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); hdrlen 700 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); hdrlen 722 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c size_t hdrlen; hdrlen 757 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); hdrlen 782 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c if (skb->len >= hdrlen + 3) hdrlen 783 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c idx = skb->data[hdrlen + 3] >> 6; hdrlen 933 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c flen -= hdrlen; hdrlen 951 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c skb_copy_from_linear_data_offset(skb, hdrlen, hdrlen 1007 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c payload = skb->data + hdrlen; hdrlen 1035 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c if (skb->len - hdrlen >= 8 && hdrlen 1041 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c skb_pull(skb, hdrlen + 6); hdrlen 1047 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c skb_pull(skb, hdrlen); hdrlen 933 drivers/net/wireless/intersil/hostap/hostap_ap.c int hdrlen; hdrlen 954 drivers/net/wireless/intersil/hostap/hostap_ap.c hdrlen = hostap_80211_get_hdrlen(cpu_to_le16(type_subtype)); hdrlen 955 drivers/net/wireless/intersil/hostap/hostap_ap.c hdr = skb_put_zero(skb, hdrlen); hdrlen 1288 drivers/net/wireless/intersil/hostap/hostap_ap.c size_t hdrlen; hdrlen 1301 drivers/net/wireless/intersil/hostap/hostap_ap.c hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); hdrlen 1319 drivers/net/wireless/intersil/hostap/hostap_ap.c if (skb->len >= hdrlen + 3) hdrlen 1320 drivers/net/wireless/intersil/hostap/hostap_ap.c idx = skb->data[hdrlen + 3] >> 6; hdrlen 2033 drivers/net/wireless/intersil/hostap/hostap_hw.c int hdrlen, rx_hdrlen; hdrlen 2070 drivers/net/wireless/intersil/hostap/hostap_hw.c hdrlen = hostap_80211_get_hdrlen(rxdesc->frame_control); hdrlen 2071 drivers/net/wireless/intersil/hostap/hostap_hw.c if (hdrlen > rx_hdrlen) hdrlen 2072 drivers/net/wireless/intersil/hostap/hostap_hw.c hdrlen = rx_hdrlen; hdrlen 2074 drivers/net/wireless/intersil/hostap/hostap_hw.c memmove(skb_pull(skb, rx_hdrlen - hdrlen), hdrlen 2075 drivers/net/wireless/intersil/hostap/hostap_hw.c &rxdesc->frame_control, hdrlen); hdrlen 2167 drivers/net/wireless/intersil/hostap/hostap_hw.c u16 sw_support, hdrlen, len; hdrlen 2192 drivers/net/wireless/intersil/hostap/hostap_hw.c hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control); hdrlen 2194 drivers/net/wireless/intersil/hostap/hostap_hw.c skb = dev_alloc_skb(hdrlen + len); hdrlen 2201 drivers/net/wireless/intersil/hostap/hostap_hw.c skb_put_data(skb, (void *)&txdesc->frame_control, hdrlen); hdrlen 2303 drivers/net/wireless/intersil/hostap/hostap_hw.c int hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control); hdrlen 2304 drivers/net/wireless/intersil/hostap/hostap_hw.c memmove(skb_pull(skb, sizeof(*txdesc) - hdrlen), hdrlen 2305 drivers/net/wireless/intersil/hostap/hostap_hw.c &txdesc->frame_control, hdrlen); hdrlen 733 drivers/net/wireless/intersil/orinoco/main.c u32 hdrlen = 30; /* return full header by default */ hdrlen 751 drivers/net/wireless/intersil/orinoco/main.c hdrlen = 30; hdrlen 753 drivers/net/wireless/intersil/orinoco/main.c hdrlen = 24; hdrlen 757 drivers/net/wireless/intersil/orinoco/main.c hdrlen = 24; hdrlen 766 drivers/net/wireless/intersil/orinoco/main.c hdrlen = 16; hdrlen 770 drivers/net/wireless/intersil/orinoco/main.c hdrlen = 10; hdrlen 787 drivers/net/wireless/intersil/orinoco/main.c skb = dev_alloc_skb(hdrlen + datalen); hdrlen 795 drivers/net/wireless/intersil/orinoco/main.c skb_put_data(skb, &(desc->frame_ctl), hdrlen); hdrlen 816 drivers/net/wireless/marvell/mwl8k.c int hdrlen; hdrlen 819 drivers/net/wireless/marvell/mwl8k.c hdrlen = ieee80211_hdrlen(tr->wh.frame_control); hdrlen 821 drivers/net/wireless/marvell/mwl8k.c if (hdrlen != sizeof(tr->wh)) { hdrlen 823 drivers/net/wireless/marvell/mwl8k.c memmove(tr->data - hdrlen, &tr->wh, hdrlen - 2); hdrlen 826 drivers/net/wireless/marvell/mwl8k.c memmove(tr->data - hdrlen, &tr->wh, hdrlen); hdrlen 830 drivers/net/wireless/marvell/mwl8k.c if (hdrlen != sizeof(*tr)) hdrlen 831 drivers/net/wireless/marvell/mwl8k.c skb_pull(skb, sizeof(*tr) - hdrlen); hdrlen 841 drivers/net/wireless/marvell/mwl8k.c int hdrlen; hdrlen 853 drivers/net/wireless/marvell/mwl8k.c hdrlen = ieee80211_hdrlen(wh->frame_control); hdrlen 859 drivers/net/wireless/marvell/mwl8k.c if (priv->ap_fw && (hdrlen < (sizeof(struct ieee80211_cts) hdrlen 872 drivers/net/wireless/marvell/mwl8k.c if (hdrlen != reqd_hdrlen) hdrlen 873 drivers/net/wireless/marvell/mwl8k.c skb_push(skb, reqd_hdrlen - hdrlen); hdrlen 876 drivers/net/wireless/marvell/mwl8k.c hdrlen -= IEEE80211_QOS_CTL_LEN; hdrlen 880 drivers/net/wireless/marvell/mwl8k.c memmove(&tr->wh, wh, hdrlen); hdrlen 881 drivers/net/wireless/marvell/mwl8k.c if (hdrlen != sizeof(tr->wh)) hdrlen 882 drivers/net/wireless/marvell/mwl8k.c memset(((void *)&tr->wh) + hdrlen, 0, sizeof(tr->wh) - hdrlen); hdrlen 20 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c int hdrlen = dev->mcu_running ? sizeof(struct mt7603_mcu_txd) : 12; hdrlen 29 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c txd = (struct mt7603_mcu_txd *)skb_push(skb, hdrlen); hdrlen 30 drivers/net/wireless/mediatek/mt76/mt7603/mcu.c memset(txd, 0, hdrlen); hdrlen 147 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c int hdrlen, len, pid, qsel = MT_QSEL_EDCA; hdrlen 152 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 153 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c len = tx_info->skb->len - (hdrlen & 2); hdrlen 594 drivers/net/wireless/mediatek/mt76/mt76x02_util.c int hdrlen; hdrlen 599 drivers/net/wireless/mediatek/mt76/mt76x02_util.c hdrlen = ieee80211_get_hdrlen_from_skb(skb); hdrlen 600 drivers/net/wireless/mediatek/mt76/mt76x02_util.c memmove(skb->data + len, skb->data, hdrlen); hdrlen 17 drivers/net/wireless/mediatek/mt7601u/dma.c unsigned int hdrlen; hdrlen 21 drivers/net/wireless/mediatek/mt7601u/dma.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 22 drivers/net/wireless/mediatek/mt7601u/dma.c if (unlikely(hdrlen > len)) hdrlen 24 drivers/net/wireless/mediatek/mt7601u/dma.c return hdrlen; hdrlen 1289 drivers/net/wireless/rsi/rsi_91x_mac80211.c u8 hdrlen = 0; hdrlen 1295 drivers/net/wireless/rsi/rsi_91x_mac80211.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 1310 drivers/net/wireless/rsi/rsi_91x_mac80211.c memmove(skb->data + 4, skb->data, hdrlen); hdrlen 1313 drivers/net/wireless/rsi/rsi_91x_mac80211.c memmove(skb->data + 8, skb->data, hdrlen); hdrlen 406 drivers/net/wireless/st/cw1200/txrx.c size_t hdrlen; hdrlen 507 drivers/net/wireless/st/cw1200/txrx.c t->hdrlen += t->tx_info->control.hw_key->iv_len; hdrlen 540 drivers/net/wireless/st/cw1200/txrx.c t->hdrlen += offset; hdrlen 598 drivers/net/wireless/st/cw1200/txrx.c u8 *payload = &t->skb->data[t->hdrlen]; hdrlen 725 drivers/net/wireless/st/cw1200/txrx.c t.hdrlen = ieee80211_hdrlen(t.hdr->frame_control); hdrlen 1017 drivers/net/wireless/st/cw1200/txrx.c size_t hdrlen; hdrlen 1096 drivers/net/wireless/st/cw1200/txrx.c hdrlen = ieee80211_hdrlen(frame->frame_control); hdrlen 1135 drivers/net/wireless/st/cw1200/txrx.c if (skb->len < hdrlen + iv_len + icv_len) { hdrlen 1142 drivers/net/wireless/st/cw1200/txrx.c memmove(skb->data + iv_len, skb->data, hdrlen); hdrlen 181 drivers/net/wireless/ti/wl1251/tx.c int hdrlen; hdrlen 190 drivers/net/wireless/ti/wl1251/tx.c hdrlen = ieee80211_hdrlen(fc); hdrlen 194 drivers/net/wireless/ti/wl1251/tx.c sizeof(*tx_hdr) + hdrlen); hdrlen 400 drivers/net/wireless/ti/wl1251/tx.c int hdrlen; hdrlen 426 drivers/net/wireless/ti/wl1251/tx.c hdrlen = ieee80211_get_hdrlen_from_skb(skb); hdrlen 427 drivers/net/wireless/ti/wl1251/tx.c memmove(frame + WL1251_TKIP_IV_SPACE, frame, hdrlen); hdrlen 118 drivers/net/wireless/ti/wl18xx/tx.c int hdrlen = ieee80211_get_hdrlen_from_skb(skb); hdrlen 119 drivers/net/wireless/ti/wl18xx/tx.c memmove(skb->data + WL1271_EXTRA_SPACE_TKIP, skb->data, hdrlen); hdrlen 270 drivers/net/wireless/ti/wlcore/tx.c int hdrlen = ieee80211_hdrlen(frame_control); hdrlen 271 drivers/net/wireless/ti/wlcore/tx.c memmove(frame_start, hdr, hdrlen); hdrlen 954 drivers/net/wireless/ti/wlcore/tx.c int hdrlen = ieee80211_get_hdrlen_from_skb(skb); hdrlen 956 drivers/net/wireless/ti/wlcore/tx.c hdrlen); hdrlen 1117 drivers/net/wireless/ti/wlcore/tx.c int hdrlen = ieee80211_get_hdrlen_from_skb(skb); hdrlen 1119 drivers/net/wireless/ti/wlcore/tx.c skb->data, hdrlen); hdrlen 1181 drivers/net/xen-netback/netback.c int mss, hdrlen; hdrlen 1191 drivers/net/xen-netback/netback.c hdrlen = skb_transport_header(skb) - hdrlen 1196 drivers/net/xen-netback/netback.c DIV_ROUND_UP(skb->len - hdrlen, mss); hdrlen 114 drivers/s390/char/monwriter.c monhdr->hdrlen != sizeof(struct monwrite_hdr)) hdrlen 417 drivers/scsi/iscsi_tcp.c size_t hdrlen) hdrlen 436 drivers/scsi/iscsi_tcp.c iscsi_tcp_dgst_header(tcp_sw_conn->tx_hash, hdr, hdrlen, hdrlen 437 drivers/scsi/iscsi_tcp.c hdr + hdrlen); hdrlen 438 drivers/scsi/iscsi_tcp.c hdrlen += ISCSI_DIGEST_SIZE; hdrlen 446 drivers/scsi/iscsi_tcp.c iscsi_segment_init_linear(&tcp_sw_conn->out.segment, hdr, hdrlen, hdrlen 315 drivers/scsi/libiscsi_tcp.c size_t hdrlen, unsigned char digest[ISCSI_DIGEST_SIZE]) hdrlen 319 drivers/scsi/libiscsi_tcp.c sg_init_one(&sg, hdr, hdrlen); hdrlen 320 drivers/scsi/libiscsi_tcp.c ahash_request_set_crypt(hash, &sg, digest, hdrlen); hdrlen 195 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pattrib->hdrlen = 24; hdrlen 498 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pattrib->hdrlen = sizeof(struct ieee80211_hdr_3addr); hdrlen 499 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pattrib->pktlen = pattrib->hdrlen; hdrlen 500 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += pattrib->hdrlen; hdrlen 861 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pattrib->hdrlen = sizeof(struct ieee80211_hdr_3addr); hdrlen 926 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pattrib->hdrlen = sizeof(struct ieee80211_hdr_3addr); hdrlen 927 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pattrib->pktlen += pattrib->hdrlen; hdrlen 928 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pframe += pattrib->hdrlen; hdrlen 1328 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pattrib->hdrlen += 2; hdrlen 1350 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c qc = (unsigned short *)(pframe + pattrib->hdrlen - 2); hdrlen 255 drivers/staging/rtl8188eu/core/rtw_recv.c datalen = precvframe->pkt->len-prxattrib->hdrlen - hdrlen 258 drivers/staging/rtl8188eu/core/rtw_recv.c payload = pframe+prxattrib->hdrlen+prxattrib->iv_len; hdrlen 314 drivers/staging/rtl8188eu/core/rtw_recv.c prxattrib->hdrlen)); hdrlen 368 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *iv = precv_frame->pkt->data + prxattrib->hdrlen; hdrlen 449 drivers/staging/rtl8188eu/core/rtw_recv.c ptr = ptr + pfhdr->attrib.hdrlen + LLC_HEADER_SIZE + pfhdr->attrib.iv_len; hdrlen 1104 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->hdrlen = pattrib->to_fr_ds == 3 ? 32 : 26; hdrlen 1110 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->hdrlen = pattrib->to_fr_ds == 3 ? 30 : 24; hdrlen 1114 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->hdrlen += 4; hdrlen 1277 drivers/staging/rtl8188eu/core/rtw_recv.c psnap = (struct ieee80211_snap_hdr *)(ptr+pattrib->hdrlen + pattrib->iv_len); hdrlen 1278 drivers/staging/rtl8188eu/core/rtw_recv.c psnap_type = ptr+pattrib->hdrlen + pattrib->iv_len+SNAP_SIZE; hdrlen 1291 drivers/staging/rtl8188eu/core/rtw_recv.c rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr ? SNAP_SIZE : 0); hdrlen 1295 drivers/staging/rtl8188eu/core/rtw_recv.c ("\n===pattrib->hdrlen: %x, pattrib->iv_len:%x===\n\n", pattrib->hdrlen, pattrib->iv_len)); hdrlen 1369 drivers/staging/rtl8188eu/core/rtw_recv.c wlanhdr_offset = pnfhdr->attrib.hdrlen + pnfhdr->attrib.iv_len; hdrlen 1504 drivers/staging/rtl8188eu/core/rtw_recv.c skb_pull(prframe->pkt, prframe->attrib.hdrlen); hdrlen 180 drivers/staging/rtl8188eu/core/rtw_security.c memmove(skb->data + 4, skb->data, pattrib->hdrlen); hdrlen 184 drivers/staging/rtl8188eu/core/rtw_security.c if (crypto_ops->encrypt_mpdu(skb, pattrib->hdrlen, crypto_private)) { hdrlen 220 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(iv, pframe + prxattrib->hdrlen, 4); hdrlen 233 drivers/staging/rtl8188eu/core/rtw_security.c if (crypto_ops->decrypt_mpdu(skb, prxattrib->hdrlen, crypto_private)) { hdrlen 238 drivers/staging/rtl8188eu/core/rtw_security.c memmove(pframe, pframe + 4, prxattrib->hdrlen); hdrlen 242 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(pframe + prxattrib->hdrlen, iv, 4); hdrlen 616 drivers/staging/rtl8188eu/core/rtw_security.c iv = pframe+pattrib->hdrlen; hdrlen 617 drivers/staging/rtl8188eu/core/rtw_security.c payload = pframe+pattrib->iv_len+pattrib->hdrlen; hdrlen 627 drivers/staging/rtl8188eu/core/rtw_security.c length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; hdrlen 637 drivers/staging/rtl8188eu/core/rtw_security.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; hdrlen 692 drivers/staging/rtl8188eu/core/rtw_security.c iv = pframe+prxattrib->hdrlen; hdrlen 693 drivers/staging/rtl8188eu/core/rtw_security.c payload = pframe+prxattrib->iv_len+prxattrib->hdrlen; hdrlen 694 drivers/staging/rtl8188eu/core/rtw_security.c length = ((struct recv_frame *)precvframe)->pkt->len-prxattrib->hdrlen-prxattrib->iv_len; hdrlen 1084 drivers/staging/rtl8188eu/core/rtw_security.c static int aes_cipher(u8 *key, uint hdrlen, u8 *pframe, uint plen) hdrlen 1113 drivers/staging/rtl8188eu/core/rtw_security.c if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) hdrlen 1120 drivers/staging/rtl8188eu/core/rtw_security.c if (hdrlen != WLAN_HDR_A3_QOS_LEN) hdrlen 1121 drivers/staging/rtl8188eu/core/rtw_security.c hdrlen += 2; hdrlen 1123 drivers/staging/rtl8188eu/core/rtw_security.c if (hdrlen != WLAN_HDR_A3_QOS_LEN) hdrlen 1124 drivers/staging/rtl8188eu/core/rtw_security.c hdrlen += 2; hdrlen 1130 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[0] = pframe[hdrlen]; hdrlen 1131 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[1] = pframe[hdrlen+1]; hdrlen 1132 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[2] = pframe[hdrlen+4]; hdrlen 1133 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[3] = pframe[hdrlen+5]; hdrlen 1134 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[4] = pframe[hdrlen+6]; hdrlen 1135 drivers/staging/rtl8188eu/core/rtw_security.c pn_vector[5] = pframe[hdrlen+7]; hdrlen 1139 drivers/staging/rtl8188eu/core/rtw_security.c construct_mic_header1(mic_header1, hdrlen, pframe); hdrlen 1146 drivers/staging/rtl8188eu/core/rtw_security.c payload_index = hdrlen + 8; hdrlen 1179 drivers/staging/rtl8188eu/core/rtw_security.c payload_index = hdrlen + 8; hdrlen 1207 drivers/staging/rtl8188eu/core/rtw_security.c padded_buffer[j] = pframe[j+hdrlen+8+plen]; hdrlen 1258 drivers/staging/rtl8188eu/core/rtw_security.c length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; hdrlen 1260 drivers/staging/rtl8188eu/core/rtw_security.c aes_cipher(prwskey, pattrib->hdrlen, pframe, length); hdrlen 1262 drivers/staging/rtl8188eu/core/rtw_security.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; hdrlen 1264 drivers/staging/rtl8188eu/core/rtw_security.c aes_cipher(prwskey, pattrib->hdrlen, pframe, length); hdrlen 1316 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(iv, pframe + prxattrib->hdrlen, iv_len); hdrlen 1328 drivers/staging/rtl8188eu/core/rtw_security.c if (crypto_ops->decrypt_mpdu(skb, prxattrib->hdrlen, crypto_private)) { hdrlen 1333 drivers/staging/rtl8188eu/core/rtw_security.c memmove(pframe, pframe + iv_len, prxattrib->hdrlen); hdrlen 1337 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(pframe + prxattrib->hdrlen, iv, iv_len); hdrlen 389 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->hdrlen = WLAN_HDR_A3_QOS_LEN; hdrlen 492 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->hdrlen = WLAN_HDR_A3_LEN; hdrlen 656 drivers/staging/rtl8188eu/core/rtw_xmit.c payload += pattrib->hdrlen + pattrib->iv_len; hdrlen 659 drivers/staging/rtl8188eu/core/rtw_xmit.c curfragnum, pattrib->hdrlen, pattrib->iv_len)); hdrlen 662 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->hdrlen - hdrlen 670 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->hdrlen - hdrlen 802 drivers/staging/rtl8188eu/core/rtw_xmit.c qc = (unsigned short *)(hdr + pattrib->hdrlen - 2); hdrlen 956 drivers/staging/rtl8188eu/core/rtw_xmit.c pframe += pattrib->hdrlen; hdrlen 957 drivers/staging/rtl8188eu/core/rtw_xmit.c mpdu_len -= pattrib->hdrlen; hdrlen 1019 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->last_txcmdsz = pattrib->hdrlen + pattrib->iv_len + ((pattrib->nr_frags == 1) ? llc_sz : 0) + hdrlen 1032 drivers/staging/rtl8188eu/core/rtw_xmit.c memcpy(mem_start, pbuf_start + hw_hdr_offset, pattrib->hdrlen); hdrlen 404 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c len = pattrib->hdrlen + pattrib->iv_len + hdrlen 88 drivers/staging/rtl8188eu/include/rtw_recv.h u8 hdrlen; /* the WLAN Header Len */ hdrlen 108 drivers/staging/rtl8188eu/include/rtw_xmit.h u16 hdrlen; /* the WLAN Header Len */ hdrlen 1861 drivers/staging/rtl8192e/rtllib.h int hdrlen = RTLLIB_3ADDR_LEN; hdrlen 1866 drivers/staging/rtl8192e/rtllib.h hdrlen = RTLLIB_4ADDR_LEN; /* Addr4 */ hdrlen 1868 drivers/staging/rtl8192e/rtllib.h hdrlen += 2; /* QOS ctrl*/ hdrlen 1874 drivers/staging/rtl8192e/rtllib.h hdrlen = RTLLIB_1ADDR_LEN; hdrlen 1877 drivers/staging/rtl8192e/rtllib.h hdrlen = RTLLIB_2ADDR_LEN; hdrlen 1883 drivers/staging/rtl8192e/rtllib.h return hdrlen; hdrlen 243 drivers/staging/rtl8192e/rtllib_rx.c struct sk_buff *skb, size_t hdrlen) hdrlen 273 drivers/staging/rtl8192e/rtllib_rx.c pos = skb->data + hdrlen; hdrlen 287 drivers/staging/rtl8192e/rtllib_rx.c int res, hdrlen; hdrlen 303 drivers/staging/rtl8192e/rtllib_rx.c hdrlen = rtllib_get_hdrlen(le16_to_cpu(hdr->frame_ctl)); hdrlen 306 drivers/staging/rtl8192e/rtllib_rx.c res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); hdrlen 314 drivers/staging/rtl8192e/rtllib_rx.c skb->data[hdrlen + 3] >> 6); hdrlen 328 drivers/staging/rtl8192e/rtllib_rx.c int res, hdrlen; hdrlen 343 drivers/staging/rtl8192e/rtllib_rx.c hdrlen = rtllib_get_hdrlen(le16_to_cpu(hdr->frame_ctl)); hdrlen 346 drivers/staging/rtl8192e/rtllib_rx.c res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); hdrlen 897 drivers/staging/rtl8192e/rtllib_rx.c size_t hdrlen; hdrlen 899 drivers/staging/rtl8192e/rtllib_rx.c hdrlen = rtllib_get_hdrlen(fc); hdrlen 904 drivers/staging/rtl8192e/rtllib_rx.c hdrlen += 4; hdrlen 911 drivers/staging/rtl8192e/rtllib_rx.c return hdrlen; hdrlen 1044 drivers/staging/rtl8192e/rtllib_rx.c struct lib80211_crypt_data **crypt, size_t hdrlen) hdrlen 1051 drivers/staging/rtl8192e/rtllib_rx.c if (skb->len >= hdrlen + 3) hdrlen 1052 drivers/staging/rtl8192e/rtllib_rx.c idx = skb->data[hdrlen + 3] >> 6; hdrlen 1080 drivers/staging/rtl8192e/rtllib_rx.c struct lib80211_crypt_data *crypt, size_t hdrlen) hdrlen 1119 drivers/staging/rtl8192e/rtllib_rx.c flen -= hdrlen; hdrlen 1138 drivers/staging/rtl8192e/rtllib_rx.c skb_put_data(frag_skb, skb->data + hdrlen, flen); hdrlen 1171 drivers/staging/rtl8192e/rtllib_rx.c rtllib_is_eapol_frame(ieee, skb, hdrlen)) { hdrlen 1190 drivers/staging/rtl8192e/rtllib_rx.c rtllib_is_eapol_frame(ieee, skb, hdrlen)) { hdrlen 1198 drivers/staging/rtl8192e/rtllib_rx.c !rtllib_is_eapol_frame(ieee, skb, hdrlen)) { hdrlen 1307 drivers/staging/rtl8192e/rtllib_rx.c size_t hdrlen = 0; hdrlen 1327 drivers/staging/rtl8192e/rtllib_rx.c hdrlen = rtllib_rx_get_hdrlen(ieee, skb, rx_stats); hdrlen 1328 drivers/staging/rtl8192e/rtllib_rx.c if (skb->len < hdrlen) { hdrlen 1370 drivers/staging/rtl8192e/rtllib_rx.c if (skb->len == hdrlen) hdrlen 1388 drivers/staging/rtl8192e/rtllib_rx.c ret = rtllib_rx_get_crypt(ieee, skb, &crypt, hdrlen); hdrlen 1393 drivers/staging/rtl8192e/rtllib_rx.c ret = rtllib_rx_decrypt(ieee, skb, rx_stats, crypt, hdrlen); hdrlen 1477 drivers/staging/rtl8192e/rtllib_rx.c size_t hdrlen = rtllib_get_hdrlen(fc); hdrlen 1479 drivers/staging/rtl8192e/rtllib_rx.c if (skb->len < hdrlen) { hdrlen 1490 drivers/staging/rtl8192e/rtllib_rx.c hdrlen += 4; hdrlen 1493 drivers/staging/rtl8192e/rtllib_rx.c rtllib_monitor_rx(ieee, skb, rx_stats, hdrlen); hdrlen 2101 drivers/staging/rtl8192u/ieee80211/ieee80211.h int hdrlen = IEEE80211_3ADDR_LEN; hdrlen 2106 drivers/staging/rtl8192u/ieee80211/ieee80211.h hdrlen = IEEE80211_4ADDR_LEN; /* Addr4 */ hdrlen 2108 drivers/staging/rtl8192u/ieee80211/ieee80211.h hdrlen += 2; /* QOS ctrl*/ hdrlen 2114 drivers/staging/rtl8192u/ieee80211/ieee80211.h hdrlen = IEEE80211_1ADDR_LEN; hdrlen 2117 drivers/staging/rtl8192u/ieee80211/ieee80211.h hdrlen = IEEE80211_2ADDR_LEN; hdrlen 2123 drivers/staging/rtl8192u/ieee80211/ieee80211.h return hdrlen; hdrlen 293 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c struct sk_buff *skb, size_t hdrlen) hdrlen 324 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c pos = skb->data + hdrlen; hdrlen 338 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c int res, hdrlen; hdrlen 347 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c hdrlen = ieee80211_get_hdrlen(le16_to_cpu(hdr->frame_ctl)); hdrlen 360 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); hdrlen 369 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c skb->data[hdrlen + 3] >> 6); hdrlen 384 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c int res, hdrlen; hdrlen 394 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c hdrlen = ieee80211_get_hdrlen(le16_to_cpu(hdr->frame_ctl)); hdrlen 397 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); hdrlen 876 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c size_t hdrlen; hdrlen 918 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c hdrlen = ieee80211_get_hdrlen(fc); hdrlen 923 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c hdrlen += 4; hdrlen 954 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c if (skb->len >= hdrlen + 3) hdrlen 955 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c idx = skb->data[hdrlen + 3] >> 6; hdrlen 1141 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c flen -= hdrlen; hdrlen 1158 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c skb_put_data(frag_skb, skb->data + hdrlen, flen); hdrlen 1192 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c ieee80211_is_eapol_frame(ieee, skb, hdrlen)) { hdrlen 1213 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c ieee80211_is_eapol_frame(ieee, skb, hdrlen)) { hdrlen 1222 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c !ieee80211_is_eapol_frame(ieee, skb, hdrlen)) { hdrlen 703 drivers/staging/rtl8712/ieee80211.h int hdrlen = 24; hdrlen 708 drivers/staging/rtl8712/ieee80211.h hdrlen += 2; hdrlen 710 drivers/staging/rtl8712/ieee80211.h hdrlen += 6; /* Addr4 */ hdrlen 716 drivers/staging/rtl8712/ieee80211.h hdrlen = 10; hdrlen 719 drivers/staging/rtl8712/ieee80211.h hdrlen = 16; hdrlen 724 drivers/staging/rtl8712/ieee80211.h return hdrlen; hdrlen 223 drivers/staging/rtl8712/rtl8712_recv.c wlanhdr_offset = pnfhdr->attrib.hdrlen + pnfhdr->attrib.iv_len; hdrlen 335 drivers/staging/rtl8712/rtl8712_recv.c recvframe_pull(prframe, prframe->u.hdr.attrib.hdrlen); hdrlen 156 drivers/staging/rtl8712/rtl871x_recv.c prxattrib->hdrlen; hdrlen 166 drivers/staging/rtl8712/rtl871x_recv.c datalen = precvframe->u.hdr.len - prxattrib->hdrlen - hdrlen 169 drivers/staging/rtl8712/rtl871x_recv.c payload = pframe + prxattrib->hdrlen + hdrlen 247 drivers/staging/rtl8712/rtl871x_recv.c ptr = ptr + pfhdr->attrib.hdrlen + LLC_HEADER_SIZE; hdrlen 516 drivers/staging/rtl8712/rtl871x_recv.c pattrib->hdrlen = pattrib->to_fr_ds == 3 ? 32 : 26; hdrlen 519 drivers/staging/rtl8712/rtl871x_recv.c pattrib->hdrlen = (pattrib->to_fr_ds == 3) ? 30 : 24; hdrlen 523 drivers/staging/rtl8712/rtl871x_recv.c pattrib->hdrlen += 4; hdrlen 604 drivers/staging/rtl8712/rtl871x_recv.c psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + hdrlen 606 drivers/staging/rtl8712/rtl871x_recv.c psnap_type = ptr + pattrib->hdrlen + pattrib->iv_len + SNAP_SIZE; hdrlen 620 drivers/staging/rtl8712/rtl871x_recv.c rmv_len = pattrib->hdrlen + pattrib->iv_len + hdrlen 55 drivers/staging/rtl8712/rtl871x_recv.h int hdrlen; /* the WLAN Header Len */ hdrlen 172 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + pattrib->hdrlen; hdrlen 177 drivers/staging/rtl8712/rtl871x_security.c payload = pframe + pattrib->iv_len + pattrib->hdrlen; hdrlen 180 drivers/staging/rtl8712/rtl871x_security.c pattrib->hdrlen - hdrlen 192 drivers/staging/rtl8712/rtl871x_security.c pattrib->hdrlen - pattrib->iv_len - hdrlen 225 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + prxattrib->hdrlen; hdrlen 233 drivers/staging/rtl8712/rtl871x_security.c u.hdr.len - prxattrib->hdrlen - prxattrib->iv_len; hdrlen 234 drivers/staging/rtl8712/rtl871x_security.c payload = pframe + prxattrib->iv_len + prxattrib->hdrlen; hdrlen 591 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + pattrib->hdrlen; hdrlen 593 drivers/staging/rtl8712/rtl871x_security.c pattrib->hdrlen; hdrlen 604 drivers/staging/rtl8712/rtl871x_security.c pattrib->hdrlen - hdrlen 616 drivers/staging/rtl8712/rtl871x_security.c pattrib->hdrlen - hdrlen 662 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + prxattrib->hdrlen; hdrlen 664 drivers/staging/rtl8712/rtl871x_security.c prxattrib->hdrlen; hdrlen 666 drivers/staging/rtl8712/rtl871x_security.c u.hdr.len - prxattrib->hdrlen - hdrlen 1014 drivers/staging/rtl8712/rtl871x_security.c static void aes_cipher(u8 *key, uint hdrlen, hdrlen 1043 drivers/staging/rtl8712/rtl871x_security.c if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) hdrlen 1052 drivers/staging/rtl8712/rtl871x_security.c if (hdrlen != WLAN_HDR_A3_QOS_LEN) hdrlen 1053 drivers/staging/rtl8712/rtl871x_security.c hdrlen += 2; hdrlen 1058 drivers/staging/rtl8712/rtl871x_security.c if (hdrlen != WLAN_HDR_A3_QOS_LEN) hdrlen 1059 drivers/staging/rtl8712/rtl871x_security.c hdrlen += 2; hdrlen 1064 drivers/staging/rtl8712/rtl871x_security.c pn_vector[0] = pframe[hdrlen]; hdrlen 1065 drivers/staging/rtl8712/rtl871x_security.c pn_vector[1] = pframe[hdrlen + 1]; hdrlen 1066 drivers/staging/rtl8712/rtl871x_security.c pn_vector[2] = pframe[hdrlen + 4]; hdrlen 1067 drivers/staging/rtl8712/rtl871x_security.c pn_vector[3] = pframe[hdrlen + 5]; hdrlen 1068 drivers/staging/rtl8712/rtl871x_security.c pn_vector[4] = pframe[hdrlen + 6]; hdrlen 1069 drivers/staging/rtl8712/rtl871x_security.c pn_vector[5] = pframe[hdrlen + 7]; hdrlen 1071 drivers/staging/rtl8712/rtl871x_security.c construct_mic_header1(mic_header1, hdrlen, pframe); hdrlen 1076 drivers/staging/rtl8712/rtl871x_security.c payload_index = hdrlen + 8; hdrlen 1102 drivers/staging/rtl8712/rtl871x_security.c payload_index = hdrlen + 8; hdrlen 1130 drivers/staging/rtl8712/rtl871x_security.c padded_buffer[j] = pframe[j + hdrlen + 8 + plen]; hdrlen 1164 drivers/staging/rtl8712/rtl871x_security.c pattrib->hdrlen - hdrlen 1167 drivers/staging/rtl8712/rtl871x_security.c aes_cipher(prwskey, pattrib->hdrlen, hdrlen 1171 drivers/staging/rtl8712/rtl871x_security.c pattrib->hdrlen - hdrlen 1174 drivers/staging/rtl8712/rtl871x_security.c aes_cipher(prwskey, pattrib->hdrlen, hdrlen 1187 drivers/staging/rtl8712/rtl871x_security.c static void aes_decipher(u8 *key, uint hdrlen, hdrlen 1218 drivers/staging/rtl8712/rtl871x_security.c pn_vector[0] = pframe[hdrlen]; hdrlen 1219 drivers/staging/rtl8712/rtl871x_security.c pn_vector[1] = pframe[hdrlen + 1]; hdrlen 1220 drivers/staging/rtl8712/rtl871x_security.c pn_vector[2] = pframe[hdrlen + 4]; hdrlen 1221 drivers/staging/rtl8712/rtl871x_security.c pn_vector[3] = pframe[hdrlen + 5]; hdrlen 1222 drivers/staging/rtl8712/rtl871x_security.c pn_vector[4] = pframe[hdrlen + 6]; hdrlen 1223 drivers/staging/rtl8712/rtl871x_security.c pn_vector[5] = pframe[hdrlen + 7]; hdrlen 1224 drivers/staging/rtl8712/rtl871x_security.c if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) hdrlen 1232 drivers/staging/rtl8712/rtl871x_security.c if (hdrlen != WLAN_HDR_A3_QOS_LEN) hdrlen 1233 drivers/staging/rtl8712/rtl871x_security.c hdrlen += 2; hdrlen 1238 drivers/staging/rtl8712/rtl871x_security.c if (hdrlen != WLAN_HDR_A3_QOS_LEN) hdrlen 1239 drivers/staging/rtl8712/rtl871x_security.c hdrlen += 2; hdrlen 1245 drivers/staging/rtl8712/rtl871x_security.c payload_index = hdrlen + 8; /* 8 is for extiv */ hdrlen 1268 drivers/staging/rtl8712/rtl871x_security.c memcpy((void *)message, pframe, (hdrlen + plen + 8)); hdrlen 1269 drivers/staging/rtl8712/rtl871x_security.c pn_vector[0] = pframe[hdrlen]; hdrlen 1270 drivers/staging/rtl8712/rtl871x_security.c pn_vector[1] = pframe[hdrlen + 1]; hdrlen 1271 drivers/staging/rtl8712/rtl871x_security.c pn_vector[2] = pframe[hdrlen + 4]; hdrlen 1272 drivers/staging/rtl8712/rtl871x_security.c pn_vector[3] = pframe[hdrlen + 5]; hdrlen 1273 drivers/staging/rtl8712/rtl871x_security.c pn_vector[4] = pframe[hdrlen + 6]; hdrlen 1274 drivers/staging/rtl8712/rtl871x_security.c pn_vector[5] = pframe[hdrlen + 7]; hdrlen 1277 drivers/staging/rtl8712/rtl871x_security.c construct_mic_header1(mic_header1, hdrlen, message); hdrlen 1282 drivers/staging/rtl8712/rtl871x_security.c payload_index = hdrlen + 8; hdrlen 1308 drivers/staging/rtl8712/rtl871x_security.c payload_index = hdrlen + 8; hdrlen 1336 drivers/staging/rtl8712/rtl871x_security.c padded_buffer[j] = message[j + hdrlen + plen]; hdrlen 1362 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + prxattrib->hdrlen; hdrlen 1373 drivers/staging/rtl8712/rtl871x_security.c u.hdr.len - prxattrib->hdrlen - hdrlen 1375 drivers/staging/rtl8712/rtl871x_security.c aes_decipher(prwskey, prxattrib->hdrlen, pframe, hdrlen 296 drivers/staging/rtl8712/rtl871x_xmit.c pattrib->hdrlen = WLAN_HDR_A3_LEN; hdrlen 415 drivers/staging/rtl8712/rtl871x_xmit.c payload += pattrib->hdrlen + pattrib->iv_len; hdrlen 418 drivers/staging/rtl8712/rtl871x_xmit.c pattrib->hdrlen - hdrlen 427 drivers/staging/rtl8712/rtl871x_xmit.c pattrib->hdrlen - pattrib->iv_len - hdrlen 518 drivers/staging/rtl8712/rtl871x_xmit.c qc = (unsigned short *)(hdr + pattrib->hdrlen - 2); hdrlen 627 drivers/staging/rtl8712/rtl871x_xmit.c pframe += pattrib->hdrlen; hdrlen 628 drivers/staging/rtl8712/rtl871x_xmit.c mpdu_len -= pattrib->hdrlen; hdrlen 685 drivers/staging/rtl8712/rtl871x_xmit.c pattrib->last_txcmdsz = pattrib->hdrlen + hdrlen 696 drivers/staging/rtl8712/rtl871x_xmit.c memcpy(mem_start, pbuf_start + TXDESC_OFFSET, pattrib->hdrlen); hdrlen 102 drivers/staging/rtl8712/rtl871x_xmit.h u8 hdrlen; /*the WLAN Header Len*/ hdrlen 90 drivers/staging/rtl8712/xmit_linux.c pattrib->hdrlen = WLAN_HDR_A3_QOS_LEN; hdrlen 913 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c prxattrib->hdrlen = WLAN_HDR_A3_LEN; hdrlen 916 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c iv = pframe+prxattrib->hdrlen; hdrlen 2287 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pattrib->hdrlen = 24; hdrlen 2644 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pattrib->hdrlen = sizeof(struct ieee80211_hdr_3addr); hdrlen 2645 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pattrib->pktlen = pattrib->hdrlen; hdrlen 2646 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += pattrib->hdrlen; hdrlen 3072 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pattrib->hdrlen = sizeof(struct ieee80211_hdr_3addr); hdrlen 3141 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pattrib->hdrlen = sizeof(struct ieee80211_hdr_3addr); hdrlen 3142 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pattrib->pktlen += pattrib->hdrlen; hdrlen 3143 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pframe += pattrib->hdrlen; hdrlen 3596 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pattrib->hdrlen += 2; hdrlen 3618 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c qc = (unsigned short *)(pframe + pattrib->hdrlen - 2); hdrlen 359 drivers/staging/rtl8723bs/core/rtw_recv.c datalen = precvframe->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len-prxattrib->icv_len-8;/* icv_len included the mic code */ hdrlen 361 drivers/staging/rtl8723bs/core/rtw_recv.c payload = pframe+prxattrib->hdrlen+prxattrib->iv_len; hdrlen 398 drivers/staging/rtl8723bs/core/rtw_recv.c RT_TRACE(_module_rtl871x_recv_c_, _drv_err_, ("\n hrdlen =%d,\n", prxattrib->hdrlen)); hdrlen 456 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *iv = precv_frame->u.hdr.rx_data+prxattrib->hdrlen; hdrlen 583 drivers/staging/rtl8723bs/core/rtw_recv.c ptr = ptr+pfhdr->attrib.hdrlen+pfhdr->attrib.iv_len+LLC_HEADER_SIZE; hdrlen 1353 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->hdrlen = pattrib->to_fr_ds == 3 ? 32 : 26; hdrlen 1360 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->hdrlen = pattrib->to_fr_ds == 3 ? 30 : 24; hdrlen 1365 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->hdrlen += 4; hdrlen 1421 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->hdrlen = sizeof(struct ieee80211_hdr_3addr); hdrlen 1427 drivers/staging/rtl8723bs/core/rtw_recv.c data_len = pattrib->pkt_len - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; hdrlen 1435 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(mgmt_DATA, ptr+pattrib->hdrlen+pattrib->iv_len, data_len); hdrlen 1437 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(ptr+pattrib->hdrlen, mgmt_DATA, data_len); hdrlen 1585 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(ð_type, ptr + pattrib->hdrlen + pattrib->iv_len + LLC_HEADER_SIZE, 2); hdrlen 1627 drivers/staging/rtl8723bs/core/rtw_recv.c psnap = (struct ieee80211_snap_hdr *)(ptr+pattrib->hdrlen + pattrib->iv_len); hdrlen 1628 drivers/staging/rtl8723bs/core/rtw_recv.c psnap_type = ptr+pattrib->hdrlen + pattrib->iv_len+SNAP_SIZE; hdrlen 1642 drivers/staging/rtl8723bs/core/rtw_recv.c rmv_len = pattrib->hdrlen + pattrib->iv_len + (bsnaphdr?SNAP_SIZE:0); hdrlen 1645 drivers/staging/rtl8723bs/core/rtw_recv.c RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("\n ===pattrib->hdrlen: %x, pattrib->iv_len:%x ===\n\n", pattrib->hdrlen, pattrib->iv_len)); hdrlen 1764 drivers/staging/rtl8723bs/core/rtw_recv.c wlanhdr_offset = pnfhdr->attrib.hdrlen + pnfhdr->attrib.iv_len; hdrlen 1905 drivers/staging/rtl8723bs/core/rtw_recv.c recvframe_pull(prframe, prframe->u.hdr.attrib.hdrlen); hdrlen 240 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+pattrib->hdrlen; hdrlen 243 drivers/staging/rtl8723bs/core/rtw_security.c payload = pframe+pattrib->iv_len+pattrib->hdrlen; hdrlen 247 drivers/staging/rtl8723bs/core/rtw_security.c length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; hdrlen 256 drivers/staging/rtl8723bs/core/rtw_security.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; hdrlen 287 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+prxattrib->hdrlen; hdrlen 294 drivers/staging/rtl8723bs/core/rtw_security.c length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; hdrlen 296 drivers/staging/rtl8723bs/core/rtw_security.c payload = pframe+prxattrib->iv_len+prxattrib->hdrlen; hdrlen 710 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+pattrib->hdrlen; hdrlen 711 drivers/staging/rtl8723bs/core/rtw_security.c payload = pframe+pattrib->iv_len+pattrib->hdrlen; hdrlen 723 drivers/staging/rtl8723bs/core/rtw_security.c length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; hdrlen 732 drivers/staging/rtl8723bs/core/rtw_security.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; hdrlen 829 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+prxattrib->hdrlen; hdrlen 830 drivers/staging/rtl8723bs/core/rtw_security.c payload = pframe+prxattrib->iv_len+prxattrib->hdrlen; hdrlen 831 drivers/staging/rtl8723bs/core/rtw_security.c length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; hdrlen 1329 drivers/staging/rtl8723bs/core/rtw_security.c static sint aes_cipher(u8 *key, uint hdrlen, hdrlen 1360 drivers/staging/rtl8723bs/core/rtw_security.c if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) hdrlen 1369 drivers/staging/rtl8723bs/core/rtw_security.c if (hdrlen != WLAN_HDR_A3_QOS_LEN) hdrlen 1370 drivers/staging/rtl8723bs/core/rtw_security.c hdrlen += 2; hdrlen 1377 drivers/staging/rtl8723bs/core/rtw_security.c if (hdrlen != WLAN_HDR_A3_QOS_LEN) hdrlen 1378 drivers/staging/rtl8723bs/core/rtw_security.c hdrlen += 2; hdrlen 1384 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[0] = pframe[hdrlen]; hdrlen 1385 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[1] = pframe[hdrlen+1]; hdrlen 1386 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[2] = pframe[hdrlen+4]; hdrlen 1387 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[3] = pframe[hdrlen+5]; hdrlen 1388 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[4] = pframe[hdrlen+6]; hdrlen 1389 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[5] = pframe[hdrlen+7]; hdrlen 1403 drivers/staging/rtl8723bs/core/rtw_security.c hdrlen, hdrlen 1419 drivers/staging/rtl8723bs/core/rtw_security.c payload_index = (hdrlen + 8); hdrlen 1454 drivers/staging/rtl8723bs/core/rtw_security.c payload_index = hdrlen + 8; hdrlen 1509 drivers/staging/rtl8723bs/core/rtw_security.c padded_buffer[j] = pframe[j+hdrlen+8+plen];/* padded_buffer[j] = message[j+hdrlen+8+plen]; */ hdrlen 1559 drivers/staging/rtl8723bs/core/rtw_security.c length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; hdrlen 1561 drivers/staging/rtl8723bs/core/rtw_security.c aes_cipher(prwskey, pattrib->hdrlen, pframe, length); hdrlen 1563 drivers/staging/rtl8723bs/core/rtw_security.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; hdrlen 1565 drivers/staging/rtl8723bs/core/rtw_security.c aes_cipher(prwskey, pattrib->hdrlen, pframe, length); hdrlen 1576 drivers/staging/rtl8723bs/core/rtw_security.c static sint aes_decipher(u8 *key, uint hdrlen, hdrlen 1617 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[0] = pframe[hdrlen]; hdrlen 1618 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[1] = pframe[hdrlen+1]; hdrlen 1619 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[2] = pframe[hdrlen+4]; hdrlen 1620 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[3] = pframe[hdrlen+5]; hdrlen 1621 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[4] = pframe[hdrlen+6]; hdrlen 1622 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[5] = pframe[hdrlen+7]; hdrlen 1624 drivers/staging/rtl8723bs/core/rtw_security.c if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) hdrlen 1633 drivers/staging/rtl8723bs/core/rtw_security.c if (hdrlen != WLAN_HDR_A3_QOS_LEN) { hdrlen 1634 drivers/staging/rtl8723bs/core/rtw_security.c hdrlen += 2; hdrlen 1641 drivers/staging/rtl8723bs/core/rtw_security.c if (hdrlen != WLAN_HDR_A3_QOS_LEN) { hdrlen 1642 drivers/staging/rtl8723bs/core/rtw_security.c hdrlen += 2; hdrlen 1651 drivers/staging/rtl8723bs/core/rtw_security.c payload_index = hdrlen + 8; /* 8 is for extiv */ hdrlen 1696 drivers/staging/rtl8723bs/core/rtw_security.c if ((hdrlen + plen+8) <= MAX_MSG_SIZE) hdrlen 1697 drivers/staging/rtl8723bs/core/rtw_security.c memcpy((void *)message, pframe, (hdrlen + plen+8)); /* 8 is for ext iv len */ hdrlen 1700 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[0] = pframe[hdrlen]; hdrlen 1701 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[1] = pframe[hdrlen+1]; hdrlen 1702 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[2] = pframe[hdrlen+4]; hdrlen 1703 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[3] = pframe[hdrlen+5]; hdrlen 1704 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[4] = pframe[hdrlen+6]; hdrlen 1705 drivers/staging/rtl8723bs/core/rtw_security.c pn_vector[5] = pframe[hdrlen+7]; hdrlen 1721 drivers/staging/rtl8723bs/core/rtw_security.c hdrlen, hdrlen 1737 drivers/staging/rtl8723bs/core/rtw_security.c payload_index = (hdrlen + 8); hdrlen 1772 drivers/staging/rtl8723bs/core/rtw_security.c payload_index = hdrlen + 8; hdrlen 1827 drivers/staging/rtl8723bs/core/rtw_security.c padded_buffer[j] = message[j+hdrlen+8+plen-8]; hdrlen 1837 drivers/staging/rtl8723bs/core/rtw_security.c if (pframe[hdrlen+8+plen-8+i] != message[hdrlen+8+plen-8+i]) { hdrlen 1839 drivers/staging/rtl8723bs/core/rtw_security.c i, pframe[hdrlen+8+plen-8+i], message[hdrlen+8+plen-8+i])); hdrlen 1841 drivers/staging/rtl8723bs/core/rtw_security.c i, pframe[hdrlen+8+plen-8+i], message[hdrlen+8+plen-8+i]); hdrlen 1924 drivers/staging/rtl8723bs/core/rtw_security.c length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; hdrlen 1926 drivers/staging/rtl8723bs/core/rtw_security.c res = aes_decipher(prwskey, prxattrib->hdrlen, pframe, length); hdrlen 672 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->hdrlen = WLAN_HDR_A3_QOS_LEN; hdrlen 829 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->hdrlen = WLAN_HDR_A3_LEN; hdrlen 946 drivers/staging/rtl8723bs/core/rtw_xmit.c payload = payload+pattrib->hdrlen+pattrib->iv_len; hdrlen 947 drivers/staging/rtl8723bs/core/rtw_xmit.c RT_TRACE(_module_rtl871x_xmit_c_, _drv_err_, ("curfragnum =%d pattrib->hdrlen =%d pattrib->iv_len =%d", curfragnum, pattrib->hdrlen, pattrib->iv_len)); hdrlen 949 drivers/staging/rtl8723bs/core/rtw_xmit.c length = pattrib->last_txcmdsz-pattrib->hdrlen-pattrib->iv_len-((pattrib->bswenc) ? pattrib->icv_len : 0); hdrlen 953 drivers/staging/rtl8723bs/core/rtw_xmit.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-((pattrib->bswenc) ? pattrib->icv_len : 0); hdrlen 1078 drivers/staging/rtl8723bs/core/rtw_xmit.c qc = (unsigned short *)(hdr + pattrib->hdrlen - 2); hdrlen 1173 drivers/staging/rtl8723bs/core/rtw_xmit.c len = pattrib->hdrlen + pattrib->iv_len; /* WLAN Header and IV */ hdrlen 1274 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->hdrlen; hdrlen 1275 drivers/staging/rtl8723bs/core/rtw_xmit.c mpdu_len -= pattrib->hdrlen; hdrlen 1320 drivers/staging/rtl8723bs/core/rtw_xmit.c pattrib->last_txcmdsz = pattrib->hdrlen + pattrib->iv_len + ((pattrib->nr_frags == 1) ? llc_sz:0) + hdrlen 1332 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(mem_start, pbuf_start + hw_hdr_offset, pattrib->hdrlen); hdrlen 1469 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->hdrlen; hdrlen 1488 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pframe, tmp_buf+pattrib->hdrlen, pattrib->pktlen-pattrib->hdrlen); hdrlen 1490 drivers/staging/rtl8723bs/core/rtw_xmit.c pframe += pattrib->pktlen-pattrib->hdrlen; hdrlen 137 drivers/staging/rtl8723bs/include/rtw_recv.h u8 hdrlen; /* the WLAN Header Len */ hdrlen 149 drivers/staging/rtl8723bs/include/rtw_xmit.h u16 hdrlen; /* the WLAN Header Len */ hdrlen 3255 drivers/staging/wlan-ng/hfa384x_usb.c int hdrlen; hdrlen 3278 drivers/staging/wlan-ng/hfa384x_usb.c hdrlen = p80211_headerlen(fc); hdrlen 3286 drivers/staging/wlan-ng/hfa384x_usb.c memmove(skb_push(skb, hdrlen), hdrlen 3287 drivers/staging/wlan-ng/hfa384x_usb.c &usbin->rxfrm.desc.frame_control, hdrlen); hdrlen 3292 drivers/staging/wlan-ng/hfa384x_usb.c skb_trim(skb, data_len + hdrlen); hdrlen 3354 drivers/staging/wlan-ng/hfa384x_usb.c unsigned int hdrlen = 0; hdrlen 3365 drivers/staging/wlan-ng/hfa384x_usb.c hdrlen = p80211_headerlen(fc); hdrlen 3369 drivers/staging/wlan-ng/hfa384x_usb.c skblen = sizeof(struct p80211_caphdr) + hdrlen + datalen + WLAN_CRC_LEN; hdrlen 3412 drivers/staging/wlan-ng/hfa384x_usb.c skb_put_data(skb, &rxdesc->frame_control, hdrlen); hdrlen 3419 drivers/staging/wlan-ng/hfa384x_usb.c if (*(datap - hdrlen + 1) & 0x40) /* wep set */ hdrlen 3422 drivers/staging/wlan-ng/hfa384x_usb.c *(datap - hdrlen + 1) &= 0xbf; hdrlen 202 drivers/staging/wlan-ng/p80211hdr.h u16 hdrlen = 0; hdrlen 206 drivers/staging/wlan-ng/p80211hdr.h hdrlen = WLAN_HDR_A3_LEN; hdrlen 209 drivers/staging/wlan-ng/p80211hdr.h hdrlen = WLAN_HDR_A3_LEN; hdrlen 211 drivers/staging/wlan-ng/p80211hdr.h hdrlen += ETH_ALEN; hdrlen 214 drivers/staging/wlan-ng/p80211hdr.h hdrlen = wlan_ctl_framelen(WLAN_GET_FC_FSTYPE(fctl)) - hdrlen 218 drivers/staging/wlan-ng/p80211hdr.h hdrlen = WLAN_HDR_A3_LEN; hdrlen 221 drivers/staging/wlan-ng/p80211hdr.h return hdrlen; hdrlen 268 drivers/tty/ipwireless/network.c channel->hdrlen = 2; hdrlen 2371 fs/nfs/nfs3xdr.c size_t hdrlen; hdrlen 2384 fs/nfs/nfs3xdr.c hdrlen = xdr_stream_pos(xdr); hdrlen 2392 fs/nfs/nfs3xdr.c error = nfsacl_decode(xdr->buf, hdrlen, aclcnt, acl); hdrlen 2402 fs/nfs/nfs3xdr.c error = nfsacl_decode(xdr->buf, hdrlen + error, aclcnt, acl); hdrlen 17 include/linux/asn1_ber_bytecode.h size_t hdrlen, /* In case of ANY type */ hdrlen 7 include/linux/ipv6.h #define ipv6_optlen(p) (((p)->hdrlen+1) << 3) hdrlen 8 include/linux/ipv6.h #define ipv6_authlen(p) (((p)->hdrlen+2) << 2) hdrlen 2821 include/linux/netdevice.h unsigned int off, size_t hdrlen, hdrlen 2827 include/linux/netdevice.h size_t plen = hdrlen + max_t(size_t, offset + sizeof(u16), start); hdrlen 2832 include/linux/netdevice.h NAPI_GRO_CB(skb)->gro_remcsum_start = off + hdrlen + start; hdrlen 2843 include/linux/netdevice.h delta = remcsum_adjust(ptr + hdrlen, NAPI_GRO_CB(skb)->csum, hdrlen 2849 include/linux/netdevice.h grc->offset = off + hdrlen + offset; hdrlen 37 include/linux/ppp_channel.h int hdrlen; /* amount of headroom channel needs */ hdrlen 238 include/linux/sunrpc/gss_krb5.h make_checksum(struct krb5_ctx *kctx, char *header, int hdrlen, hdrlen 243 include/linux/sunrpc/gss_krb5.h make_checksum_v2(struct krb5_ctx *, char *header, int hdrlen, hdrlen 92 include/net/netfilter/nf_nat.h unsigned int hooknum, unsigned int hdrlen); hdrlen 521 include/net/netlink.h int hdrlen) hdrlen 524 include/net/netlink.h return (struct nlattr *) (data + NLMSG_ALIGN(hdrlen)); hdrlen 532 include/net/netlink.h static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) hdrlen 534 include/net/netlink.h return nlmsg_len(nlh) - NLMSG_ALIGN(hdrlen); hdrlen 655 include/net/netlink.h static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, hdrlen 661 include/net/netlink.h if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) { hdrlen 666 include/net/netlink.h return __nla_parse(tb, maxtype, nlmsg_attrdata(nlh, hdrlen), hdrlen 667 include/net/netlink.h nlmsg_attrlen(nlh, hdrlen), policy, validate, hdrlen 682 include/net/netlink.h static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, hdrlen 687 include/net/netlink.h return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, hdrlen 701 include/net/netlink.h static inline int nlmsg_parse_deprecated(const struct nlmsghdr *nlh, int hdrlen, hdrlen 706 include/net/netlink.h return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, hdrlen 721 include/net/netlink.h nlmsg_parse_deprecated_strict(const struct nlmsghdr *nlh, int hdrlen, hdrlen 726 include/net/netlink.h return __nlmsg_parse(nlh, hdrlen, tb, maxtype, policy, hdrlen 739 include/net/netlink.h int hdrlen, int attrtype) hdrlen 741 include/net/netlink.h return nla_find(nlmsg_attrdata(nlh, hdrlen), hdrlen 742 include/net/netlink.h nlmsg_attrlen(nlh, hdrlen), attrtype); hdrlen 801 include/net/netlink.h int hdrlen, int maxtype, hdrlen 805 include/net/netlink.h if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) hdrlen 808 include/net/netlink.h return __nla_validate(nlmsg_attrdata(nlh, hdrlen), hdrlen 809 include/net/netlink.h nlmsg_attrlen(nlh, hdrlen), maxtype, hdrlen 833 include/net/netlink.h #define nlmsg_for_each_attr(pos, nlh, hdrlen, rem) \ hdrlen 834 include/net/netlink.h nla_for_each_attr(pos, nlmsg_attrdata(nlh, hdrlen), \ hdrlen 835 include/net/netlink.h nlmsg_attrlen(nlh, hdrlen), rem) hdrlen 23 include/net/seg6_local.h u16 hdrlen; hdrlen 113 include/scsi/libiscsi_tcp.h size_t hdrlen, hdrlen 561 include/trace/events/rpcrdma.h __field(unsigned int, hdrlen) hdrlen 575 include/trace/events/rpcrdma.h __entry->hdrlen = req->rl_hdrbuf.len; hdrlen 585 include/trace/events/rpcrdma.h __entry->hdrlen, hdrlen 1050 include/trace/events/rpcrdma.h int hdrlen hdrlen 1053 include/trace/events/rpcrdma.h TP_ARGS(rqst, len, hdrlen), hdrlen 1060 include/trace/events/rpcrdma.h __field(int, hdrlen) hdrlen 1068 include/trace/events/rpcrdma.h __entry->hdrlen = hdrlen; hdrlen 1073 include/trace/events/rpcrdma.h __entry->base, __entry->len, __entry->hdrlen hdrlen 1318 include/trace/events/rpcrdma.h unsigned int hdrlen hdrlen 1321 include/trace/events/rpcrdma.h TP_ARGS(p, hdrlen), hdrlen 1328 include/trace/events/rpcrdma.h __field(unsigned int, hdrlen) hdrlen 1336 include/trace/events/rpcrdma.h __entry->hdrlen = hdrlen; hdrlen 1341 include/trace/events/rpcrdma.h show_rpcrdma_proc(__entry->proc), __entry->hdrlen) hdrlen 1346 include/trace/events/rpcrdma.h unsigned int hdrlen hdrlen 1349 include/trace/events/rpcrdma.h TP_ARGS(hdrlen), hdrlen 1352 include/trace/events/rpcrdma.h __field(unsigned int, hdrlen) hdrlen 1356 include/trace/events/rpcrdma.h __entry->hdrlen = hdrlen; hdrlen 1359 include/trace/events/rpcrdma.h TP_printk("hdrlen=%u", __entry->hdrlen) hdrlen 111 include/uapi/linux/ip.h __u8 hdrlen; /* This one is measured in 32 bit units! */ hdrlen 132 include/uapi/linux/ip.h __u8 hdrlen; hdrlen 50 include/uapi/linux/ipv6.h __u8 hdrlen; hdrlen 63 include/uapi/linux/ipv6.h __u8 hdrlen; hdrlen 9 include/uapi/linux/netfilter_ipv6/ip6t_ah.h __u32 hdrlen; /* Header Length */ hdrlen 9 include/uapi/linux/netfilter_ipv6/ip6t_frag.h __u32 hdrlen; /* Header Length */ hdrlen 10 include/uapi/linux/netfilter_ipv6/ip6t_opts.h __u32 hdrlen; /* Header Length */ hdrlen 13 include/uapi/linux/netfilter_ipv6/ip6t_rt.h __u32 hdrlen; /* Header Length */ hdrlen 26 include/uapi/linux/seg6.h __u8 hdrlen; hdrlen 32 include/uapi/linux/seg6_iptunnel.h #define SEG6_IPTUN_ENCAP_SIZE(x) ((sizeof(*x)) + (((x)->srh->hdrlen + 1) << 3)) hdrlen 56 include/uapi/linux/seg6_iptunnel.h return ((tuninfo->srh->hdrlen + 1) << 3) + head; hdrlen 134 net/bluetooth/cmtp/core.c __u8 hdr, hdrlen, id; hdrlen 144 net/bluetooth/cmtp/core.c hdrlen = 2; hdrlen 148 net/bluetooth/cmtp/core.c hdrlen = 3; hdrlen 152 net/bluetooth/cmtp/core.c hdrlen = 1; hdrlen 159 net/bluetooth/cmtp/core.c BT_DBG("hdr 0x%02x hdrlen %d len %d id %d", hdr, hdrlen, len, id); hdrlen 161 net/bluetooth/cmtp/core.c if (hdrlen + len > skb->len) { hdrlen 167 net/bluetooth/cmtp/core.c skb_pull(skb, hdrlen); hdrlen 173 net/bluetooth/cmtp/core.c cmtp_add_msgpart(session, id, skb->data + hdrlen, len); hdrlen 178 net/bluetooth/cmtp/core.c cmtp_add_msgpart(session, id, skb->data + hdrlen, len); hdrlen 186 net/bluetooth/cmtp/core.c skb_pull(skb, hdrlen + len); hdrlen 5029 net/core/filter.c srh_end = (void *)((char *)srh + sizeof(*srh) + srh_state->hdrlen); hdrlen 5068 net/core/filter.c srh_state->hdrlen = srh_state->srh->hdrlen << 3; hdrlen 5163 net/core/filter.c srh_state->hdrlen); hdrlen 5191 net/core/filter.c srh_state->hdrlen += len; hdrlen 1887 net/core/rtnetlink.c int hdrlen; hdrlen 1920 net/core/rtnetlink.c hdrlen = nlmsg_len(nlh) < sizeof(struct ifinfomsg) ? hdrlen 1923 net/core/rtnetlink.c return nlmsg_parse_deprecated(nlh, hdrlen, tb, IFLA_MAX, ifla_policy, hdrlen 3414 net/core/rtnetlink.c int hdrlen; hdrlen 3417 net/core/rtnetlink.c hdrlen = nlmsg_len(nlh) < sizeof(struct ifinfomsg) ? hdrlen 3420 net/core/rtnetlink.c if (nlmsg_parse_deprecated(nlh, hdrlen, tb, IFLA_MAX, ifla_policy, NULL) >= 0) { hdrlen 216 net/ipv4/ah4.c ah->hdrlen = (XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; hdrlen 218 net/ipv4/ah4.c ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; hdrlen 275 net/ipv4/ah4.c int ah_hlen = (ah->hdrlen + 2) << 2; hdrlen 332 net/ipv4/ah4.c ah_hlen = (ah->hdrlen + 2) << 2; hdrlen 89 net/ipv4/fou.c void *data, size_t hdrlen, u8 ipproto, hdrlen 95 net/ipv4/fou.c size_t plen = sizeof(struct udphdr) + hdrlen + hdrlen 105 net/ipv4/fou.c skb_remcsum_process(skb, (void *)guehdr + hdrlen, hdrlen 121 net/ipv4/fou.c size_t len, optlen, hdrlen; hdrlen 178 net/ipv4/fou.c hdrlen = sizeof(struct guehdr) + optlen; hdrlen 200 net/ipv4/fou.c hdrlen, guehdr->proto_ctype, hdrlen 216 net/ipv4/fou.c __skb_pull(skb, sizeof(struct udphdr) + hdrlen); hdrlen 289 net/ipv4/fou.c size_t hdrlen, struct gro_remcsum *grc, hdrlen 302 net/ipv4/fou.c guehdr = skb_gro_remcsum_process(skb, (void *)guehdr, off, hdrlen, hdrlen 319 net/ipv4/fou.c size_t len, optlen, hdrlen, off; hdrlen 371 net/ipv4/fou.c hdrlen = sizeof(*guehdr) + optlen; hdrlen 376 net/ipv4/fou.c skb_gro_postpull_rcsum(skb, guehdr, hdrlen); hdrlen 387 net/ipv4/fou.c data + doffset, hdrlen, &grc, hdrlen 400 net/ipv4/fou.c skb_gro_pull(skb, hdrlen); hdrlen 991 net/ipv4/fou.c size_t hdrlen, optlen = 0; hdrlen 1013 net/ipv4/fou.c hdrlen = sizeof(struct guehdr) + optlen; hdrlen 1015 net/ipv4/fou.c skb_push(skb, hdrlen); hdrlen 1038 net/ipv4/fou.c if (csum_start < hdrlen) hdrlen 1041 net/ipv4/fou.c csum_start -= hdrlen; hdrlen 1062 net/ipv4/inet_diag.c int hdrlen = sizeof(struct inet_diag_req_v2); hdrlen 1065 net/ipv4/inet_diag.c if (nlmsg_attrlen(cb->nlh, hdrlen)) hdrlen 1066 net/ipv4/inet_diag.c bc = nlmsg_find_attr(cb->nlh, hdrlen, INET_DIAG_REQ_BYTECODE); hdrlen 1087 net/ipv4/inet_diag.c int hdrlen = sizeof(struct inet_diag_req); hdrlen 1097 net/ipv4/inet_diag.c if (nlmsg_attrlen(cb->nlh, hdrlen)) hdrlen 1098 net/ipv4/inet_diag.c bc = nlmsg_find_attr(cb->nlh, hdrlen, INET_DIAG_REQ_BYTECODE); hdrlen 1120 net/ipv4/inet_diag.c int hdrlen = sizeof(struct inet_diag_req); hdrlen 1124 net/ipv4/inet_diag.c nlmsg_len(nlh) < hdrlen) hdrlen 1128 net/ipv4/inet_diag.c if (nlmsg_attrlen(nlh, hdrlen)) { hdrlen 1132 net/ipv4/inet_diag.c attr = nlmsg_find_attr(nlh, hdrlen, hdrlen 1151 net/ipv4/inet_diag.c int hdrlen = sizeof(struct inet_diag_req_v2); hdrlen 1154 net/ipv4/inet_diag.c if (nlmsg_len(h) < hdrlen) hdrlen 1159 net/ipv4/inet_diag.c if (nlmsg_attrlen(h, hdrlen)) { hdrlen 1163 net/ipv4/inet_diag.c attr = nlmsg_find_attr(h, hdrlen, hdrlen 95 net/ipv4/netfilter/nf_nat_snmp_basic_main.c int snmp_version(void *context, size_t hdrlen, unsigned char tag, hdrlen 105 net/ipv4/netfilter/nf_nat_snmp_basic_main.c int snmp_helper(void *context, size_t hdrlen, unsigned char tag, hdrlen 1655 net/ipv4/tcp_ipv4.c unsigned int hdrlen; hdrlen 1682 net/ipv4/tcp_ipv4.c hdrlen = th->doff * 4; hdrlen 1686 net/ipv4/tcp_ipv4.c shinfo->gso_size = skb->len - hdrlen; hdrlen 1708 net/ipv4/tcp_ipv4.c memcmp(thtail + 1, th + 1, hdrlen - sizeof(*th))) hdrlen 1711 net/ipv4/tcp_ipv4.c __skb_pull(skb, hdrlen); hdrlen 1750 net/ipv4/tcp_ipv4.c __skb_push(skb, hdrlen); hdrlen 232 net/ipv6/ah6.c segments = rthdr->hdrlen >> 1; hdrlen 409 net/ipv6/ah6.c ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; hdrlen 956 net/ipv6/calipso.c new->hdrlen = buf_len / 8 - 1; hdrlen 998 net/ipv6/calipso.c (*new)->hdrlen -= delta / 8; hdrlen 1353 net/ipv6/calipso.c new_hop->hdrlen = len_delta / 8 - 1; hdrlen 1356 net/ipv6/calipso.c hop->hdrlen += len_delta / 8; hdrlen 1405 net/ipv6/calipso.c old_hop->hdrlen -= delta / 8; hdrlen 694 net/ipv6/datagram.c put_cmsg(msg, SOL_IPV6, IPV6_2292RTHDR, (rthdr->hdrlen+1) << 3, rthdr); hdrlen 849 net/ipv6/datagram.c len = ((hdr->hdrlen + 1) << 3); hdrlen 869 net/ipv6/datagram.c len = ((hdr->hdrlen + 1) << 3); hdrlen 894 net/ipv6/datagram.c len = ((hdr->hdrlen + 1) << 3); hdrlen 924 net/ipv6/datagram.c if (rthdr->hdrlen != 2 || hdrlen 936 net/ipv6/datagram.c len = ((rthdr->hdrlen + 1) << 3); hdrlen 944 net/ipv6/datagram.c if ((rthdr->hdrlen >> 1) != rthdr->segments_left) { hdrlen 953 net/ipv6/datagram.c int dsthdrlen = ((opt->dst1opt->hdrlen+1)<<3); hdrlen 384 net/ipv6/exthdrs.c int offset = (hdr->hdrlen + 1) << 3; hdrlen 408 net/ipv6/exthdrs.c skb->transport_header += (hdr->hdrlen + 1) << 3; hdrlen 414 net/ipv6/exthdrs.c if (hdr->segments_left >= (hdr->hdrlen >> 1)) { hdrlen 534 net/ipv6/exthdrs.c skb->transport_header += (hdr->hdrlen + 1) << 3; hdrlen 547 net/ipv6/exthdrs.c if (hdr->hdrlen != 2 || hdr->segments_left != 1) { hdrlen 563 net/ipv6/exthdrs.c n = hdr->hdrlen >> 1; hdrlen 875 net/ipv6/exthdrs.c phdr = skb_push(skb, (ihdr->rt_hdr.hdrlen + 1) << 3); hdrlen 878 net/ipv6/exthdrs.c hops = ihdr->rt_hdr.hdrlen >> 1; hdrlen 899 net/ipv6/exthdrs.c plen = (sr_ihdr->hdrlen + 1) << 3; hdrlen 911 net/ipv6/exthdrs.c if (sr_ihdr->hdrlen > hops * 2) { hdrlen 915 net/ipv6/exthdrs.c tlvs_length = (sr_ihdr->hdrlen - hops * 2) << 3; hdrlen 81 net/ipv6/exthdrs_core.c int hdrlen; hdrlen 101 net/ipv6/exthdrs_core.c hdrlen = 8; hdrlen 103 net/ipv6/exthdrs_core.c hdrlen = ipv6_authlen(hp); hdrlen 105 net/ipv6/exthdrs_core.c hdrlen = ipv6_optlen(hp); hdrlen 108 net/ipv6/exthdrs_core.c start += hdrlen; hdrlen 126 net/ipv6/exthdrs_core.c len = ((hdr->hdrlen + 1) << 3); hdrlen 208 net/ipv6/exthdrs_core.c unsigned int hdrlen; hdrlen 263 net/ipv6/exthdrs_core.c hdrlen = 8; hdrlen 267 net/ipv6/exthdrs_core.c hdrlen = ipv6_authlen(hp); hdrlen 269 net/ipv6/exthdrs_core.c hdrlen = ipv6_optlen(hp); hdrlen 273 net/ipv6/exthdrs_core.c start += hdrlen; hdrlen 1202 net/ipv6/ip6_output.c return src ? kmemdup(src, (src->hdrlen + 1) * 8, gfp) : NULL; hdrlen 1208 net/ipv6/ip6_output.c return src ? kmemdup(src, (src->hdrlen + 1) * 8, gfp) : NULL; hdrlen 450 net/ipv6/ipv6_sockglue.c if (rthdr->hdrlen != 2 || hdrlen 170 net/ipv6/mip6.c dstopt->hdrlen = (x->props.header_len >> 3) - 1; hdrlen 371 net/ipv6/mip6.c rt2->rt_hdr.hdrlen = (x->props.header_len >> 3) - 1; hdrlen 376 net/ipv6/mip6.c WARN_ON(rt2->rt_hdr.hdrlen != 2); hdrlen 42 net/ipv6/netfilter/ip6t_ah.c unsigned int hdrlen = 0; hdrlen 58 net/ipv6/netfilter/ip6t_ah.c hdrlen = ipv6_authlen(ah); hdrlen 60 net/ipv6/netfilter/ip6t_ah.c pr_debug("IPv6 AH LEN %u %u ", hdrlen, ah->hdrlen); hdrlen 69 net/ipv6/netfilter/ip6t_ah.c ahinfo->hdrlen, hdrlen, hdrlen 70 net/ipv6/netfilter/ip6t_ah.c (!ahinfo->hdrlen || hdrlen 71 net/ipv6/netfilter/ip6t_ah.c (ahinfo->hdrlen == hdrlen) ^ hdrlen 81 net/ipv6/netfilter/ip6t_ah.c (!ahinfo->hdrlen || hdrlen 82 net/ipv6/netfilter/ip6t_ah.c (ahinfo->hdrlen == hdrlen) ^ hdrlen 51 net/ipv6/netfilter/ip6t_hbh.c unsigned int hdrlen = 0; hdrlen 75 net/ipv6/netfilter/ip6t_hbh.c hdrlen = ipv6_optlen(oh); hdrlen 76 net/ipv6/netfilter/ip6t_hbh.c if (skb->len - ptr < hdrlen) { hdrlen 81 net/ipv6/netfilter/ip6t_hbh.c pr_debug("IPv6 OPTS LEN %u %u ", hdrlen, oh->hdrlen); hdrlen 84 net/ipv6/netfilter/ip6t_hbh.c optinfo->hdrlen, hdrlen, hdrlen 86 net/ipv6/netfilter/ip6t_hbh.c ((optinfo->hdrlen == hdrlen) ^ hdrlen 91 net/ipv6/netfilter/ip6t_hbh.c ((optinfo->hdrlen == hdrlen) ^ hdrlen 95 net/ipv6/netfilter/ip6t_hbh.c hdrlen -= 2; hdrlen 103 net/ipv6/netfilter/ip6t_hbh.c if (hdrlen < 1) hdrlen 123 net/ipv6/netfilter/ip6t_hbh.c if (hdrlen < 2) hdrlen 147 net/ipv6/netfilter/ip6t_hbh.c if ((ptr > skb->len - optlen || hdrlen < optlen) && hdrlen 153 net/ipv6/netfilter/ip6t_hbh.c hdrlen -= optlen; hdrlen 48 net/ipv6/netfilter/ip6t_ipv6header.c int hdrlen; hdrlen 72 net/ipv6/netfilter/ip6t_ipv6header.c hdrlen = 8; hdrlen 74 net/ipv6/netfilter/ip6t_ipv6header.c hdrlen = ipv6_authlen(hp); hdrlen 76 net/ipv6/netfilter/ip6t_ipv6header.c hdrlen = ipv6_optlen(hp); hdrlen 100 net/ipv6/netfilter/ip6t_ipv6header.c len -= hdrlen; hdrlen 101 net/ipv6/netfilter/ip6t_ipv6header.c ptr += hdrlen; hdrlen 43 net/ipv6/netfilter/ip6t_rt.c unsigned int hdrlen = 0; hdrlen 62 net/ipv6/netfilter/ip6t_rt.c hdrlen = ipv6_optlen(rh); hdrlen 63 net/ipv6/netfilter/ip6t_rt.c if (skb->len - ptr < hdrlen) { hdrlen 68 net/ipv6/netfilter/ip6t_rt.c pr_debug("IPv6 RT LEN %u %u ", hdrlen, rh->hdrlen); hdrlen 82 net/ipv6/netfilter/ip6t_rt.c rtinfo->hdrlen, hdrlen, hdrlen 84 net/ipv6/netfilter/ip6t_rt.c ((rtinfo->hdrlen == hdrlen) ^ hdrlen 97 net/ipv6/netfilter/ip6t_rt.c ((rtinfo->hdrlen == hdrlen) ^ hdrlen 120 net/ipv6/netfilter/ip6t_rt.c if (rtinfo->addrnr > (unsigned int)((hdrlen - 8) / 16)) { hdrlen 128 net/ipv6/netfilter/ip6t_rt.c temp < (unsigned int)((hdrlen - 8) / 16); hdrlen 157 net/ipv6/netfilter/ip6t_rt.c if (rtinfo->addrnr > (unsigned int)((hdrlen - 8) / 16)) { hdrlen 179 net/ipv6/netfilter/ip6t_rt.c temp == (unsigned int)((hdrlen - 8) / 16)) hdrlen 29 net/ipv6/netfilter/ip6t_srh.c int hdrlen, srhoff = 0; hdrlen 37 net/ipv6/netfilter/ip6t_srh.c hdrlen = ipv6_optlen(srh); hdrlen 38 net/ipv6/netfilter/ip6t_srh.c if (skb->len - srhoff < hdrlen) hdrlen 56 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen == srhinfo->hdr_len))) hdrlen 61 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen > srhinfo->hdr_len))) hdrlen 66 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen < srhinfo->hdr_len))) hdrlen 118 net/ipv6/netfilter/ip6t_srh.c int hdrlen, psidoff, nsidoff, lsidoff, srhoff = 0; hdrlen 131 net/ipv6/netfilter/ip6t_srh.c hdrlen = ipv6_optlen(srh); hdrlen 132 net/ipv6/netfilter/ip6t_srh.c if (skb->len - srhoff < hdrlen) hdrlen 150 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen == srhinfo->hdr_len))) hdrlen 154 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen > srhinfo->hdr_len))) hdrlen 158 net/ipv6/netfilter/ip6t_srh.c !(srh->hdrlen < srhinfo->hdr_len))) hdrlen 401 net/ipv6/netfilter/nf_conntrack_reasm.c int hdrlen; hdrlen 417 net/ipv6/netfilter/nf_conntrack_reasm.c hdrlen = ipv6_authlen(&hdr); hdrlen 419 net/ipv6/netfilter/nf_conntrack_reasm.c hdrlen = ipv6_optlen(&hdr); hdrlen 425 net/ipv6/netfilter/nf_conntrack_reasm.c len -= hdrlen; hdrlen 426 net/ipv6/netfilter/nf_conntrack_reasm.c start += hdrlen; hdrlen 46 net/ipv6/netfilter/nf_log_ipv6.c unsigned int hdrlen = 0; hdrlen 113 net/ipv6/netfilter/nf_log_ipv6.c hdrlen = 8; hdrlen 125 net/ipv6/netfilter/nf_log_ipv6.c hdrlen = ipv6_optlen(hp); hdrlen 158 net/ipv6/netfilter/nf_log_ipv6.c hdrlen = ipv6_authlen(hp); hdrlen 198 net/ipv6/netfilter/nf_log_ipv6.c ptr += hdrlen; hdrlen 36 net/ipv6/seg6.c if (((srh->hdrlen + 1) << 3) != len) hdrlen 90 net/ipv6/seg6_hmac.c if (srh->hdrlen < (srh->first_segment + 1) * 2 + 5) hdrlen 97 net/ipv6/seg6_hmac.c ((char *)srh + ((srh->hdrlen + 1) << 3) - 40); hdrlen 114 net/ipv6/seg6_iptunnel.c int hdrlen, tot_len, err; hdrlen 117 net/ipv6/seg6_iptunnel.c hdrlen = (osrh->hdrlen + 1) << 3; hdrlen 118 net/ipv6/seg6_iptunnel.c tot_len = hdrlen + sizeof(*hdr); hdrlen 151 net/ipv6/seg6_iptunnel.c memcpy(isrh, osrh, hdrlen); hdrlen 177 net/ipv6/seg6_iptunnel.c int hdrlen, err; hdrlen 179 net/ipv6/seg6_iptunnel.c hdrlen = (osrh->hdrlen + 1) << 3; hdrlen 181 net/ipv6/seg6_iptunnel.c err = skb_cow_head(skb, hdrlen + skb->mac_len); hdrlen 191 net/ipv6/seg6_iptunnel.c skb_push(skb, sizeof(struct ipv6hdr) + hdrlen); hdrlen 200 net/ipv6/seg6_iptunnel.c memcpy(isrh, osrh, hdrlen); hdrlen 218 net/ipv6/seg6_iptunnel.c skb_postpush_rcsum(skb, hdr, sizeof(struct ipv6hdr) + hdrlen); hdrlen 80 net/ipv6/seg6_local.c len = (srh->hdrlen + 1) << 3; hdrlen 480 net/ipv6/seg6_local.c if ((srh_state->hdrlen & 7) != 0) hdrlen 483 net/ipv6/seg6_local.c srh->hdrlen = (u8)(srh_state->hdrlen >> 3); hdrlen 484 net/ipv6/seg6_local.c if (!seg6_validate_srh(srh, (srh->hdrlen + 1) << 3)) hdrlen 513 net/ipv6/seg6_local.c srh_state->hdrlen = srh->hdrlen << 3; hdrlen 678 net/ipv6/seg6_local.c len = (srh->hdrlen + 1) << 3; hdrlen 691 net/ipv6/seg6_local.c int len = (a->srh->hdrlen + 1) << 3; hdrlen 693 net/ipv6/seg6_local.c if (len != ((b->srh->hdrlen + 1) << 3)) hdrlen 1052 net/ipv6/seg6_local.c nlsize += nla_total_size((slwt->srh->hdrlen + 1) << 3); hdrlen 816 net/l2tp/l2tp_ppp.c po->chan.hdrlen = PPPOL2TP_L2TP_HDR_SIZE_NOSEQ; hdrlen 1200 net/l2tp/l2tp_ppp.c po->chan.hdrlen = val ? PPPOL2TP_L2TP_HDR_SIZE_SEQ : hdrlen 908 net/llc/af_llc.c int rc = -EINVAL, copied = 0, hdrlen; hdrlen 928 net/llc/af_llc.c hdrlen = llc->dev->hard_header_len + llc_ui_header_len(sk, addr); hdrlen 929 net/llc/af_llc.c size = hdrlen + len; hdrlen 932 net/llc/af_llc.c copied = size - hdrlen; hdrlen 943 net/llc/af_llc.c skb_reserve(skb, hdrlen); hdrlen 107 net/mac80211/mesh_pathtbl.c int mesh_hdrlen, hdrlen; hdrlen 111 net/mac80211/mesh_pathtbl.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 112 net/mac80211/mesh_pathtbl.c mshdr = (struct ieee80211s_hdr *) (skb->data + hdrlen); hdrlen 120 net/mac80211/mesh_pathtbl.c memmove(skb->data, hdr, hdrlen + mesh_hdrlen); hdrlen 126 net/mac80211/mesh_pathtbl.c mshdr = (struct ieee80211s_hdr *) (skb->data + hdrlen); hdrlen 1010 net/mac80211/rx.c int hdrlen; hdrlen 1017 net/mac80211/rx.c hdrlen = ieee80211_hdrlen(fc); hdrlen 1020 net/mac80211/rx.c minlen = hdrlen + cs->hdr_len; hdrlen 1021 net/mac80211/rx.c key_idx_off = hdrlen + cs->key_idx_off; hdrlen 1025 net/mac80211/rx.c minlen = hdrlen + IEEE80211_WEP_IV_LEN; hdrlen 1026 net/mac80211/rx.c key_idx_off = hdrlen + 3; hdrlen 1502 net/mac80211/rx.c unsigned int hdrlen; hdrlen 1505 net/mac80211/rx.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 1507 net/mac80211/rx.c if (rx->skb->len < hdrlen + 8) hdrlen 1510 net/mac80211/rx.c skb_copy_bits(rx->skb, hdrlen + 6, ðertype, 2); hdrlen 2674 net/mac80211/rx.c u16 ac, q, hdrlen; hdrlen 2678 net/mac80211/rx.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 2681 net/mac80211/rx.c if (!pskb_may_pull(rx->skb, hdrlen + 6)) hdrlen 2684 net/mac80211/rx.c mesh_hdr = (struct ieee80211s_hdr *) (skb->data + hdrlen); hdrlen 2688 net/mac80211/rx.c hdrlen + ieee80211_get_mesh_hdrlen(mesh_hdr))) hdrlen 2693 net/mac80211/rx.c mesh_hdr = (struct ieee80211s_hdr *) (skb->data + hdrlen); hdrlen 4140 net/mac80211/rx.c int hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 4141 net/mac80211/rx.c int snap_offs = hdrlen; hdrlen 4263 net/mac80211/rx.c if (__ieee80211_rx_h_amsdu(rx, snap_offs - hdrlen) != hdrlen 865 net/mac80211/tx.c struct sk_buff *skb, int hdrlen, hdrlen 871 net/mac80211/tx.c int per_fragm = frag_threshold - hdrlen - FCS_LEN; hdrlen 872 net/mac80211/tx.c int pos = hdrlen + per_fragm; hdrlen 873 net/mac80211/tx.c int rem = skb->len - hdrlen - per_fragm; hdrlen 913 net/mac80211/tx.c skb_put_data(tmp, skb->data, hdrlen); hdrlen 920 net/mac80211/tx.c skb_trim(skb, hdrlen + per_fragm); hdrlen 931 net/mac80211/tx.c int hdrlen; hdrlen 952 net/mac80211/tx.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 966 net/mac80211/tx.c if (ieee80211_fragment(tx, skb, hdrlen, frag_threshold)) hdrlen 2219 net/mac80211/tx.c int hdrlen; hdrlen 2254 net/mac80211/tx.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 2256 net/mac80211/tx.c if (skb->len < len_rthdr + hdrlen) hdrlen 2264 net/mac80211/tx.c skb->len >= len_rthdr + hdrlen + sizeof(rfc1042_header) + 2) { hdrlen 2265 net/mac80211/tx.c u8 *payload = (u8 *)hdr + hdrlen; hdrlen 2468 net/mac80211/tx.c u16 ethertype, hdrlen, meshhdrlen = 0; hdrlen 2506 net/mac80211/tx.c hdrlen = 30; hdrlen 2533 net/mac80211/tx.c hdrlen = 24; hdrlen 2543 net/mac80211/tx.c hdrlen = 30; hdrlen 2584 net/mac80211/tx.c hdrlen = ieee80211_fill_mesh_addresses(&hdr, &fc, hdrlen 2602 net/mac80211/tx.c hdrlen = ieee80211_fill_mesh_addresses(&hdr, &fc, hdrlen 2640 net/mac80211/tx.c hdrlen = 24; hdrlen 2650 net/mac80211/tx.c hdrlen = 30; hdrlen 2657 net/mac80211/tx.c hdrlen = 24; hdrlen 2671 net/mac80211/tx.c hdrlen = 24; hdrlen 2684 net/mac80211/tx.c hdrlen = 24; hdrlen 2711 net/mac80211/tx.c hdrlen += 2; hdrlen 2793 net/mac80211/tx.c head_need = hdrlen + encaps_len + meshhdrlen - skb_headroom(skb); hdrlen 2830 net/mac80211/tx.c memcpy(skb_push(skb, hdrlen - 2), &hdr, hdrlen - 2); hdrlen 2837 net/mac80211/tx.c memcpy(skb_push(skb, hdrlen), &hdr, hdrlen); hdrlen 3250 net/mac80211/tx.c u16 hdrlen; hdrlen 3322 net/mac80211/tx.c hdrlen = fast_tx->hdr_len - sizeof(rfc1042_header); hdrlen 3323 net/mac80211/tx.c if ((head->len - hdrlen) & 3) hdrlen 3324 net/mac80211/tx.c pad = 4 - ((head->len - hdrlen) & 3); hdrlen 72 net/mac80211/wep.c unsigned int hdrlen; hdrlen 80 net/mac80211/wep.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 82 net/mac80211/wep.c memmove(newhdr, newhdr + IEEE80211_WEP_IV_LEN, hdrlen); hdrlen 87 net/mac80211/wep.c return newhdr + hdrlen; hdrlen 89 net/mac80211/wep.c ieee80211_wep_get_iv(local, keylen, keyidx, newhdr + hdrlen); hdrlen 90 net/mac80211/wep.c return newhdr + hdrlen; hdrlen 99 net/mac80211/wep.c unsigned int hdrlen; hdrlen 101 net/mac80211/wep.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 102 net/mac80211/wep.c memmove(skb->data + IEEE80211_WEP_IV_LEN, skb->data, hdrlen); hdrlen 201 net/mac80211/wep.c unsigned int hdrlen; hdrlen 208 net/mac80211/wep.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 209 net/mac80211/wep.c if (skb->len < hdrlen + IEEE80211_WEP_IV_LEN + IEEE80211_WEP_ICV_LEN) hdrlen 212 net/mac80211/wep.c len = skb->len - hdrlen - IEEE80211_WEP_IV_LEN - IEEE80211_WEP_ICV_LEN; hdrlen 214 net/mac80211/wep.c keyidx = skb->data[hdrlen + 3] >> 6; hdrlen 222 net/mac80211/wep.c memcpy(rc4key, skb->data + hdrlen, 3); hdrlen 228 net/mac80211/wep.c skb->data + hdrlen + hdrlen 236 net/mac80211/wep.c memmove(skb->data + IEEE80211_WEP_IV_LEN, skb->data, hdrlen); hdrlen 33 net/mac80211/wpa.c unsigned int hdrlen; hdrlen 44 net/mac80211/wpa.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 45 net/mac80211/wpa.c if (skb->len < hdrlen) hdrlen 48 net/mac80211/wpa.c data = skb->data + hdrlen; hdrlen 49 net/mac80211/wpa.c data_len = skb->len - hdrlen; hdrlen 98 net/mac80211/wpa.c unsigned int hdrlen; hdrlen 150 net/mac80211/wpa.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 151 net/mac80211/wpa.c if (skb->len < hdrlen + MICHAEL_MIC_LEN) hdrlen 158 net/mac80211/wpa.c data = skb->data + hdrlen; hdrlen 159 net/mac80211/wpa.c data_len = skb->len - hdrlen - MICHAEL_MIC_LEN; hdrlen 198 net/mac80211/wpa.c unsigned int hdrlen; hdrlen 210 net/mac80211/wpa.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 211 net/mac80211/wpa.c len = skb->len - hdrlen; hdrlen 223 net/mac80211/wpa.c memmove(pos, pos + IEEE80211_TKIP_IV_LEN, hdrlen); hdrlen 224 net/mac80211/wpa.c pos += hdrlen; hdrlen 267 net/mac80211/wpa.c int hdrlen, res, hwaccel = 0; hdrlen 272 net/mac80211/wpa.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 277 net/mac80211/wpa.c if (!rx->sta || skb->len - hdrlen < 12) hdrlen 294 net/mac80211/wpa.c key, skb->data + hdrlen, hdrlen 295 net/mac80211/wpa.c skb->len - hdrlen, rx->sta->sta.addr, hdrlen 307 net/mac80211/wpa.c memmove(skb->data + IEEE80211_TKIP_IV_LEN, skb->data, hdrlen); hdrlen 320 net/mac80211/wpa.c unsigned int hdrlen; hdrlen 335 net/mac80211/wpa.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 336 net/mac80211/wpa.c len_a = hdrlen - 2; hdrlen 411 net/mac80211/wpa.c int hdrlen, len, tail; hdrlen 431 net/mac80211/wpa.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 432 net/mac80211/wpa.c len = skb->len - hdrlen; hdrlen 444 net/mac80211/wpa.c memmove(pos, pos + IEEE80211_CCMP_HDR_LEN, hdrlen); hdrlen 452 net/mac80211/wpa.c pos += hdrlen; hdrlen 498 net/mac80211/wpa.c int hdrlen; hdrlen 506 net/mac80211/wpa.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 513 net/mac80211/wpa.c if (!pskb_may_pull(rx->skb, hdrlen + IEEE80211_CCMP_HDR_LEN)) hdrlen 522 net/mac80211/wpa.c data_len = skb->len - hdrlen - IEEE80211_CCMP_HDR_LEN - mic_len; hdrlen 529 net/mac80211/wpa.c ccmp_hdr2pn(pn, skb->data + hdrlen); hdrlen 549 net/mac80211/wpa.c skb->data + hdrlen + IEEE80211_CCMP_HDR_LEN, hdrlen 561 net/mac80211/wpa.c memmove(skb->data + IEEE80211_CCMP_HDR_LEN, skb->data, hdrlen); hdrlen 642 net/mac80211/wpa.c int hdrlen, len, tail; hdrlen 661 net/mac80211/wpa.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 662 net/mac80211/wpa.c len = skb->len - hdrlen; hdrlen 674 net/mac80211/wpa.c memmove(pos, pos + IEEE80211_GCMP_HDR_LEN, hdrlen); hdrlen 684 net/mac80211/wpa.c pos += hdrlen; hdrlen 726 net/mac80211/wpa.c int hdrlen; hdrlen 733 net/mac80211/wpa.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 740 net/mac80211/wpa.c if (!pskb_may_pull(rx->skb, hdrlen + IEEE80211_GCMP_HDR_LEN)) hdrlen 749 net/mac80211/wpa.c data_len = skb->len - hdrlen - IEEE80211_GCMP_HDR_LEN - mic_len; hdrlen 756 net/mac80211/wpa.c gcmp_hdr2pn(pn, skb->data + hdrlen); hdrlen 776 net/mac80211/wpa.c skb->data + hdrlen + IEEE80211_GCMP_HDR_LEN, hdrlen 789 net/mac80211/wpa.c memmove(skb->data + IEEE80211_GCMP_HDR_LEN, skb->data, hdrlen); hdrlen 802 net/mac80211/wpa.c int hdrlen; hdrlen 815 net/mac80211/wpa.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 818 net/mac80211/wpa.c memmove(pos, pos + iv_len, hdrlen); hdrlen 844 net/mac80211/wpa.c int hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 860 net/mac80211/wpa.c data_len = rx->skb->len - hdrlen - cs->hdr_len; hdrlen 876 net/mac80211/wpa.c skb_pn = rx->skb->data + hdrlen + cs->pn_off; hdrlen 887 net/mac80211/wpa.c memmove(rx->skb->data + cs->hdr_len, rx->skb->data, hdrlen); hdrlen 1029 net/netfilter/ipvs/ip_vs_xmit.c size_t hdrlen, optlen = 0; hdrlen 1039 net/netfilter/ipvs/ip_vs_xmit.c hdrlen = sizeof(struct guehdr) + optlen; hdrlen 1041 net/netfilter/ipvs/ip_vs_xmit.c skb_push(skb, hdrlen); hdrlen 1062 net/netfilter/ipvs/ip_vs_xmit.c if (csum_start < hdrlen) hdrlen 1065 net/netfilter/ipvs/ip_vs_xmit.c csum_start -= hdrlen; hdrlen 1102 net/netfilter/ipvs/ip_vs_xmit.c size_t hdrlen; hdrlen 1107 net/netfilter/ipvs/ip_vs_xmit.c hdrlen = gre_calc_hlen(tflags); hdrlen 1108 net/netfilter/ipvs/ip_vs_xmit.c gre_build_header(skb, hdrlen, tflags, proto, 0, 0); hdrlen 570 net/netfilter/nf_nat_proto.c unsigned int hdrlen = ip_hdrlen(skb); hdrlen 576 net/netfilter/nf_nat_proto.c if (skb_ensure_writable(skb, hdrlen + sizeof(*inside))) hdrlen 578 net/netfilter/nf_nat_proto.c if (nf_ip_checksum(skb, hooknum, hdrlen, IPPROTO_ICMP)) hdrlen 581 net/netfilter/nf_nat_proto.c inside = (void *)skb->data + hdrlen; hdrlen 601 net/netfilter/nf_nat_proto.c if (!nf_nat_ipv4_manip_pkt(skb, hdrlen + sizeof(inside->icmp), hdrlen 607 net/netfilter/nf_nat_proto.c inside = (void *)skb->data + hdrlen; hdrlen 610 net/netfilter/nf_nat_proto.c csum_fold(skb_checksum(skb, hdrlen, hdrlen 611 net/netfilter/nf_nat_proto.c skb->len - hdrlen, 0)); hdrlen 785 net/netfilter/nf_nat_proto.c unsigned int hdrlen) hdrlen 798 net/netfilter/nf_nat_proto.c if (skb_ensure_writable(skb, hdrlen + sizeof(*inside))) hdrlen 800 net/netfilter/nf_nat_proto.c if (nf_ip6_checksum(skb, hooknum, hdrlen, IPPROTO_ICMPV6)) hdrlen 803 net/netfilter/nf_nat_proto.c inside = (void *)skb->data + hdrlen; hdrlen 823 net/netfilter/nf_nat_proto.c if (!nf_nat_ipv6_manip_pkt(skb, hdrlen + sizeof(inside->icmp6), hdrlen 830 net/netfilter/nf_nat_proto.c inside = (void *)skb->data + hdrlen; hdrlen 834 net/netfilter/nf_nat_proto.c skb->len - hdrlen, IPPROTO_ICMPV6, hdrlen 835 net/netfilter/nf_nat_proto.c skb_checksum(skb, hdrlen, hdrlen 836 net/netfilter/nf_nat_proto.c skb->len - hdrlen, 0)); hdrlen 855 net/netfilter/nf_nat_proto.c int hdrlen; hdrlen 869 net/netfilter/nf_nat_proto.c hdrlen = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), hdrlen 872 net/netfilter/nf_nat_proto.c if (hdrlen >= 0 && nexthdr == IPPROTO_ICMPV6) { hdrlen 875 net/netfilter/nf_nat_proto.c hdrlen)) hdrlen 226 net/netlink/diag.c int hdrlen = sizeof(struct netlink_diag_req); hdrlen 229 net/netlink/diag.c if (nlmsg_len(h) < hdrlen) hdrlen 511 net/netlink/genetlink.c int hdrlen, err; hdrlen 517 net/netlink/genetlink.c hdrlen = GENL_HDRLEN + family->hdrsize; hdrlen 518 net/netlink/genetlink.c if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) hdrlen 540 net/netlink/genetlink.c int hdrlen = GENL_HDRLEN + family->hdrsize; hdrlen 542 net/netlink/genetlink.c if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) hdrlen 551 net/netlink/genetlink.c rc = __nla_validate(nlmsg_attrdata(nlh, hdrlen), hdrlen 552 net/netlink/genetlink.c nlmsg_attrlen(nlh, hdrlen), hdrlen 607 net/netlink/genetlink.c err = __nlmsg_parse(nlh, hdrlen, attrbuf, family->maxattr, hdrlen 765 net/openvswitch/conntrack.c int hdrlen = ipv6_skip_exthdr(skb, hdrlen 769 net/openvswitch/conntrack.c if (hdrlen >= 0 && nexthdr == IPPROTO_ICMPV6) { hdrlen 773 net/openvswitch/conntrack.c hdrlen)) hdrlen 347 net/openvswitch/datapath.c unsigned int hdrlen, int actions_attrlen) hdrlen 350 net/openvswitch/datapath.c + nla_total_size(hdrlen) /* OVS_PACKET_ATTR_PACKET */ hdrlen 584 net/packet/af_packet.c p1->hdrlen = po->tp_hdrlen; hdrlen 2170 net/packet/af_packet.c unsigned short macoff, netoff, hdrlen; hdrlen 2325 net/packet/af_packet.c hdrlen = sizeof(*h.h1); hdrlen 2343 net/packet/af_packet.c hdrlen = sizeof(*h.h2); hdrlen 2357 net/packet/af_packet.c hdrlen = sizeof(*h.h3); hdrlen 2363 net/packet/af_packet.c sll = h.raw + TPACKET_ALIGN(hdrlen); hdrlen 2503 net/packet/af_packet.c int hdrlen = min_t(int, copylen, tp_len); hdrlen 2507 net/packet/af_packet.c err = skb_store_bits(skb, 0, data, hdrlen); hdrlen 2510 net/packet/af_packet.c if (!dev_validate_header(dev, skb->data, hdrlen)) hdrlen 2513 net/packet/af_packet.c data += hdrlen; hdrlen 2514 net/packet/af_packet.c to_write -= hdrlen; hdrlen 226 net/packet/diag.c int hdrlen = sizeof(struct packet_diag_req); hdrlen 230 net/packet/diag.c if (nlmsg_len(h) < hdrlen) hdrlen 20 net/packet/internal.h unsigned int hdrlen; hdrlen 260 net/qrtr/qrtr.c size_t hdrlen; hdrlen 277 net/qrtr/qrtr.c hdrlen = sizeof(*v1); hdrlen 290 net/qrtr/qrtr.c hdrlen = sizeof(*v2) + v2->optlen; hdrlen 311 net/qrtr/qrtr.c if (len != ALIGN(size, 4) + hdrlen) hdrlen 317 net/qrtr/qrtr.c skb_put_data(skb, data + hdrlen, size); hdrlen 246 net/sched/act_ct.c int hdrlen = ipv6_skip_exthdr(skb, hdrlen 250 net/sched/act_ct.c if (hdrlen >= 0 && nexthdr == IPPROTO_ICMPV6) { hdrlen 254 net/sched/act_ct.c hdrlen)) hdrlen 165 net/sunrpc/auth_gss/gss_krb5_crypto.c make_checksum_hmac_md5(struct krb5_ctx *kctx, char *header, int hdrlen, hdrlen 223 net/sunrpc/auth_gss/gss_krb5_crypto.c sg_init_one(sg, header, hdrlen); hdrlen 224 net/sunrpc/auth_gss/gss_krb5_crypto.c ahash_request_set_crypt(req, sg, NULL, hdrlen); hdrlen 276 net/sunrpc/auth_gss/gss_krb5_crypto.c make_checksum(struct krb5_ctx *kctx, char *header, int hdrlen, hdrlen 288 net/sunrpc/auth_gss/gss_krb5_crypto.c return make_checksum_hmac_md5(kctx, header, hdrlen, hdrlen 324 net/sunrpc/auth_gss/gss_krb5_crypto.c sg_init_one(sg, header, hdrlen); hdrlen 325 net/sunrpc/auth_gss/gss_krb5_crypto.c ahash_request_set_crypt(req, sg, NULL, hdrlen); hdrlen 373 net/sunrpc/auth_gss/gss_krb5_crypto.c make_checksum_v2(struct krb5_ctx *kctx, char *header, int hdrlen, hdrlen 420 net/sunrpc/auth_gss/gss_krb5_crypto.c sg_init_one(sg, header, hdrlen); hdrlen 421 net/sunrpc/auth_gss/gss_krb5_crypto.c ahash_request_set_crypt(req, sg, NULL, hdrlen); hdrlen 747 net/sunrpc/xprtrdma/rpc_rdma.c struct rpcrdma_req *req, u32 hdrlen, hdrlen 762 net/sunrpc/xprtrdma/rpc_rdma.c if (!rpcrdma_prepare_hdr_sge(r_xprt, req, hdrlen)) hdrlen 576 net/sunrpc/xprtrdma/xprt_rdma.h struct rpcrdma_req *req, u32 hdrlen, hdrlen 79 net/tipc/diag.c int hdrlen = sizeof(struct tipc_sock_diag_req); hdrlen 82 net/tipc/diag.c if (nlmsg_len(h) < hdrlen) hdrlen 311 net/unix/diag.c int hdrlen = sizeof(struct unix_diag_req); hdrlen 314 net/unix/diag.c if (nlmsg_len(h) < hdrlen) hdrlen 143 net/vmw_vsock/diag.c int hdrlen = sizeof(struct vsock_diag_req); hdrlen 146 net/vmw_vsock/diag.c if (nlmsg_len(h) < hdrlen) hdrlen 375 net/wireless/util.c unsigned int hdrlen = 24; hdrlen 379 net/wireless/util.c hdrlen = 30; hdrlen 381 net/wireless/util.c hdrlen += IEEE80211_QOS_CTL_LEN; hdrlen 383 net/wireless/util.c hdrlen += IEEE80211_HT_CTL_LEN; hdrlen 390 net/wireless/util.c hdrlen += IEEE80211_HT_CTL_LEN; hdrlen 405 net/wireless/util.c hdrlen = 10; hdrlen 407 net/wireless/util.c hdrlen = 16; hdrlen 410 net/wireless/util.c return hdrlen; hdrlen 418 net/wireless/util.c unsigned int hdrlen; hdrlen 422 net/wireless/util.c hdrlen = ieee80211_hdrlen(hdr->frame_control); hdrlen 423 net/wireless/util.c if (unlikely(hdrlen > skb->len)) hdrlen 425 net/wireless/util.c return hdrlen; hdrlen 460 net/wireless/util.c u16 hdrlen; hdrlen 466 net/wireless/util.c hdrlen = ieee80211_hdrlen(hdr->frame_control) + data_offset; hdrlen 467 net/wireless/util.c if (skb->len < hdrlen + 8) hdrlen 483 net/wireless/util.c skb_copy_bits(skb, hdrlen, &mesh_flags, 1); hdrlen 505 net/wireless/util.c skb_copy_bits(skb, hdrlen + hdrlen 509 net/wireless/util.c hdrlen += __ieee80211_get_mesh_hdrlen(mesh_flags); hdrlen 523 net/wireless/util.c skb_copy_bits(skb, hdrlen + hdrlen 526 net/wireless/util.c hdrlen += __ieee80211_get_mesh_hdrlen(mesh_flags); hdrlen 537 net/wireless/util.c skb_copy_bits(skb, hdrlen, &payload, sizeof(payload)); hdrlen 546 net/wireless/util.c hdrlen += ETH_ALEN + 2; hdrlen 548 net/wireless/util.c tmp.h_proto = htons(skb->len - hdrlen); hdrlen 550 net/wireless/util.c pskb_pull(skb, hdrlen); hdrlen 164 net/xdp/xsk_diag.c int hdrlen = sizeof(struct xdp_diag_req); hdrlen 167 net/xdp/xsk_diag.c if (nlmsg_len(hdr) < hdrlen) hdrlen 187 net/xfrm/xfrm_input.c optlen = ph->hdrlen * 8 + (IPV4_BEET_PHMAXLEN - phlen); hdrlen 146 net/xfrm/xfrm_output.c int hdrlen, optlen; hdrlen 148 net/xfrm/xfrm_output.c hdrlen = 0; hdrlen 151 net/xfrm/xfrm_output.c hdrlen += IPV4_BEET_PHMAXLEN - (optlen & 4); hdrlen 153 net/xfrm/xfrm_output.c skb_set_network_header(skb, -x->props.header_len - hdrlen + hdrlen 163 net/xfrm/xfrm_output.c ph = __skb_pull(skb, XFRM_MODE_SKB_CB(skb)->ihl - hdrlen); hdrlen 172 net/xfrm/xfrm_output.c ph->hdrlen = optlen / 8; hdrlen 298 net/xfrm/xfrm_output.c ph->hdrlen = optlen / 8; hdrlen 26 tools/include/uapi/linux/seg6.h __u8 hdrlen; hdrlen 344 tools/testing/selftests/bpf/progs/bpf_flow.c keys->thoff += (1 + ip6h->hdrlen) << 3; hdrlen 37 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c unsigned char hdrlen; hdrlen 141 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) hdrlen 296 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c srh->hdrlen = 8; hdrlen 337 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c err = add_tlv(skb, srh, (srh->hdrlen+1) << 3, hdrlen 373 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c if (srh->hdrlen != 11) // 4 segments + Egress TLV + Padding TLV hdrlen 414 tools/testing/selftests/bpf/progs/test_lwt_seg6local.c if (srh->hdrlen != 8) // 4 segments hdrlen 37 tools/testing/selftests/bpf/progs/test_seg6_loop.c unsigned char hdrlen; hdrlen 144 tools/testing/selftests/bpf/progs/test_seg6_loop.c if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) hdrlen 241 tools/testing/selftests/bpf/progs/test_seg6_loop.c err = add_tlv(skb, srh, (srh->hdrlen+1) << 3, hdrlen 422 tools/testing/selftests/net/udpgso_bench_tx.c int max_len, hdrlen; hdrlen 508 tools/testing/selftests/net/udpgso_bench_tx.c hdrlen = sizeof(struct iphdr) + sizeof(struct udphdr); hdrlen 510 tools/testing/selftests/net/udpgso_bench_tx.c hdrlen = sizeof(struct ip6_hdr) + sizeof(struct udphdr); hdrlen 512 tools/testing/selftests/net/udpgso_bench_tx.c cfg_mss = ETH_DATA_LEN - hdrlen; hdrlen 513 tools/testing/selftests/net/udpgso_bench_tx.c max_len = ETH_MAX_MTU - hdrlen;