Home
last modified time | relevance | path

Searched refs:hdr_buf (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/common_modules/newip/src/common/
Dnip_hdr_encap.c44 *(head->hdr_buf + head->hdr_buf_pos) = head->ttl; in _nip_hdr_ttl_encap()
50 head->hdr_len_pos = head->hdr_buf + head->hdr_buf_pos; in _nip_hdr_len_encap()
61 *(head->hdr_buf + head->hdr_buf_pos) = head->nexthdr; in _nip_hdr_nexthdr_encap()
67 (void)build_nip_addr(&head->daddr, (head->hdr_buf + head->hdr_buf_pos)); in _nip_hdr_daddr_encap()
73 (void)build_nip_addr(&head->saddr, (head->hdr_buf + head->hdr_buf_pos)); in _nip_hdr_saddr_encap()
79 head->total_len_pos = (unsigned short *)(head->hdr_buf + head->hdr_buf_pos); in _nip_hdr_total_len_encap()
100 head->hdr_buf[0] = NIP_UDP_BITMAP_1; in _nip_hdr_encap_udp_bitmap()
103 head->hdr_buf[0] = NIP_UDP_BITMAP_1_INC_2; in _nip_hdr_encap_udp_bitmap()
104 head->hdr_buf[1] = NIP_NODATA_BITMAP_2; in _nip_hdr_encap_udp_bitmap()
118 head->hdr_buf[0] = NIP_NORMAL_BITMAP_1; in _nip_hdr_encap_comm_bitmap()
[all …]
Dnip_hdr.h170 unsigned char *hdr_buf; /* Cache the newIP header */ member
/kernel/linux/linux-5.10/drivers/scsi/
Dses.c520 unsigned char *hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_enclosure_data_process() local
522 if (!hdr_buf) in ses_enclosure_data_process()
529 result = ses_recv_diag(sdev, 7, hdr_buf, INIT_ALLOC_SIZE); in ses_enclosure_data_process()
533 page7_len = len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_enclosure_data_process()
612 kfree(hdr_buf); in ses_enclosure_data_process()
642 unsigned char *buf = NULL, *hdr_buf, *type_ptr, page; in ses_intf_add() local
667 hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_intf_add()
668 if (!hdr_buf || !ses_dev) in ses_intf_add()
672 result = ses_recv_diag(sdev, page, hdr_buf, INIT_ALLOC_SIZE); in ses_intf_add()
676 len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_intf_add()
[all …]
Dlibiscsi_tcp.c406 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
845 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
853 if (sizeof(*hdr) + ahslen > sizeof(tcp_conn->in.hdr_buf)) in iscsi_tcp_hdr_recv_done()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnip_output.c199 head->hdr_buf = skb->data; in _nip_udp_single_output()
385 unsigned char hdr_buf[NIP_HDR_MAX]; /* Cache the newIP header */ in tcp_nip_queue_xmit() local
398 head.hdr_buf = hdr_buf; in tcp_nip_queue_xmit()
420 memcpy(skb->data, head.hdr_buf, head.hdr_buf_pos); in tcp_nip_queue_xmit()
460 unsigned char hdr_buf[NIP_HDR_MAX]; in tcp_nip_actual_send_reset() local
507 head.hdr_buf = hdr_buf; in tcp_nip_actual_send_reset()
523 memcpy(buff->data, head.hdr_buf, head.hdr_buf_pos); in tcp_nip_actual_send_reset()
Dtcp_nip_output.c877 unsigned char hdr_buf[NIP_HDR_MAX]; /* Cache the newIP header */ in __nip_send_synack() local
889 head.hdr_buf = hdr_buf; in __nip_send_synack()
895 memcpy(skb->data, head.hdr_buf, head.hdr_buf_pos); in __nip_send_synack()
Dnndisc.c356 head->hdr_buf = (unsigned char *)skb->data; in nndisc_alloc_skb()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dhif-ops.h154 u8 pipe, struct sk_buff *hdr_buf, in ath6kl_hif_pipe_send() argument
159 return ar->hif_ops->pipe_send(ar, pipe, hdr_buf, buf); in ath6kl_hif_pipe_send()
Dhif.h253 int (*pipe_send)(struct ath6kl *ar, u8 pipe, struct sk_buff *hdr_buf,
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_spi.c83 u8 *hdr_buf = sja1105_hdr_buf(hdr_bufs, i); in sja1105_xfer() local
95 sja1105_spi_message_pack(hdr_buf, &msg); in sja1105_xfer()
96 hdr_xfer->tx_buf = hdr_buf; in sja1105_xfer()
/kernel/linux/linux-5.10/include/scsi/
Dlibiscsi_tcp.h50 uint32_t hdr_buf[64]; member
/kernel/linux/linux-5.10/drivers/firewire/
Dnet.c1238 struct fwnet_header hdr_buf; in fwnet_tx() local
1270 memcpy(&hdr_buf, skb->data, sizeof(hdr_buf)); in fwnet_tx()
1271 proto = hdr_buf.h_proto; in fwnet_tx()
1284 skb_pull(skb, sizeof(hdr_buf)); in fwnet_tx()
1291 if (fwnet_hwaddr_is_multicast(hdr_buf.h_dest)) { in fwnet_tx()
1300 union fwnet_hwaddr *ha = (union fwnet_hwaddr *)hdr_buf.h_dest; in fwnet_tx()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_h264_if.c107 unsigned char hdr_buf[HDR_PARSING_BUF_SZ]; member
378 memcpy(inst->vsi->hdr_buf, buf + nal_start_idx, buf_sz); in vdec_h264_decode()