Home
last modified time | relevance | path

Searched refs:hdr_buf (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/common_modules/newip/src/common/
H A 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[ in _nip_hdr_encap_comm_bitmap()
[all...]
H A Dnip_hdr.h170 unsigned char *hdr_buf; /* Cache the newIP header */ member
/kernel/linux/linux-5.10/drivers/scsi/
H A Dses.c529 unsigned char *hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_enclosure_data_process() local
531 if (!hdr_buf) in ses_enclosure_data_process()
538 result = ses_recv_diag(sdev, 7, hdr_buf, INIT_ALLOC_SIZE); in ses_enclosure_data_process()
542 page7_len = len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_enclosure_data_process()
634 kfree(hdr_buf); in ses_enclosure_data_process()
664 unsigned char *buf = NULL, *hdr_buf, *type_ptr, page; in ses_intf_add() local
689 hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_intf_add()
690 if (!hdr_buf || !ses_dev) in ses_intf_add()
694 result = ses_recv_diag(sdev, page, hdr_buf, INIT_ALLOC_SIZ in ses_intf_add()
[all...]
H A 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/linux-6.6/drivers/scsi/
H A Dses.c535 unsigned char *hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_enclosure_data_process() local
537 if (!hdr_buf) in ses_enclosure_data_process()
544 result = ses_recv_diag(sdev, 7, hdr_buf, INIT_ALLOC_SIZE); in ses_enclosure_data_process()
548 page7_len = len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_enclosure_data_process()
640 kfree(hdr_buf); in ses_enclosure_data_process()
669 unsigned char *buf = NULL, *hdr_buf, *type_ptr, page; in ses_intf_add() local
694 hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_intf_add()
695 if (!hdr_buf || !ses_dev) in ses_intf_add()
699 result = ses_recv_diag(sdev, page, hdr_buf, INIT_ALLOC_SIZ in ses_intf_add()
[all...]
H A Dlibiscsi_tcp.c406 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
849 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
857 if (sizeof(*hdr) + ahslen > sizeof(tcp_conn->in.hdr_buf)) in iscsi_tcp_hdr_recv_done()
/kernel/linux/linux-6.6/fs/smb/server/
H A Dconnection.c277 char hdr_buf[4] = {0,}; in ksmbd_conn_handler_loop() local
295 size = t->ops->read(t, hdr_buf, sizeof(hdr_buf), -1); in ksmbd_conn_handler_loop()
296 if (size != sizeof(hdr_buf)) in ksmbd_conn_handler_loop()
299 pdu_size = get_rfc1002_len(hdr_buf); in ksmbd_conn_handler_loop()
331 memcpy(conn->request_buf, hdr_buf, sizeof(hdr_buf)); in ksmbd_conn_handler_loop()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A 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()
H A 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()
H A Dnndisc.c356 head->hdr_buf = (unsigned char *)skb->data; in nndisc_alloc_skb()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Dhif-ops.h154 u8 pipe, struct sk_buff *hdr_buf, in ath6kl_hif_pipe_send()
159 return ar->hif_ops->pipe_send(ar, pipe, hdr_buf, buf); in ath6kl_hif_pipe_send()
153 ath6kl_hif_pipe_send(struct ath6kl *ar, u8 pipe, struct sk_buff *hdr_buf, struct sk_buff *buf) ath6kl_hif_pipe_send() argument
H A Dhif.h253 int (*pipe_send)(struct ath6kl *ar, u8 pipe, struct sk_buff *hdr_buf,
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/
H A Dhif-ops.h154 u8 pipe, struct sk_buff *hdr_buf, in ath6kl_hif_pipe_send()
159 return ar->hif_ops->pipe_send(ar, pipe, hdr_buf, buf); in ath6kl_hif_pipe_send()
153 ath6kl_hif_pipe_send(struct ath6kl *ar, u8 pipe, struct sk_buff *hdr_buf, struct sk_buff *buf) ath6kl_hif_pipe_send() argument
H A Dhif.h253 int (*pipe_send)(struct ath6kl *ar, u8 pipe, struct sk_buff *hdr_buf,
/kernel/linux/linux-5.10/include/scsi/
H A Dlibiscsi_tcp.h50 uint32_t hdr_buf[64]; member
/kernel/linux/linux-6.6/include/scsi/
H A Dlibiscsi_tcp.h50 uint32_t hdr_buf[64]; member
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
H A 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/drivers/firewire/
H A 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-6.6/drivers/firewire/
H A Dnet.c1228 struct fwnet_header hdr_buf; in fwnet_tx() local
1260 memcpy(&hdr_buf, skb->data, sizeof(hdr_buf)); in fwnet_tx()
1261 proto = hdr_buf.h_proto; in fwnet_tx()
1274 skb_pull(skb, sizeof(hdr_buf)); in fwnet_tx()
1281 if (fwnet_hwaddr_is_multicast(hdr_buf.h_dest)) { in fwnet_tx()
1290 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/
H A Dvdec_h264_if.c97 * @hdr_buf : Header parsing buffer (AP-W, VPU-R)
107 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()
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_if.c96 * @hdr_buf : Header parsing buffer (AP-W, VPU-R)
106 unsigned char hdr_buf[HDR_PARSING_BUF_SZ]; member
372 memcpy(inst->vsi->hdr_buf, buf + nal_start_idx, buf_sz); in vdec_h264_decode()
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/
H A Dsja1105_spi.c38 u8 hdr_buf[SJA1105_SIZE_SPI_MSG_HEADER] = {0}; in sja1105_xfer() local
68 sja1105_spi_message_pack(hdr_buf, &msg); in sja1105_xfer()
69 hdr_xfer->tx_buf = hdr_buf; in sja1105_xfer()
/kernel/linux/linux-6.6/drivers/scsi/elx/efct/
H A Defct_hw.c1242 rq->hdr_buf = efct_hw_rx_buffer_alloc(hw, rqindex, in efct_hw_rx_allocate()
1245 if (!rq->hdr_buf) { in efct_hw_rx_allocate()
1246 efc_log_err(efct, "rx_buffer_alloc hdr_buf failed\n"); in efct_hw_rx_allocate()
1307 seq->header = &rq->hdr_buf[i]; in efct_hw_rx_post()
1333 efct_hw_rx_buffer_free(hw, rq->hdr_buf, in efct_hw_rx_free()
1335 rq->hdr_buf = NULL; in efct_hw_rx_free()
H A Defct_hw.h558 struct efc_hw_rq_buffer *hdr_buf; member

Completed in 27 milliseconds