Home
last modified time | relevance | path

Searched refs:udp (Results 1 – 25 of 26) sorted by relevance

12

/drivers/infiniband/core/
Dud_header.c168 { STRUCT_FIELD(udp, sport),
172 { STRUCT_FIELD(udp, dport),
176 { STRUCT_FIELD(udp, length),
180 { STRUCT_FIELD(udp, csum),
380 header->udp.length = in ib_ud_header_init()
445 &header->udp, buf + len); in ib_ud_header_pack()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c52 ddp->udp = 0UL; in ixgbe_fcoe_clear_ddp()
138 dma_pool_free(ddp->pool, ddp->udl, ddp->udp); in ixgbe_fcoe_ddp_put()
219 ddp->udl = dma_pool_alloc(ddp_pool->pool, GFP_ATOMIC, &ddp->udp); in ixgbe_fcoe_ddp_setup()
316 ddp->udp & DMA_BIT_MASK(32)); in ixgbe_fcoe_ddp_setup()
317 IXGBE_WRITE_REG(hw, IXGBE_FCDDC(1, xid), (u64)ddp->udp >> 32); in ixgbe_fcoe_ddp_setup()
328 IXGBE_WRITE_REG(hw, IXGBE_FCPTRL, ddp->udp & DMA_BIT_MASK(32)); in ixgbe_fcoe_ddp_setup()
329 IXGBE_WRITE_REG(hw, IXGBE_FCPTRH, (u64)ddp->udp >> 32); in ixgbe_fcoe_ddp_setup()
343 dma_pool_free(ddp->pool, ddp->udl, ddp->udp); in ixgbe_fcoe_ddp_setup()
Dixgbe_fcoe.h65 dma_addr_t udp; member
/drivers/net/vmxnet3/
Dvmxnet3_defs.h272 u32 udp:1; /* UDP packet */ member
278 u32 udp:1; /* UDP packet */ member
305 u32 udp:1; /* UDP packet */ member
311 u32 udp:1; /* UDP packet */ member
Dvmxnet3_drv.c1162 BUG_ON(!(gdesc->rcd.tcp || gdesc->rcd.udp)); in vmxnet3_rx_csum()
1167 BUG_ON(!(gdesc->rcd.tcp || gdesc->rcd.udp)); in vmxnet3_rx_csum()
/drivers/staging/rtl8192e/
Drtllib_tx.c638 struct udphdr *udp; in rtllib_xmit_inter() local
640 udp = (struct udphdr *)((u8 *)ip + in rtllib_xmit_inter()
642 if (((((u8 *)udp)[1] == 68) && in rtllib_xmit_inter()
643 (((u8 *)udp)[3] == 67)) || in rtllib_xmit_inter()
644 ((((u8 *)udp)[1] == 67) && in rtllib_xmit_inter()
645 (((u8 *)udp)[3] == 68))) { in rtllib_xmit_inter()
/drivers/scsi/fnic/
Dcq_enet_desc.h99 u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, in cq_enet_rq_desc_dec() argument
156 *udp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_UDP) ? 1 : 0; in cq_enet_rq_desc_dec()
Dfnic_fcs.c803 u8 tcp_udp_csum_ok, udp, tcp, ipv4_csum_ok; in fnic_rq_cmpl_frame_recv() local
843 &tcp_udp_csum_ok, &udp, &tcp, in fnic_rq_cmpl_frame_recv()
/drivers/net/ethernet/cisco/enic/
Dcq_enet_desc.h110 u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, in cq_enet_rq_desc_dec() argument
174 *udp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_UDP) ? 1 : 0; in cq_enet_rq_desc_dec()
Denic_main.c1115 u8 tcp_udp_csum_ok, udp, tcp, ipv4_csum_ok; in enic_rq_indicate_buf() local
1132 &fcoe_eof, &tcp_udp_csum_ok, &udp, &tcp, in enic_rq_indicate_buf()
/drivers/staging/gdm724x/
Dgdm_lte.c384 struct udphdr *udp = in gdm_lte_tx_nic_type() local
386 if (ntohs(udp->dest) == 67 || ntohs(udp->dest) == 68) in gdm_lte_tx_nic_type()
400 struct udphdr *udp = in gdm_lte_tx_nic_type() local
402 if (ntohs(udp->dest) == 546 || ntohs(udp->dest) == 547) in gdm_lte_tx_nic_type()
/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.c281 sock_fd = trans_spec->udp.sock_fd; in create_udp_flow()
320 qp_flow->udp.sock = sock; in create_udp_flow()
334 usnic_transport_put_socket(qp_flow->udp.sock); in release_udp_flow()
654 err = usnic_transport_sock_get_addr(qp_flow->udp.sock, in qp_grp_id_from_flow()
Dusnic_abi.h60 } udp; member
Dusnic_ib_qp_grp.h77 } udp; member
Dusnic_debugfs.c97 qp_flow->udp.sock); in flowinfo_read()
/drivers/net/ethernet/sfc/
Dselftest.c47 struct udphdr udp; member
398 payload->udp.source = 0; in efx_iterate_state()
399 payload->udp.len = htons(sizeof(*payload) - sizeof(struct ethhdr) - in efx_iterate_state()
401 payload->udp.check = 0; /* checksum ignored */ in efx_iterate_state()
/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.h110 dma_addr_t udp; member
Di40e_txrx.c212 struct udphdr *udp; in i40e_add_del_fdir_udpv4() local
227 udp = (struct udphdr *)(raw_packet + IP_HEADER_OFFSET in i40e_add_del_fdir_udpv4()
231 udp->dest = fd_data->dst_port; in i40e_add_del_fdir_udpv4()
233 udp->source = fd_data->src_port; in i40e_add_del_fdir_udpv4()
2287 struct udphdr *udp; in i40e_tso() member
2322 l4.udp->len = 0; in i40e_tso()
2329 csum_replace_by_diff(&l4.udp->check, htonl(paylen)); in i40e_tso()
2428 struct udphdr *udp; in i40e_tx_enable_csum() member
Di40e_fcoe.c167 dma_pool_free(ddp->pool, ddp->udl, ddp->udp); in i40e_fcoe_ddp_unmap()
864 ddp->udl = dma_pool_alloc(ddp_pool->pool, GFP_ATOMIC, &ddp->udp); in i40e_fcoe_ddp_setup()
928 dma_pool_free(ddp->pool, ddp->udl, ddp->udp); in i40e_fcoe_ddp_setup()
1050 queue_desc->dmaindx_fbase = cpu_to_le64(ddp->xid | ((u64)ddp->udp)); in i40e_fcoe_program_ddp()
/drivers/infiniband/hw/qedr/
Dqedr_cm.c366 udh->udp.sport = htons(QEDR_ROCE_V2_UDP_SPORT); in qedr_gsi_build_header()
367 udh->udp.dport = htons(ROCE_V2_UDP_DPORT); in qedr_gsi_build_header()
368 udh->udp.csum = 0; in qedr_gsi_build_header()
/drivers/tty/vt/
Dkeyboard.c1613 int vt_do_diacrit(unsigned int cmd, void __user *udp, int perm) in vt_do_diacrit() argument
1622 struct kbdiacrs __user *a = udp; in vt_do_diacrit()
1656 struct kbdiacrsuc __user *a = udp; in vt_do_diacrit()
1684 struct kbdiacrs __user *a = udp; in vt_do_diacrit()
1722 struct kbdiacrsuc __user *a = udp; in vt_do_diacrit()
/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c1554 struct udphdr *udp; in i40e_tso() member
1589 l4.udp->len = 0; in i40e_tso()
1596 csum_replace_by_diff(&l4.udp->check, htonl(paylen)); in i40e_tso()
1653 struct udphdr *udp; in i40e_tx_enable_csum() member
/drivers/net/wireless/realtek/rtlwifi/
Dbase.c1356 struct udphdr *udp = (struct udphdr *)((u8 *)ip + in rtl_is_special_data() local
1358 if (((((u8 *)udp)[1] == 68) && in rtl_is_special_data()
1359 (((u8 *)udp)[3] == 67)) || in rtl_is_special_data()
1360 ((((u8 *)udp)[1] == 67) && in rtl_is_special_data()
1361 (((u8 *)udp)[3] == 68))) { in rtl_is_special_data()
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c5714 struct udphdr *udp; in e1000_transfer_dhcp_info() local
5719 udp = (struct udphdr *)((u8 *)ip + (ip->ihl << 2)); in e1000_transfer_dhcp_info()
5720 if (ntohs(udp->dest) != 67) in e1000_transfer_dhcp_info()
5723 offset = (u8 *)udp + 8 - skb->data; in e1000_transfer_dhcp_info()
5725 return e1000e_mng_write_dhcp_info(hw, (u8 *)udp + 8, length); in e1000_transfer_dhcp_info()
/drivers/infiniband/hw/mlx4/
Dqp.c2553 sqp->ud_header.udp.dport = htons(ROCE_V2_UDP_DPORT); in build_mlx_header()
2554 sqp->ud_header.udp.sport = htons(MLX4_ROCEV2_QP1_SPORT); in build_mlx_header()
2555 sqp->ud_header.udp.csum = 0; in build_mlx_header()

12