Home
last modified time | relevance | path

Searched refs:dst_port (Results 1 – 19 of 19) sorted by relevance

/net/openvswitch/
Dvport-geneve.c33 u16 dst_port; member
46 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, geneve_port->dst_port)) in geneve_get_options()
59 u16 dst_port; in geneve_tnl_create() local
69 dst_port = nla_get_u16(a); in geneve_tnl_create()
82 geneve_port->dst_port = dst_port; in geneve_tnl_create()
85 dev = geneve_dev_create_fb(net, parms->name, NET_NAME_USER, dst_port); in geneve_tnl_create()
Dvport-vxlan.c25 __be16 dst_port = vxlan->cfg.dst_port; in vxlan_get_options() local
27 if (nla_put_u16(skb, OVS_TUNNEL_ATTR_DST_PORT, ntohs(dst_port))) in vxlan_get_options()
93 conf.dst_port = htons(nla_get_u16(a)); in vxlan_tnl_create()
Dconntrack.c306 orig.dst_port = output->ct.orig_tp.dst; in ovs_ct_put_key()
321 orig.dst_port = output->ct.orig_tp.dst; in ovs_ct_put_key()
Dflow_netlink.c1245 SW_FLOW_KEY_PUT(match, ct.orig_tp.dst, ct->dst_port, is_mask); in metadata_from_nlattrs()
1261 SW_FLOW_KEY_PUT(match, ct.orig_tp.dst, ct->dst_port, is_mask); in metadata_from_nlattrs()
/net/vmw_vsock/
Dvirtio_transport_common.c50 u32 dst_port) in virtio_transport_alloc_pkt() argument
64 pkt->hdr.dst_port = cpu_to_le32(dst_port); in virtio_transport_alloc_pkt()
84 dst_cid, dst_port, in virtio_transport_alloc_pkt()
126 hdr->dst_port = pkt->hdr.dst_port; in virtio_transport_build_skb()
180 u32 src_cid, src_port, dst_cid, dst_port; in virtio_transport_send_pkt_info() local
194 dst_port = vsk->remote_addr.svm_port; in virtio_transport_send_pkt_info()
197 dst_port = info->remote_port; in virtio_transport_send_pkt_info()
215 dst_cid, dst_port); in virtio_transport_send_pkt_info()
733 le32_to_cpu(pkt->hdr.dst_port), in virtio_transport_reset_no_sock()
1082 le32_to_cpu(pkt->hdr.dst_port)); in virtio_transport_recv_listen()
[all …]
Dvmci_transport.h66 u32 dst_port; member
Dvmci_transport.c131 pkt->dst_port = dst->svm_port; in vmci_transport_packet_init()
178 vsock_addr_init(local, pkt->dg.dst.context, pkt->dst_port); in vmci_transport_packet_get_addresses()
492 pkt->dst_port == vpending->local_addr.svm_port) { in vmci_transport_get_pending()
702 vsock_addr_init(&dst, pkt->dg.dst.context, pkt->dst_port); in vmci_transport_recv_stream_cb()
1016 pkt->dst_port); in vmci_transport_recv_listen()
/net/qrtr/
Daf_qrtr.c78 u32 dst_port; member
463 cb->dst_port = le32_to_cpu(v1->dst_port_id); in qrtr_endpoint_post()
478 cb->dst_port = le16_to_cpu(v2->dst_port_id); in qrtr_endpoint_post()
482 if (cb->dst_port == (u16)QRTR_PORT_CTRL) in qrtr_endpoint_post()
483 cb->dst_port = QRTR_PORT_CTRL; in qrtr_endpoint_post()
500 if (cb->dst_port != QRTR_PORT_CTRL && cb->type != QRTR_TYPE_DATA && in qrtr_endpoint_post()
519 ipc = qrtr_port_lookup(cb->dst_port); in qrtr_endpoint_post()
985 struct sockaddr_qrtr local = { AF_QIPCRTR, cb->dst_node, cb->dst_port }; in qrtr_send_resume_tx()
1001 pkt->client.port = cpu_to_le32(cb->dst_port); in qrtr_send_resume_tx()
/net/ipv6/
Dip6_udp_tunnel.c81 __be16 src_port, __be16 dst_port, bool nocheck) in udp_tunnel6_xmit_skb() argument
90 uh->dest = dst_port; in udp_tunnel6_xmit_skb()
/net/ipv4/
Dudp_tunnel_core.c173 __be16 df, __be16 src_port, __be16 dst_port, in udp_tunnel_xmit_skb() argument
182 uh->dest = dst_port; in udp_tunnel_xmit_skb()
/net/sched/
Dact_tunnel_key.c370 __be16 dst_port = 0; in tunnel_key_init() local
423 dst_port = nla_get_be16(tb[TCA_TUNNEL_KEY_ENC_DST_PORT]); in tunnel_key_init()
450 dst_port, flags, in tunnel_key_init()
460 metadata = __ipv6_tun_set_dst(&saddr, &daddr, tos, ttl, dst_port, in tunnel_key_init()
Dact_ct.c455 tuple->dst_port = ports->dest; in tcf_ct_flow_table_fill_tuple_ipv4()
497 tuple->dst_port = ports->dest; in tcf_ct_flow_table_fill_tuple_ipv6()
/net/netfilter/
Dnf_flow_table_core.c43 ft->dst_port = ctt->dst.u.tcp.port; in flow_offload_fill_dir()
457 new_port = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_port; in nf_flow_snat_port()
493 new_port = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_port; in nf_flow_dnat_port()
Dnf_flow_table_ip.c203 tuple->dst_port = ports->dest; in nf_flow_tuple_ip()
475 tuple->dst_port = ports->dest; in nf_flow_tuple_ipv6()
Dxt_hashlimit.c86 __be16 dst_port; member
705 dst->dst_port = ports[1]; in hashlimit_init_dst()
1104 ntohs(ent->dst.dst_port), in dl_seq_print()
1115 ntohs(ent->dst.dst_port), in dl_seq_print()
Dnf_flow_table_offload.c144 key->tp.dst = tuple->dst_port; in nf_flow_rule_match()
397 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_port); in flow_offload_port_snat()
433 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_port); in flow_offload_port_dnat()
/net/netfilter/ipvs/
Dip_vs_core.c266 struct sk_buff *skb, __be16 src_port, __be16 dst_port, in ip_vs_sched_persist() argument
301 IP_VS_DBG_ADDR(svc->af, dst_addr), ntohs(dst_port), in ip_vs_sched_persist()
322 if (dst_port == svc->port) { in ip_vs_sched_persist()
329 vport = dst_port; in ip_vs_sched_persist()
376 if (dst_port == svc->port && svc->port != FTPPORT) in ip_vs_sched_persist()
398 dport = dst_port; in ip_vs_sched_persist()
410 src_port, dst_addr, dst_port, &param); in ip_vs_sched_persist()
/net/core/
Dfilter.c7776 case bpf_ctx_range(struct bpf_sock, dst_port): in bpf_sock_is_valid_access()
7778 size_default : sizeof_field(struct bpf_sock, dst_port); in bpf_sock_is_valid_access()
7781 case offsetofend(struct bpf_sock, dst_port) ... in bpf_sock_is_valid_access()
8828 case offsetof(struct bpf_sock, dst_port): in bpf_sock_convert_ctx_access()
/net/wireless/
Dnl80211.c11825 nla_put_u16(msg, NL80211_WOWLAN_TCP_DST_PORT, tcp->dst_port) || in nl80211_send_wowlan_tcp()
12131 cfg->dst_port = nla_get_u16(tb[NL80211_WOWLAN_TCP_DST_PORT]); in nl80211_parse_wowlan_tcp()