udp 397 arch/mips/include/asm/octeon/cvmx-pip-defs.h uint64_t udp:1; udp 401 arch/mips/include/asm/octeon/cvmx-pip-defs.h uint64_t udp:1; udp 54 arch/um/drivers/vector_transports.c bool udp; udp 72 arch/um/drivers/vector_transports.c if (td->udp) udp 137 arch/um/drivers/vector_transports.c if ((!td->udp) && (!td->ipv6)) udp 385 arch/um/drivers/vector_transports.c td->udp = true; udp 394 arch/um/drivers/vector_transports.c if ((!td->ipv6) && (!td->udp)) udp 437 arch/um/drivers/vector_user.c bool v6, udp; udp 446 arch/um/drivers/vector_user.c udp = false; udp 455 arch/um/drivers/vector_user.c udp = true; udp 475 arch/um/drivers/vector_user.c if (udp) { udp 168 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(udp, sport), udp 172 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(udp, dport), udp 176 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(udp, length), udp 180 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(udp, csum), udp 380 drivers/infiniband/core/ud_header.c header->udp.length = udp 445 drivers/infiniband/core/ud_header.c &header->udp, buf + len); udp 1931 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.udp.dport = htons(ROCE_V2_UDP_DPORT); udp 1932 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.udp.sport = htons(0x8CD1); udp 1933 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qp1_hdr.udp.csum = 0; udp 3150 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.udp.dport = htons(ROCE_V2_UDP_DPORT); udp 3151 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.udp.sport = htons(MLX4_ROCEV2_QP1_SPORT); udp 3152 drivers/infiniband/hw/mlx4/qp.c sqp->ud_header.udp.csum = 0; udp 484 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->udp.sport = htons(QEDR_ROCE_V2_UDP_SPORT); udp 485 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->udp.dport = htons(ROCE_V2_UDP_DPORT); udp 486 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->udp.csum = 0; udp 60 drivers/infiniband/hw/usnic/usnic_abi.h } udp; udp 97 drivers/infiniband/hw/usnic/usnic_debugfs.c qp_flow->udp.sock); udp 279 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c sock_fd = trans_spec->udp.sock_fd; udp 316 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c qp_flow->udp.sock = sock; udp 330 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c usnic_transport_put_socket(qp_flow->udp.sock); udp 648 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c err = usnic_transport_sock_get_addr(qp_flow->udp.sock, udp 77 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h } udp; udp 110 drivers/net/ethernet/cisco/enic/cq_enet_desc.h u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, udp 174 drivers/net/ethernet/cisco/enic/cq_enet_desc.h *udp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_UDP) ? 1 : 0; udp 1339 drivers/net/ethernet/cisco/enic/enic_main.c u8 tcp_udp_csum_ok, udp, tcp, ipv4_csum_ok; udp 1357 drivers/net/ethernet/cisco/enic/enic_main.c &fcoe_eof, &tcp_udp_csum_ok, &udp, &tcp, udp 1339 drivers/net/ethernet/emulex/benet/be_main.c struct udphdr *udp = udp_hdr((*skb)); udp 1341 drivers/net/ethernet/emulex/benet/be_main.c switch (ntohs(udp->dest)) { udp 710 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c l4.udp->check = 0; udp 807 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c l4.udp->dest == htons(IANA_VXLAN_UDP_PORT))) udp 550 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h struct udphdr *udp; udp 61 drivers/net/ethernet/huawei/hinic/hinic_tx.c struct udphdr *udp; udp 312 drivers/net/ethernet/huawei/hinic/hinic_tx.c l4.udp->check = ~csum_magic(&ip, IPPROTO_UDP); udp 5737 drivers/net/ethernet/intel/e1000e/netdev.c struct udphdr *udp; udp 5742 drivers/net/ethernet/intel/e1000e/netdev.c udp = (struct udphdr *)((u8 *)ip + (ip->ihl << 2)); udp 5743 drivers/net/ethernet/intel/e1000e/netdev.c if (ntohs(udp->dest) != 67) udp 5746 drivers/net/ethernet/intel/e1000e/netdev.c offset = (u8 *)udp + 8 - skb->data; udp 5748 drivers/net/ethernet/intel/e1000e/netdev.c return e1000e_mng_write_dhcp_info(hw, (u8 *)udp + 8, length); udp 178 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct udphdr *udp; udp 192 drivers/net/ethernet/intel/i40e/i40e_txrx.c udp = (struct udphdr *)(raw_packet + IP_HEADER_OFFSET udp 196 drivers/net/ethernet/intel/i40e/i40e_txrx.c udp->dest = fd_data->dst_port; udp 198 drivers/net/ethernet/intel/i40e/i40e_txrx.c udp->source = fd_data->src_port; udp 2898 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct udphdr *udp; udp 2934 drivers/net/ethernet/intel/i40e/i40e_txrx.c l4.udp->len = 0; udp 2941 drivers/net/ethernet/intel/i40e/i40e_txrx.c csum_replace_by_diff(&l4.udp->check, udp 3051 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct udphdr *udp; udp 1864 drivers/net/ethernet/intel/iavf/iavf_txrx.c struct udphdr *udp; udp 1900 drivers/net/ethernet/intel/iavf/iavf_txrx.c l4.udp->len = 0; udp 1907 drivers/net/ethernet/intel/iavf/iavf_txrx.c csum_replace_by_diff(&l4.udp->check, udp 1973 drivers/net/ethernet/intel/iavf/iavf_txrx.c struct udphdr *udp; udp 27 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->udp = 0UL; udp 113 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c dma_pool_free(ddp->pool, ddp->udl, ddp->udp); udp 195 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->udl = dma_pool_alloc(ddp_pool->pool, GFP_KERNEL, &ddp->udp); udp 292 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c ddp->udp & DMA_BIT_MASK(32)); udp 293 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c IXGBE_WRITE_REG(hw, IXGBE_FCDDC(1, xid), (u64)ddp->udp >> 32); udp 304 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c IXGBE_WRITE_REG(hw, IXGBE_FCPTRL, ddp->udp & DMA_BIT_MASK(32)); udp 305 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c IXGBE_WRITE_REG(hw, IXGBE_FCPTRH, (u64)ddp->udp >> 32); udp 319 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c dma_pool_free(ddp->pool, ddp->udl, ddp->udp); udp 40 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h dma_addr_t udp; udp 97 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c struct udphdr *udp = (struct udphdr *)(buf); udp 100 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c geneveh = (struct genevehdr *)((char *)udp + sizeof(struct udphdr)); udp 104 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c udp->dest = tun_info->key.tp_dst; udp 88 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c struct udphdr *udp = (struct udphdr *)(buf); udp 91 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c vxh = (struct vxlanhdr *)((char *)udp + sizeof(struct udphdr)); udp 94 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c udp->dest = tun_key->tp_dst; udp 2206 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct udphdr udp; udp 2220 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c [FLOW_ACT_MANGLE_HDR_TYPE_UDP] = offsetof(struct pedit_headers, udp), udp 2324 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(UDP_SPORT, 2, udp.source, 0, udp_sport), udp 2325 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c OFFLOAD(UDP_DPORT, 2, udp.dest, 0, udp_dport), udp 103 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c DR_MASK_IS_OUTER_MPLS_OVER_GRE_UDP_SET((_misc2), udp)) udp 4173 drivers/net/ethernet/qlogic/qed/qed_hsi.h bool udp, udp 1232 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c bool udp, udp 1240 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c if (!tcp && !udp) udp 1268 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c if (!(tcp && udp)) { udp 2007 drivers/net/ethernet/qlogic/qed/qed_l2.c p_cfg_params->udp, udp 2015 drivers/net/ethernet/qlogic/qed/qed_l2.c p_cfg_params->udp ? "Enable" : "Disable", udp 2808 drivers/net/ethernet/qlogic/qed/qed_l2.c arfs_config_params.udp = true; udp 191 drivers/net/ethernet/qlogic/qed/qed_l2.h bool udp; udp 44 drivers/net/ethernet/sfc/falcon/selftest.c struct udphdr udp; udp 395 drivers/net/ethernet/sfc/falcon/selftest.c payload->udp.source = 0; udp 396 drivers/net/ethernet/sfc/falcon/selftest.c payload->udp.len = htons(sizeof(*payload) - sizeof(struct ethhdr) - udp 398 drivers/net/ethernet/sfc/falcon/selftest.c payload->udp.check = 0; /* checksum ignored */ udp 44 drivers/net/ethernet/sfc/selftest.c struct udphdr udp; udp 395 drivers/net/ethernet/sfc/selftest.c payload->udp.source = 0; udp 396 drivers/net/ethernet/sfc/selftest.c payload->udp.len = htons(sizeof(*payload) - sizeof(struct ethhdr) - udp 398 drivers/net/ethernet/sfc/selftest.c payload->udp.check = 0; /* checksum ignored */ udp 1274 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c bool en, bool udp, bool sa, bool inv, udp 1289 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (udp) { udp 371 drivers/net/ethernet/stmicro/stmmac/hwif.h bool en, bool udp, bool sa, bool inv, udp 1411 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c u32 dst_mask, u32 src_mask, bool udp) udp 1470 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c keys.bkey.ip_proto = udp ? IPPROTO_UDP : IPPROTO_TCP; udp 1482 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c attr.tcp = !udp; udp 1519 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c u32 dst_mask, u32 src_mask, bool udp) udp 272 drivers/net/vmxnet3/vmxnet3_defs.h u32 udp:1; /* UDP packet */ udp 278 drivers/net/vmxnet3/vmxnet3_defs.h u32 udp:1; /* UDP packet */ udp 305 drivers/net/vmxnet3/vmxnet3_defs.h u32 udp:1; /* UDP packet */ udp 311 drivers/net/vmxnet3/vmxnet3_defs.h u32 udp:1; /* UDP packet */ udp 1174 drivers/net/vmxnet3/vmxnet3_drv.c BUG_ON(!(gdesc->rcd.tcp || gdesc->rcd.udp)); udp 1179 drivers/net/vmxnet3/vmxnet3_drv.c BUG_ON(!(gdesc->rcd.tcp || gdesc->rcd.udp)); udp 1513 drivers/net/wireless/realtek/rtlwifi/base.c struct udphdr *udp = (struct udphdr *)((u8 *)ip + udp 1515 drivers/net/wireless/realtek/rtlwifi/base.c if (((((u8 *)udp)[1] == 68) && udp 1516 drivers/net/wireless/realtek/rtlwifi/base.c (((u8 *)udp)[3] == 67)) || udp 1517 drivers/net/wireless/realtek/rtlwifi/base.c ((((u8 *)udp)[1] == 67) && udp 1518 drivers/net/wireless/realtek/rtlwifi/base.c (((u8 *)udp)[3] == 68))) { udp 99 drivers/scsi/fnic/cq_enet_desc.h u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, udp 156 drivers/scsi/fnic/cq_enet_desc.h *udp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_UDP) ? 1 : 0; udp 844 drivers/scsi/fnic/fnic_fcs.c u8 tcp_udp_csum_ok, udp, tcp, ipv4_csum_ok; udp 884 drivers/scsi/fnic/fnic_fcs.c &tcp_udp_csum_ok, &udp, &tcp, udp 372 drivers/staging/gdm724x/gdm_lte.c struct udphdr *udp = udp 374 drivers/staging/gdm724x/gdm_lte.c if (ntohs(udp->dest) == 67 || ntohs(udp->dest) == 68) udp 388 drivers/staging/gdm724x/gdm_lte.c struct udphdr *udp = udp 390 drivers/staging/gdm724x/gdm_lte.c if (ntohs(udp->dest) == 546 || ntohs(udp->dest) == 547) udp 621 drivers/staging/rtl8192e/rtllib_tx.c struct udphdr *udp; udp 623 drivers/staging/rtl8192e/rtllib_tx.c udp = (struct udphdr *)((u8 *)ip + udp 625 drivers/staging/rtl8192e/rtllib_tx.c if (((((u8 *)udp)[1] == 68) && udp 626 drivers/staging/rtl8192e/rtllib_tx.c (((u8 *)udp)[3] == 67)) || udp 627 drivers/staging/rtl8192e/rtllib_tx.c ((((u8 *)udp)[1] == 67) && udp 628 drivers/staging/rtl8192e/rtllib_tx.c (((u8 *)udp)[3] == 68))) { udp 1651 drivers/tty/vt/keyboard.c int vt_do_diacrit(unsigned int cmd, void __user *udp, int perm) udp 1660 drivers/tty/vt/keyboard.c struct kbdiacrs __user *a = udp; udp 1694 drivers/tty/vt/keyboard.c struct kbdiacrsuc __user *a = udp; udp 1722 drivers/tty/vt/keyboard.c struct kbdiacrs __user *a = udp; udp 1760 drivers/tty/vt/keyboard.c struct kbdiacrsuc __user *a = udp; udp 316 include/linux/ipv6.h struct udp_sock udp; udp 37 include/net/netfilter/nf_conntrack.h struct nf_ct_udp udp; udp 192 include/net/netfilter/nf_conntrack_l4proto.h return &net->ct.nf_ct_proto.udp; udp 52 include/net/netfilter/nf_conntrack_tuple.h } udp; udp 75 include/net/netns/conntrack.h struct nf_udp_net udp; udp 276 include/rdma/ib_pack.h struct ib_unpacked_udp udp; udp 3 include/trace/events/udp.h #define TRACE_SYSTEM udp udp 29 include/uapi/linux/netfilter/nf_conntrack_tuple_common.h } udp; udp 158 net/ipv4/netfilter/nf_nat_h323.c port == ct->tuplehash[dir].tuple.src.u.udp.port) { udp 162 net/ipv4/netfilter/nf_nat_h323.c ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port)); udp 166 net/ipv4/netfilter/nf_nat_h323.c dst.u.udp.port); udp 188 net/ipv4/netfilter/nf_nat_h323.c rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; udp 191 net/ipv4/netfilter/nf_nat_h323.c rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; udp 202 net/ipv4/netfilter/nf_nat_h323.c rtp_exp->tuple.dst.u.udp.port = info->rtp_port[i][dir]; udp 203 net/ipv4/netfilter/nf_nat_h323.c rtcp_exp->tuple.dst.u.udp.port = udp 219 net/ipv4/netfilter/nf_nat_h323.c for (nated_port = ntohs(rtp_exp->tuple.dst.u.udp.port); udp 223 net/ipv4/netfilter/nf_nat_h323.c rtp_exp->tuple.dst.u.udp.port = htons(nated_port); udp 226 net/ipv4/netfilter/nf_nat_h323.c rtcp_exp->tuple.dst.u.udp.port = udp 267 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtp_exp->tuple.src.u.udp.port), udp 269 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtp_exp->tuple.dst.u.udp.port)); udp 272 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtcp_exp->tuple.src.u.udp.port), udp 274 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtcp_exp->tuple.dst.u.udp.port)); udp 211 net/ipv4/netfilter/nf_nat_snmp_basic_main.c .tuple.src.u.udp.port = cpu_to_be16(SNMP_TRAP_PORT), udp 150 net/ipv4/netfilter/nf_socket_ipv4.c ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port; udp 184 net/netfilter/nf_conntrack_amanda.c .tuple.src.u.udp.port = cpu_to_be16(10080), udp 194 net/netfilter/nf_conntrack_amanda.c .tuple.src.u.udp.port = cpu_to_be16(10080), udp 61 net/netfilter/nf_conntrack_broadcast.c exp->tuple.src.u.udp.port = help->helper->tuple.src.u.udp.port; udp 64 net/netfilter/nf_conntrack_broadcast.c exp->mask.src.u.udp.port = htons(0xFFFF); udp 234 net/netfilter/nf_conntrack_core.c tuple->src.u.udp.port = inet_hdr->sport; udp 235 net/netfilter/nf_conntrack_core.c tuple->dst.u.udp.port = inet_hdr->dport; udp 1337 net/netfilter/nf_conntrack_h323_main.c port == ct->tuplehash[dir].tuple.src.u.udp.port) udp 1760 net/netfilter/nf_conntrack_h323_main.c .tuple.src.u.udp.port = cpu_to_be16(RAS_PORT), udp 1769 net/netfilter/nf_conntrack_h323_main.c .tuple.src.u.udp.port = cpu_to_be16(RAS_PORT), udp 49 net/netfilter/nf_conntrack_netbios_ns.c .tuple.src.u.udp.port = cpu_to_be16(NMBD_PORT), udp 101 net/netfilter/nf_conntrack_proto_udp.c ct->proto.udp.stream_ts = 2 * HZ + jiffies; udp 110 net/netfilter/nf_conntrack_proto_udp.c if (time_after(jiffies, ct->proto.udp.stream_ts)) udp 816 net/netfilter/nf_conntrack_sip.c exp->tuple.dst.u.udp.port != port) udp 921 net/netfilter/nf_conntrack_sip.c tuple.dst.u.udp.port = port; udp 933 net/netfilter/nf_conntrack_sip.c exp->saved_proto.udp.port != exp->tuple.dst.u.udp.port) && udp 937 net/netfilter/nf_conntrack_sip.c tuple.dst.u.udp.port = exp->saved_proto.udp.port; udp 944 net/netfilter/nf_conntrack_sip.c base_port = ntohs(tuple.dst.u.udp.port) & ~1; udp 1469 net/netfilter/nf_conntrack_sip.c port != ct->tuplehash[dir].tuple.src.u.udp.port && udp 56 net/netfilter/nf_conntrack_snmp.c .tuple.src.u.udp.port = cpu_to_be16(SNMP_PORT), udp 66 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->src.u.udp.port), udp 67 net/netfilter/nf_conntrack_standalone.c ntohs(tuple->dst.u.udp.port)); udp 73 net/netfilter/nf_conntrack_tftp.c IPPROTO_UDP, NULL, &tuple->dst.u.udp.port); udp 48 net/netfilter/nf_nat_proto.c newport = tuple->src.u.udp.port; udp 52 net/netfilter/nf_nat_proto.c newport = tuple->dst.u.udp.port; udp 108 net/netfilter/nf_nat_sip.c ct->tuplehash[dir].tuple.src.u.udp.port == port) { udp 110 net/netfilter/nf_nat_sip.c newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; udp 112 net/netfilter/nf_nat_sip.c ct->tuplehash[dir].tuple.dst.u.udp.port == port) { udp 115 net/netfilter/nf_nat_sip.c ct->tuplehash[!dir].tuple.src.u.udp.port; udp 190 net/netfilter/nf_nat_sip.c port != ct->tuplehash[dir].tuple.src.u.udp.port) udp 195 net/netfilter/nf_nat_sip.c port != ct->tuplehash[dir].tuple.dst.u.udp.port) udp 247 net/netfilter/nf_nat_sip.c htons(n) == ct->tuplehash[dir].tuple.dst.u.udp.port && udp 248 net/netfilter/nf_nat_sip.c htons(n) != ct->tuplehash[!dir].tuple.src.u.udp.port) { udp 249 net/netfilter/nf_nat_sip.c __be16 p = ct->tuplehash[!dir].tuple.src.u.udp.port; udp 401 net/netfilter/nf_nat_sip.c ct->tuplehash[dir].tuple.src.u.udp.port; udp 402 net/netfilter/nf_nat_sip.c if (exp->tuple.dst.u.udp.port == srcport) udp 403 net/netfilter/nf_nat_sip.c port = ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port); udp 405 net/netfilter/nf_nat_sip.c port = ntohs(exp->tuple.dst.u.udp.port); udp 409 net/netfilter/nf_nat_sip.c exp->saved_proto.udp.port = exp->tuple.dst.u.udp.port; udp 416 net/netfilter/nf_nat_sip.c exp->tuple.dst.u.udp.port = htons(port); udp 432 net/netfilter/nf_nat_sip.c exp->tuple.dst.u.udp.port != exp->saved_proto.udp.port) { udp 594 net/netfilter/nf_nat_sip.c rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; udp 600 net/netfilter/nf_nat_sip.c rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; udp 605 net/netfilter/nf_nat_sip.c for (port = ntohs(rtp_exp->tuple.dst.u.udp.port); udp 609 net/netfilter/nf_nat_sip.c rtp_exp->tuple.dst.u.udp.port = htons(port); udp 618 net/netfilter/nf_nat_sip.c rtcp_exp->tuple.dst.u.udp.port = htons(port + 1); udp 639 net/netfilter/nf_nat_sip.c if (rtp_exp->tuple.dst.u.udp.port != rtp_exp->saved_proto.udp.port && udp 29 net/netfilter/nf_nat_tftp.c exp->saved_proto.udp.port udp 30 net/netfilter/nf_nat_tftp.c = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port; udp 585 net/openvswitch/flow.c struct udphdr *udp = udp_hdr(skb); udp 586 net/openvswitch/flow.c key->tp.src = udp->source; udp 587 net/openvswitch/flow.c key->tp.dst = udp->dest; udp 700 net/openvswitch/flow.c struct udphdr *udp = udp_hdr(skb); udp 701 net/openvswitch/flow.c key->tp.src = udp->source; udp 702 net/openvswitch/flow.c key->tp.dst = udp->dest; udp 32 samples/bpf/parse_simple.c struct udphdr *udp = data + sizeof(*eth) + sizeof(*iph); udp 36 samples/bpf/parse_simple.c if (data + sizeof(*eth) + sizeof(*iph) + sizeof(*udp) > data_end) udp 45 samples/bpf/parse_simple.c if (udp->dest == htons(DEFAULT_PKTGEN_UDP_PORT)) udp 35 samples/bpf/parse_varlen.c struct udphdr *udp = data + tp_off; udp 37 samples/bpf/parse_varlen.c if (udp + 1 > data_end) udp 39 samples/bpf/parse_varlen.c if (udp->dest == htons(DEFAULT_PKTGEN_UDP_PORT) || udp 40 samples/bpf/parse_varlen.c udp->source == htons(DEFAULT_PKTGEN_UDP_PORT)) { udp 74 samples/bpf/parse_varlen.c return udp(data, nh_off + ihl_len, data_end); udp 108 samples/bpf/parse_varlen.c return udp(data, nh_off + ihl_len, data_end); udp 159 tools/testing/selftests/bpf/progs/bpf_flow.c struct udphdr *udp, _udp; udp 228 tools/testing/selftests/bpf/progs/bpf_flow.c udp = bpf_flow_dissect_get_header(skb, sizeof(*udp), &_udp); udp 229 tools/testing/selftests/bpf/progs/bpf_flow.c if (!udp) udp 232 tools/testing/selftests/bpf/progs/bpf_flow.c keys->sport = udp->source; udp 233 tools/testing/selftests/bpf/progs/bpf_flow.c keys->dport = udp->dest; udp 286 tools/testing/selftests/bpf/progs/test_l4lb.c struct udphdr *udp; udp 287 tools/testing/selftests/bpf/progs/test_l4lb.c udp = data + off; udp 289 tools/testing/selftests/bpf/progs/test_l4lb.c if (udp + 1 > data_end) udp 293 tools/testing/selftests/bpf/progs/test_l4lb.c pckt->port16[0] = udp->source; udp 294 tools/testing/selftests/bpf/progs/test_l4lb.c pckt->port16[1] = udp->dest; udp 296 tools/testing/selftests/bpf/progs/test_l4lb.c pckt->port16[0] = udp->dest; udp 297 tools/testing/selftests/bpf/progs/test_l4lb.c pckt->port16[1] = udp->source; udp 286 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c struct udphdr *udp; udp 287 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c udp = data + off; udp 289 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c if (udp + 1 > data_end) udp 293 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt->port16[0] = udp->source; udp 294 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt->port16[1] = udp->dest; udp 296 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt->port16[0] = udp->dest; udp 297 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt->port16[1] = udp->source; udp 41 tools/testing/selftests/bpf/progs/test_tc_tunnel.c struct udphdr udp; udp 158 tools/testing/selftests/bpf/progs/test_tc_tunnel.c olen += sizeof(h_outer.l4hdr.udp); udp 159 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.l4hdr.udp.source = __bpf_constant_htons(cfg_udp_src); udp 160 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.l4hdr.udp.dest = bpf_htons(udp_dst); udp 161 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.l4hdr.udp.check = 0; udp 162 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.l4hdr.udp.len = bpf_htons(bpf_ntohs(iph_inner.tot_len) + udp 163 tools/testing/selftests/bpf/progs/test_tc_tunnel.c sizeof(h_outer.l4hdr.udp) + udp 266 tools/testing/selftests/bpf/progs/test_tc_tunnel.c olen += sizeof(h_outer.l4hdr.udp); udp 267 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.l4hdr.udp.source = __bpf_constant_htons(cfg_udp_src); udp 268 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.l4hdr.udp.dest = bpf_htons(udp_dst); udp 270 tools/testing/selftests/bpf/progs/test_tc_tunnel.c sizeof(h_outer.l4hdr.udp); udp 271 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.l4hdr.udp.check = 0; udp 272 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.l4hdr.udp.len = bpf_htons(tot_len); udp 238 tools/testing/selftests/bpf/progs/test_xdp_noinline.c struct udphdr *udp; udp 239 tools/testing/selftests/bpf/progs/test_xdp_noinline.c udp = data + off; udp 241 tools/testing/selftests/bpf/progs/test_xdp_noinline.c if (udp + 1 > data_end) udp 244 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.port16[0] = udp->source; udp 245 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.port16[1] = udp->dest; udp 247 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.port16[0] = udp->dest; udp 248 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.port16[1] = udp->source; udp 654 tools/testing/selftests/bpf/test_maps.c int err, i, fd, udp, sfd[6] = {0xdeadbeef}; udp 747 tools/testing/selftests/bpf/test_maps.c udp = socket(AF_INET, SOCK_DGRAM, 0); udp 749 tools/testing/selftests/bpf/test_maps.c err = bpf_map_update_elem(fd, &i, &udp, BPF_ANY); udp 752 tools/testing/selftests/bpf/test_maps.c i, udp);