Home
last modified time | relevance | path

Searched refs:udp (Results 1 – 25 of 36) 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
/drivers/staging/rtl8192e/
Drtllib_tx.c637 struct udphdr *udp; in rtllib_xmit_inter() local
639 udp = (struct udphdr *)((u8 *)ip + in rtllib_xmit_inter()
641 if (((((u8 *)udp)[1] == 68) && in rtllib_xmit_inter()
642 (((u8 *)udp)[3] == 67)) || in rtllib_xmit_inter()
643 ((((u8 *)udp)[1] == 67) && in rtllib_xmit_inter()
644 (((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()
/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()
/drivers/staging/gdm724x/
Dgdm_lte.c374 struct udphdr *udp = in gdm_lte_tx_nic_type() local
376 if (ntohs(udp->dest) == 67 || ntohs(udp->dest) == 68) in gdm_lte_tx_nic_type()
390 struct udphdr *udp = in gdm_lte_tx_nic_type() local
392 if (ntohs(udp->dest) == 546 || ntohs(udp->dest) == 547) in gdm_lte_tx_nic_type()
/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.c279 sock_fd = trans_spec->udp.sock_fd; in create_udp_flow()
316 qp_flow->udp.sock = sock; in create_udp_flow()
330 usnic_transport_put_socket(qp_flow->udp.sock); in release_udp_flow()
650 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/sfc/falcon/
Dselftest.c47 struct udphdr udp; member
398 payload->udp.source = 0; in ef4_iterate_state()
399 payload->udp.len = htons(sizeof(*payload) - sizeof(struct ethhdr) - in ef4_iterate_state()
401 payload->udp.check = 0; /* checksum ignored */ in ef4_iterate_state()
/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.h110 dma_addr_t udp; member
Di40e_txrx.c209 struct udphdr *udp; in i40e_add_del_fdir_udpv4() local
223 udp = (struct udphdr *)(raw_packet + IP_HEADER_OFFSET in i40e_add_del_fdir_udpv4()
227 udp->dest = fd_data->dst_port; in i40e_add_del_fdir_udpv4()
229 udp->source = fd_data->src_port; in i40e_add_del_fdir_udpv4()
2652 struct udphdr *udp; in i40e_tso() member
2688 l4.udp->len = 0; in i40e_tso()
2695 csum_replace_by_diff(&l4.udp->check, in i40e_tso()
2805 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/net/ethernet/mellanox/mlx5/core/
Den_tc.c1056 struct udphdr udp; member
1064 [TCA_PEDIT_KEY_EX_HDR_TYPE_UDP] = offsetof(struct pedit_headers, udp),
1128 OFFLOAD(UDP_SPORT, 2, udp.source, 0),
1129 OFFLOAD(UDP_DPORT, 2, udp.dest, 0),
1591 struct udphdr *udp = (struct udphdr *)((char *)ip + sizeof(struct iphdr)); in gen_vxlan_header_ipv4() local
1592 struct vxlanhdr *vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr)); in gen_vxlan_header_ipv4()
1608 udp->dest = udp_dst_port; in gen_vxlan_header_ipv4()
1624 struct udphdr *udp = (struct udphdr *)((char *)ip6h + sizeof(struct ipv6hdr)); in gen_vxlan_header_ipv6() local
1625 struct vxlanhdr *vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr)); in gen_vxlan_header_ipv6()
1640 udp->dest = udp_dst_port; in gen_vxlan_header_ipv6()
/drivers/infiniband/hw/qedr/
Dqedr_cm.c503 udh->udp.sport = htons(QEDR_ROCE_V2_UDP_SPORT); in qedr_gsi_build_header()
504 udh->udp.dport = htons(ROCE_V2_UDP_DPORT); in qedr_gsi_build_header()
505 udh->udp.csum = 0; in qedr_gsi_build_header()
/drivers/tty/vt/
Dkeyboard.c1614 int vt_do_diacrit(unsigned int cmd, void __user *udp, int perm) in vt_do_diacrit() argument
1623 struct kbdiacrs __user *a = udp; in vt_do_diacrit()
1657 struct kbdiacrsuc __user *a = udp; in vt_do_diacrit()
1685 struct kbdiacrs __user *a = udp; in vt_do_diacrit()
1723 struct kbdiacrsuc __user *a = udp; in vt_do_diacrit()
/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c977 u16 pf_id, bool tcp, bool udp, in qed_set_rfs_mode_enable() argument
989 if (!tcp && !udp) in qed_set_rfs_mode_enable()
1014 if (!(tcp && udp)) { in qed_set_rfs_mode_enable()
Dqed_l2.h190 bool udp; member
/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c1687 struct udphdr *udp; in i40e_tso() member
1723 l4.udp->len = 0; in i40e_tso()
1730 csum_replace_by_diff(&l4.udp->check, in i40e_tso()
1796 struct udphdr *udp; in i40e_tx_enable_csum() member
/drivers/net/wireless/realtek/rtlwifi/
Dbase.c1392 struct udphdr *udp = (struct udphdr *)((u8 *)ip + in rtl_is_special_data() local
1394 if (((((u8 *)udp)[1] == 68) && in rtl_is_special_data()
1395 (((u8 *)udp)[3] == 67)) || in rtl_is_special_data()
1396 ((((u8 *)udp)[1] == 67) && in rtl_is_special_data()
1397 (((u8 *)udp)[3] == 68))) { in rtl_is_special_data()
/drivers/staging/rtlwifi/
Dbase.c1510 struct udphdr *udp = (struct udphdr *)((u8 *)ip + in rtl_is_special_data() local
1512 if (((((u8 *)udp)[1] == 68) && in rtl_is_special_data()
1513 (((u8 *)udp)[3] == 67)) || in rtl_is_special_data()
1514 ((((u8 *)udp)[1] == 67) && in rtl_is_special_data()
1515 (((u8 *)udp)[3] == 68))) { in rtl_is_special_data()

12