Home
last modified time | relevance | path

Searched refs:hlen (Results 326 - 350 of 449) sorted by relevance

1...<<1112131415161718

/kernel/linux/linux-5.10/net/ipv4/
H A Darp.c532 int hlen = LL_RESERVED_SPACE(dev); in arp_create() local
539 skb = alloc_skb(arp_hdr_len(dev) + hlen + tlen, GFP_ATOMIC); in arp_create()
543 skb_reserve(skb, hlen); in arp_create()
H A Daf_inet.c1460 unsigned int hlen; in inet_gro_receive() local
1467 hlen = off + sizeof(*iph); in inet_gro_receive()
1469 if (skb_gro_header_hard(skb, hlen)) { in inet_gro_receive()
1470 iph = skb_gro_header_slow(skb, hlen, off); in inet_gro_receive()
/kernel/linux/linux-6.6/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c202 * @hlen: Number of bytes in haystack.
207 static char *findstr(char *haystack, int hlen, char *needle, int nlen) in findstr() argument
211 if (hlen < nlen) in findstr()
214 for (i = 0; i <= hlen - nlen; i++) { in findstr()
/kernel/linux/linux-6.6/net/batman-adv/
H A Ddistributed-arp-table.c77 __u8 hlen; member
1484 __u8 hlen; in batadv_dat_check_dhcp() member
1500 dhcp_h->hlen != ETH_ALEN) in batadv_dat_check_dhcp()
/kernel/linux/linux-6.6/net/ipv4/
H A Darp.c553 int hlen = LL_RESERVED_SPACE(dev); in arp_create() local
560 skb = alloc_skb(arp_hdr_len(dev) + hlen + tlen, GFP_ATOMIC); in arp_create()
564 skb_reserve(skb, hlen); in arp_create()
/third_party/lame/libmp3lame/
H A Dbitstream.c545 putbits2(gfc, huffbits + h->table[p], h->hlen[p]); in huffman_coder_count1()
546 bits += h->hlen[p]; in huffman_coder_count1()
621 cbits += h->hlen[x1]; in Huffmancode()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dpcsc_funcs.c377 unsigned char *hdr, size_t hlen) in scard_pin_needed()
380 if (hlen > SCARD_CHV1_OFFSET && in scard_pin_needed()
388 if (scard_parse_fsp_templ(hdr, hlen, &ps_do, NULL)) in scard_pin_needed()
376 scard_pin_needed(struct scard_data *scard, unsigned char *hdr, size_t hlen) scard_pin_needed() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dpcsc_funcs.c377 unsigned char *hdr, size_t hlen) in scard_pin_needed()
380 if (hlen > SCARD_CHV1_OFFSET && in scard_pin_needed()
388 if (scard_parse_fsp_templ(hdr, hlen, &ps_do, NULL)) in scard_pin_needed()
376 scard_pin_needed(struct scard_data *scard, unsigned char *hdr, size_t hlen) scard_pin_needed() argument
/kernel/linux/linux-5.10/drivers/staging/vt6656/
H A Drxtx.c352 mic_hdr->hlen = cpu_to_be16(28); in vnt_fill_txkey()
354 mic_hdr->hlen = cpu_to_be16(22); in vnt_fill_txkey()
/kernel/linux/linux-6.6/drivers/staging/vt6656/
H A Drxtx.c348 mic_hdr->hlen = cpu_to_be16(28); in vnt_fill_txkey()
350 mic_hdr->hlen = cpu_to_be16(22); in vnt_fill_txkey()
/kernel/linux/linux-5.10/net/packet/
H A Daf_packet.c2528 __be16 proto, unsigned char *addr, int hlen, int copylen, in tpacket_fill_skb()
2547 skb_reserve(skb, hlen); in tpacket_fill_skb()
2690 int hlen, tlen, copylen = 0; in tpacket_snd() local
2769 hlen = LL_RESERVED_SPACE(dev); in tpacket_snd()
2785 hlen + tlen + sizeof(struct sockaddr_ll) + in tpacket_snd()
2796 addr, hlen, copylen, &sockc); in tpacket_snd()
2910 int hlen, tlen, linear; in packet_snd() local
2974 hlen = LL_RESERVED_SPACE(dev); in packet_snd()
2978 skb = packet_alloc_skb(sk, hlen + tlen, hlen, le in packet_snd()
2526 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) tpacket_fill_skb() argument
[all...]
/kernel/linux/linux-6.6/net/packet/
H A Daf_packet.c2579 __be16 proto, unsigned char *addr, int hlen, int copylen, in tpacket_fill_skb()
2598 skb_reserve(skb, hlen); in tpacket_fill_skb()
2742 int hlen, tlen, copylen = 0; in tpacket_snd() local
2821 hlen = LL_RESERVED_SPACE(dev); in tpacket_snd()
2837 hlen + tlen + sizeof(struct sockaddr_ll) + in tpacket_snd()
2848 addr, hlen, copylen, &sockc); in tpacket_snd()
2963 int hlen, tlen, linear; in packet_snd() local
3026 hlen = LL_RESERVED_SPACE(dev); in packet_snd()
3030 skb = packet_alloc_skb(sk, hlen + tlen, hlen, le in packet_snd()
2577 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) tpacket_fill_skb() argument
[all...]
/kernel/linux/linux-6.6/block/
H A Dsed-opal.c575 u32 hlen = be32_to_cpu(hdr->length); in opal_discovery0_end() local
577 print_buffer(dev->resp, hlen); in opal_discovery0_end()
580 if (hlen > IO_BUFFER_LENGTH - sizeof(*hdr)) { in opal_discovery0_end()
582 sizeof(*hdr), hlen, IO_BUFFER_LENGTH); in opal_discovery0_end()
588 len_out = min_t(u64, discv_out->size, hlen); in opal_discovery0_end()
592 discv_out->size = hlen; /* actual size of data */ in opal_discovery0_end()
595 epos += hlen; /* end of buffer */ in opal_discovery0_end()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
H A Dapi_shell.c2764 u16_t hlen = 0; local
2793 hlen = (u16_t)(8 * (1 + *((u8_t *)udpbuf->payload + 1)));
2798 hlen = (u16_t)(8 * (1 + dest_hdr->_hlen));
2803 hlen = IP6_FRAG_HLEN;
2810 (void)pbuf_header(udpbuf, (s16_t)(-(s16_t)hlen));
2811 offset = (u16_t)(offset + hlen);
2816 offset = (u16_t)(offset - hlen);
/third_party/curl/lib/
H A Dhttp.c1453 const size_t hlen, /* len of the keyword in bytes */ in Curl_compareheader()
1465 DEBUGASSERT(hlen); in Curl_compareheader()
1470 if(!strncasecompare(headerline, header, hlen)) in Curl_compareheader()
1474 start = &headerline[hlen]; in Curl_compareheader()
3867 size_t hlen = Curl_dyn_len(&data->state.headerb); in verify_header() local
3868 char *ptr = memchr(header, 0x00, hlen); in verify_header()
3881 ptr = memchr(header, ':', hlen); in verify_header()
1451 Curl_compareheader(const char *headerline, const char *header, const size_t hlen, const char *content, const size_t clen) Curl_compareheader() argument
/kernel/linux/linux-5.10/net/openvswitch/
H A Dactions.c827 unsigned int hlen = skb_network_offset(skb); in prepare_frag() local
842 data->l2_len = hlen; in prepare_frag()
843 memcpy(&data->l2_data, skb->data, hlen); in prepare_frag()
846 skb_pull(skb, hlen); in prepare_frag()
H A Ddatapath.c404 unsigned int hlen; in queue_userspace_packet() local
439 hlen = skb_zerocopy_headlen(skb); in queue_userspace_packet()
441 hlen = skb->len; in queue_userspace_packet()
443 len = upcall_msg_size(upcall_info, hlen - cutlen, in queue_userspace_packet()
533 err = skb_zerocopy(user_skb, skb, skb->len - cutlen, hlen); in queue_userspace_packet()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
H A Dip_vs_sync.c1758 int id = 0, count, hlen; in start_sync_thread() local
1803 hlen = (AF_INET6 == c->mcast_af) ? in start_sync_thread()
1813 65535 - hlen); in start_sync_thread()
1815 c->sync_maxlen = mtu - hlen; in start_sync_thread()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_log_recover.c2910 int hlen; in xlog_valid_rec_header() local
2928 hlen = be32_to_cpu(rhead->h_len); in xlog_valid_rec_header()
2929 if (XFS_IS_CORRUPT(log->l_mp, hlen <= 0 || hlen > bufsize)) in xlog_valid_rec_header()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c473 #define NPC_SCAN_HDR(name, hlid, hlt, hstart, hlen) \ in npc_scan_ldata()
479 ((hstart) + (hlen)) <= (hdr + nr_bytes)) { \ in npc_scan_ldata()
480 bit_offset = (hdr + nr_bytes - (hstart) - (hlen)) * 8; \ in npc_scan_ldata()
485 npc_set_kw_masks(mcam, (name), (hlen) * 8, \ in npc_scan_ldata()
/kernel/linux/linux-6.6/net/netfilter/ipvs/
H A Dip_vs_sync.c1751 int id = 0, count, hlen; in start_sync_thread() local
1796 hlen = (AF_INET6 == c->mcast_af) ? in start_sync_thread()
1806 65535 - hlen); in start_sync_thread()
1808 c->sync_maxlen = mtu - hlen; in start_sync_thread()
/kernel/linux/linux-6.6/net/openvswitch/
H A Dactions.c830 unsigned int hlen = skb_network_offset(skb); in prepare_frag() local
845 data->l2_len = hlen; in prepare_frag()
846 memcpy(&data->l2_data, skb->data, hlen); in prepare_frag()
849 skb_pull(skb, hlen); in prepare_frag()
/third_party/skia/third_party/externals/libpng/
H A Dpngwutil.c1813 size_t wlen, hlen, total_len; in png_write_sCAL_s() local
1818 hlen = strlen(height); in png_write_sCAL_s()
1819 total_len = wlen + hlen + 2; in png_write_sCAL_s()
1829 memcpy(buf + wlen + 2, height, hlen); /* Do NOT append the '\0' here */ in png_write_sCAL_s()
/kernel/linux/linux-5.10/block/
H A Dsed-opal.c435 u32 hlen = be32_to_cpu(hdr->length); in opal_discovery0_end() local
437 print_buffer(dev->resp, hlen); in opal_discovery0_end()
440 if (hlen > IO_BUFFER_LENGTH - sizeof(*hdr)) { in opal_discovery0_end()
442 sizeof(*hdr), hlen, IO_BUFFER_LENGTH); in opal_discovery0_end()
446 epos += hlen; /* end of buffer */ in opal_discovery0_end()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c257 u32 length, hlen, staterr; in igbvf_clean_rx_irq() local
276 hlen = (le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.hdr_info) in igbvf_clean_rx_irq()
279 if (hlen > adapter->rx_ps_hdr_size) in igbvf_clean_rx_irq()
280 hlen = adapter->rx_ps_hdr_size; in igbvf_clean_rx_irq()
303 skb_put(skb, hlen); in igbvf_clean_rx_irq()

Completed in 65 milliseconds

1...<<1112131415161718