Searched refs:hdr_size (Results 26 - 50 of 73) sorted by relevance

123

/linux-master/net/batman-adv/
H A Dmulticast_forw.c1090 int hdr_size = VLAN_ETH_HLEN + IPV6_MIN_MTU - skb->len; local
1096 if (hdr_size < 0) {
1104 if (skb_headroom(skb) < hdr_size &&
1105 pskb_expand_head(skb, hdr_size, 0, GFP_ATOMIC) < 0)
H A Dsend.c228 * @hdr_size: amount of bytes to push at the beginning of the skb
234 batadv_send_skb_push_fill_unicast(struct sk_buff *skb, int hdr_size, argument
240 if (batadv_skb_head_push(skb, hdr_size) < 0)
H A Dsoft-interface.c402 * @hdr_size: size of already parsed batman-adv header
406 * skb->data has still point to the batman-adv header with the size @hdr_size.
408 * @hdr_size bytes are still available for pull in @skb.
416 struct sk_buff *skb, int hdr_size,
429 skb_pull_rcsum(skb, hdr_size);
415 batadv_interface_rx(struct net_device *soft_iface, struct sk_buff *skb, int hdr_size, struct batadv_orig_node *orig_node) argument
H A Dbridge_loop_avoidance.c1767 * @hdr_size: maximum length of the frame
1773 struct batadv_orig_node *orig_node, int hdr_size)
1782 if (!pskb_may_pull(skb, hdr_size + ETH_HLEN))
1785 vid = batadv_get_vid(skb, hdr_size);
1772 batadv_bla_is_backbone_gw(struct sk_buff *skb, struct batadv_orig_node *orig_node, int hdr_size) argument
/linux-master/include/linux/soc/qcom/
H A Dapr.h81 uint32_t hdr_size:4; member in struct:gpr_hdr
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-core.c302 u32 hdr_size, cpu_notes_size, count; local
313 hdr_size = (sizeof(Elf64_Ehdr) +
322 oc_conf->opalcorebuf_sz = PAGE_ALIGN(hdr_size + cpu_notes_size);
386 phdr->p_offset = cpu_to_be64(hdr_size);
/linux-master/drivers/infiniband/core/
H A Dmad_rmpp.c430 int hdr_size, data_size, pad; local
436 hdr_size = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class);
438 data_size = sizeof(struct opa_rmpp_mad) - hdr_size;
443 data_size = sizeof(struct ib_rmpp_mad) - hdr_size;
449 return hdr_size + rmpp_recv->seg_num * data_size - pad;
/linux-master/arch/powerpc/kernel/
H A Dnvram_64.c502 size_t length, hdr_size; local
507 hdr_size = sizeof(u16);
512 hdr_size = sizeof(*oops_hdr);
517 record->buf = kmemdup(buff + hdr_size, length, GFP_KERNEL);
/linux-master/tools/testing/selftests/bpf/progs/
H A Ddynptr_fail.c1287 __u32 hdr_size = sizeof(struct ethhdr); variable
1300 hdr = bpf_dynptr_slice(&ptr, 0, buffer, hdr_size);
1318 if (hdr_size <= sizeof(buffer)) {
1320 hdr = bpf_dynptr_slice_rdwr(&ptr, 0, buffer, hdr_size);
/linux-master/drivers/net/
H A Damt.c2249 int hdr_size; local
2251 hdr_size = sizeof(*amta) + sizeof(struct udphdr);
2252 if (!pskb_may_pull(skb, hdr_size))
2281 int hdr_size, len, err; local
2288 hdr_size = sizeof(*amtmd) + sizeof(struct udphdr);
2289 if (!pskb_may_pull(skb, hdr_size))
2296 if (iptunnel_pull_header(skb, hdr_size, htons(ETH_P_IP), false))
2352 int hdr_size, len; local
2354 hdr_size = sizeof(*amtmq) + sizeof(struct udphdr);
2355 if (!pskb_may_pull(skb, hdr_size))
2452 int len, hdr_size; local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/
H A Dacpi.c698 u32 hdr_size = 1 + !!rev_data[idx].min_profiles; local
701 u32 max_size = hdr_size + profile_size * rev_data[idx].profiles;
707 min_size = hdr_size +
739 hdr_size + profile_size * num_profiles) {
/linux-master/drivers/scsi/qla4xxx/
H A Dql4_83xx.c810 tmplt_hdr_size = ha->reset_tmplt.hdr->hdr_size/sizeof(uint32_t);
818 addr = QLA83XX_RESET_TEMPLATE_ADDR + ha->reset_tmplt.hdr->hdr_size;
819 p_buff = ha->reset_tmplt.buff + ha->reset_tmplt.hdr->hdr_size;
821 ha->reset_tmplt.hdr->hdr_size) / sizeof(uint32_t);
852 ha->reset_tmplt.hdr->hdr_size;
H A Dql4_83xx.h166 __le16 hdr_size; member in struct:qla4_83xx_reset_template_hdr
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-drv.c506 u32 api_ver, hdr_size, build; local
515 hdr_size = 28;
516 if (ucode_raw->size < hdr_size) {
534 hdr_size = 24;
535 if (ucode_raw->size < hdr_size) {
568 if (ucode_raw->size != hdr_size +
/linux-master/drivers/s390/crypto/
H A Dzcrypt_ep11misc.c938 size_t hdr_size, pl_size; local
951 &hdr, &hdr_size, &pl, &pl_size);
960 *keybufsize = hdr_size + pl_size;
1263 size_t hdr_size, pl_size; local
1268 &hdr, &hdr_size, &pl, &pl_size);
1278 *keybufsize = hdr_size + pl_size;
/linux-master/net/mpls/
H A Daf_mpls.c2369 unsigned int hdr_size = 0; local
2431 hdr_size = n_labels * sizeof(struct mpls_shim_hdr);
2442 if (hdr_size) {
2446 if (skb_cow(skb, hdr_size)) {
2451 skb_reserve(skb, hdr_size);
2452 skb_push(skb, hdr_size);
2471 if (hdr_size) {
2472 skb_pull(skb, hdr_size);
/linux-master/fs/smb/client/
H A Dsmb2misc.c141 int hdr_size = sizeof(struct smb2_hdr); local
192 if ((len >= hdr_size)
/linux-master/drivers/infiniband/hw/erdma/
H A Derdma_cm.c379 int hdr_size, int *rcvd_out)
385 if (hdr_rcvd < hdr_size) {
386 rcvd = ksock_recv(s, hdr + hdr_rcvd, hdr_size - hdr_rcvd,
397 if (hdr_rcvd < hdr_size)
378 __recv_mpa_hdr(struct erdma_cep *cep, int hdr_rcvd, char *hdr, int hdr_size, int *rcvd_out) argument
/linux-master/drivers/net/thunderbolt/
H A Dmain.c811 unsigned int hdr_size = sizeof(*hdr); local
866 skb_reserve(skb, hdr_size);
872 page, hdr_size, frame_size,
873 TBNET_RX_PAGE_SIZE - hdr_size);
/linux-master/scripts/dtc/
H A Dflattree.c20 int hdr_size; member in struct:version_info
330 reserve_off = ALIGN(vi->hdr_size, 8);
405 blob = data_append_data(blob, &fdt, vi->hdr_size);
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_init.c52 u16 hdr_size; member in struct:qlc_83xx_reset_hdr
62 u16 hdr_size;
1716 addr = QLC_83XX_RESET_TEMPLATE_ADDR + ahw->reset.hdr->hdr_size;
1717 p_buff = ahw->reset.buff + ahw->reset.hdr->hdr_size;
1718 count = (ahw->reset.hdr->size - ahw->reset.hdr->hdr_size) / sizeof(u32);
1732 ahw->reset.stop_offset = ahw->reset.buff + ahw->reset.hdr->hdr_size;
H A Dqlcnic_sriov_common.c909 u8 i, max = 2, hdr_size, j; local
911 hdr_size = (sizeof(struct qlcnic_bc_hdr) / sizeof(u32));
912 max = (size / sizeof(u32)) + hdr_size;
914 for (i = 2, j = 0; j < hdr_size; i++, j++)
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_nx2.h223 uint16_t hdr_size; member in struct:qla8044_reset_template_hdr
/linux-master/drivers/target/iscsi/cxgbit/
H A Dcxgbit_target.c166 u32 hdr_size = sizeof(*req); local
175 hdr_size += sizeof(struct cpl_tx_data_iso);
182 req = __skb_push(skb, hdr_size);
/linux-master/include/scsi/
H A Discsi_if.h131 uint32_t hdr_size; member in struct:iscsi_uevent::__anon1666::msg_send_pdu

Completed in 373 milliseconds

123