/linux-master/drivers/net/ |
H A D | amt.c | 512 int hlen = LL_RESERVED_SPACE(amt->dev); local 523 len = hlen + tlen + sizeof(*iph) + AMT_IPHDR_OPTS + sizeof(*ihv3); 528 skb_reserve(skb, hlen); 614 int hlen, tlen, offset; local 642 hlen = LL_RESERVED_SPACE(amt->dev); 644 len = hlen + tlen + sizeof(*iph) + sizeof(*udph) + sizeof(*amtd); 703 int hlen, tlen, offset; local 731 hlen = LL_RESERVED_SPACE(amt->dev); 733 len = hlen + tlen + sizeof(*iph) + sizeof(*udph) + sizeof(*amtrh); 808 int hlen local 2551 int hlen, tlen, offset; local [all...] |
H A D | geneve.c | 504 unsigned int hlen, gh_len, off_gnv; local 510 hlen = off_gnv + sizeof(*gh); 511 gh = skb_gro_header(skb, hlen, off_gnv); 519 hlen = off_gnv + gh_len; 520 if (!skb_gro_may_pull(skb, hlen)) { 521 gh = skb_gro_header_slow(skb, hlen, off_gnv);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | driver.c | 1441 packet->hlen = (u8 *)packet->rhf_addr - (u8 *)packet->hdr; 1549 packet->hlen = hdr_len_by_opcode[packet->opcode] + 1561 packet->hlen = hdr_len_by_opcode[packet->opcode] + 1576 packet->hlen = OPA_16B_L4_FM_HLEN; 1583 packet->payload = packet->ebuf + packet->hlen - LRH_16B_BYTES; 1681 packet->hlen;
|
/linux-master/net/ipv6/ |
H A D | sit.c | 872 int t_hlen = tunnel->hlen + sizeof(struct iphdr); 1100 int t_hlen = tunnel->hlen + sizeof(struct iphdr); 1102 int hlen = LL_MAX_HEADER; local 1134 hlen = tdev->hard_header_len + tdev->needed_headroom; 1136 dev->needed_headroom = t_hlen + hlen; 1424 int t_hlen = tunnel->hlen + sizeof(struct iphdr);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 48 __u8 hlen:5, member in struct:guehdr::__anon2423::__anon2424 54 hlen:5;
|
H A D | test_verifier.c | 356 unsigned int len = 259, hlen = 128; local 360 for (i = 1; i <= hlen; i++) { 361 insn[i] = BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, i, hlen); 362 insn[i + hlen] = BPF_JMP_A(hlen - i);
|
/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_defs.h | 172 u32 hlen:10; /* header len */ member in struct:Vmxnet3_TxDesc 174 u32 hlen:10; /* header len */ member in struct:Vmxnet3_TxDesc
|
/linux-master/include/net/ |
H A D | ipv6.h | 172 unsigned int hlen; member in struct:ip6_fraglist_iter 177 int ip6_fraglist_init(struct sk_buff *skb, unsigned int hlen, u8 *prevhdr, 194 unsigned int hlen; member in struct:ip6_frag_state 205 void ip6_frag_init(struct sk_buff *skb, unsigned int hlen, unsigned int mtu,
|
/linux-master/drivers/bluetooth/ |
H A D | btnxpuart.c | 194 .hlen = 4, \ 201 .hlen = 4, \ 208 .hlen = 4, \ 215 .hlen = 9, \
|
H A D | hci_bcm.c | 657 .hlen = BCM_LM_DIAG_SIZE, \ 664 .hlen = BCM_NULL_SIZE, \ 671 .hlen = BCM_TYPE49_SIZE, \ 678 .hlen = BCM_TYPE52_SIZE, \
|
/linux-master/net/ipv4/ |
H A D | icmp.c | 1344 int hlen; local 1347 hlen = -skb_transport_offset(skb) - thlen; 1350 if (off < 128 || off < hlen) 1354 off -= hlen;
|
H A D | arp.c | 554 int hlen = LL_RESERVED_SPACE(dev); local 561 skb = alloc_skb(arp_hdr_len(dev) + hlen + tlen, GFP_ATOMIC); 565 skb_reserve(skb, hlen);
|
/linux-master/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_main.c | 257 pdu_cb->hlen = len; 283 pdu_cb->hlen = len; 301 lro_cb->pdu_totallen += pdu_cb->hlen + pdu_cb->dlen;
|
H A D | cxgbit_cm.c | 1139 u32 opt2, hlen; local 1190 hlen = ntohl(req->hdr_len); 1194 ETH_HDR_LEN_G(hlen) + IP_HDR_LEN_G(hlen)); 1197 T6_ETH_HDR_LEN_G(hlen) + T6_IP_HDR_LEN_G(hlen));
|
/linux-master/net/tipc/ |
H A D | socket.c | 1202 int user, mtyp, hlen; local 1214 hlen = skb_headroom(skb) + msg_hdr_sz(hdr); 1247 _skb = __pskb_copy(skb, hlen, GFP_ATOMIC); 1889 int rc, err, hlen, dlen, copy; local 1917 hlen = msg_hdr_sz(hdr); 1937 rc = skb_copy_datagram_msg(skb, hlen + offset, m, copy); 1977 tipc_group_update_rcv_win(tsk->group, tsk_blocks(hlen + dlen), 1992 tsk->rcv_unacked += tsk_inc(tsk, hlen + dlen); 2022 int hlen, dlen, err, rc; local 2047 hlen [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_handle.c | 213 u32 hlen) 217 if (hlen != sizeof(xfs_handle_t)) 219 if (copy_from_user(&handle, uhandle, hlen)) 210 xfs_handle_to_dentry( struct file *parfilp, void __user *uhandle, u32 hlen) argument
|
/linux-master/drivers/rpmsg/ |
H A D | qcom_glink_native.c | 307 const void *hdr, size_t hlen, 310 glink->tx_pipe->write(glink->tx_pipe, hdr, hlen, data, dlen); 332 const void *hdr, size_t hlen, 335 unsigned int tlen = hlen + dlen; 378 qcom_glink_tx_write(glink, hdr, hlen, data, dlen); 306 qcom_glink_tx_write(struct qcom_glink *glink, const void *hdr, size_t hlen, const void *data, size_t dlen) argument 331 qcom_glink_tx(struct qcom_glink *glink, const void *hdr, size_t hlen, const void *data, size_t dlen, bool wait) argument
|
/linux-master/fs/ubifs/ |
H A D | journal.c | 1849 int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen, write_len; local 1866 hlen = host_ui->data_len + UBIFS_INO_NODE_SZ; 1867 len = aligned_xlen + UBIFS_INO_NODE_SZ + ALIGN(hlen, 8); 1934 err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen, hash);
|
/linux-master/net/bluetooth/ |
H A D | l2cap_core.c | 1125 int hlen = __ertm_hdr_size(chan); local 1128 hlen += L2CAP_FCS_SIZE; 1130 skb = bt_skb_alloc(hlen, GFP_KERNEL); 1136 lh->len = cpu_to_le16(hlen - L2CAP_HDR_SIZE); 2246 int err, count, hlen = L2CAP_HDR_SIZE + L2CAP_PSMLEN_SIZE; local 2252 count = min_t(unsigned int, (conn->mtu - hlen), len); 2254 skb = chan->ops->alloc_skb(chan, hlen, count, 2309 int err, count, hlen; local 2317 hlen = __ertm_hdr_size(chan); 2320 hlen 2429 int err, count, hlen; local [all...] |
/linux-master/net/packet/ |
H A D | af_packet.c | 2572 __be16 proto, unsigned char *addr, int hlen, int copylen, 2591 skb_reserve(skb, hlen); 2735 int hlen, tlen, copylen = 0; local 2814 hlen = LL_RESERVED_SPACE(dev); 2830 hlen + tlen + sizeof(struct sockaddr_ll) + 2841 addr, hlen, copylen, &sockc); 2956 int hlen, tlen, linear; local 3019 hlen = LL_RESERVED_SPACE(dev); 3023 skb = packet_alloc_skb(sk, hlen + tlen, hlen, le 2570 tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb, void *frame, struct net_device *dev, void *data, int tp_len, __be16 proto, unsigned char *addr, int hlen, int copylen, const struct sockcm_cookie *sockc) argument [all...] |
/linux-master/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 1286 unsigned int hlen, dlen, plen; local 1303 hlen = ntohs(cpl->len); 1310 if ((hlen + dlen) != plen) { 1313 csk->tid, plen, hlen, dlen, 1318 cxgbi_skcb_rx_pdulen(skb) = (hlen + dlen + 3) & (~0x3); 1325 csk, skb, *bhs, hlen, dlen,
|
/linux-master/drivers/media/dvb-core/ |
H A D | dvb_ca_en50221.c | 202 * @hlen: Number of bytes in haystack. 207 static char *findstr(char *haystack, int hlen, char *needle, int nlen) argument 211 if (hlen < nlen) 214 for (i = 0; i <= hlen - nlen; i++) {
|
H A D | dvb_net.c | 228 unsigned char hlen = (p->ule_sndu_type & 0x0700) >> 8; local 232 if (hlen == 0) { 251 ext_len = hlen << 1;
|
/linux-master/net/batman-adv/ |
H A D | distributed-arp-table.c | 77 __u8 hlen; member in struct:batadv_dhcp_packet 1483 __u8 hlen; member in struct:__anon2927 1499 dhcp_h->hlen != ETH_ALEN)
|
/linux-master/net/core/ |
H A D | skbuff.c | 3699 unsigned int hlen = 0; local 3704 hlen = skb_headlen(from); 3705 if (!hlen) 3706 hlen = from->len; 3710 hlen = from->len; 3712 return hlen; 3721 * @hlen: size of linear headroom in destination buffer 3726 * The `hlen` as calculated by skb_zerocopy_headlen() specifies the 3735 skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len, int hlen) argument 3743 BUG_ON(!from->head_frag && !hlen); [all...] |