Home
last modified time | relevance | path

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

/net/netfilter/
Dnf_nat_sip.c108 ct->tuplehash[dir].tuple.src.u.udp.port == port) { in map_addr()
110 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr()
112 ct->tuplehash[dir].tuple.dst.u.udp.port == port) { in map_addr()
115 ct->tuplehash[!dir].tuple.src.u.udp.port; in map_addr()
190 port != ct->tuplehash[dir].tuple.src.u.udp.port) in nf_nat_sip()
195 port != ct->tuplehash[dir].tuple.dst.u.udp.port) in nf_nat_sip()
247 htons(n) == ct->tuplehash[dir].tuple.dst.u.udp.port && in nf_nat_sip()
248 htons(n) != ct->tuplehash[!dir].tuple.src.u.udp.port) { in nf_nat_sip()
249 __be16 p = ct->tuplehash[!dir].tuple.src.u.udp.port; in nf_nat_sip()
401 ct->tuplehash[dir].tuple.src.u.udp.port; in nf_nat_sip_expect()
[all …]
Dnf_conntrack_broadcast.c61 exp->tuple.src.u.udp.port = help->helper->tuple.src.u.udp.port; in nf_conntrack_broadcast_help()
64 exp->mask.src.u.udp.port = htons(0xFFFF); in nf_conntrack_broadcast_help()
Dnf_nat_tftp.c29 exp->saved_proto.udp.port in help()
30 = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port; in help()
Dnf_conntrack_amanda.c184 .tuple.src.u.udp.port = cpu_to_be16(10080),
194 .tuple.src.u.udp.port = cpu_to_be16(10080),
Dnf_conntrack_proto_udp.c100 ct->proto.udp.stream_ts = 2 * HZ + jiffies; in nf_conntrack_udp_packet()
110 if (time_after(jiffies, ct->proto.udp.stream_ts)) { in nf_conntrack_udp_packet()
Dnf_conntrack_sip.c816 exp->tuple.dst.u.udp.port != port) in refresh_signalling_expectation()
921 tuple.dst.u.udp.port = port; in set_expected_rtp_rtcp()
933 exp->saved_proto.udp.port != exp->tuple.dst.u.udp.port) && in set_expected_rtp_rtcp()
937 tuple.dst.u.udp.port = exp->saved_proto.udp.port; in set_expected_rtp_rtcp()
944 base_port = ntohs(tuple.dst.u.udp.port) & ~1; in set_expected_rtp_rtcp()
1469 port != ct->tuplehash[dir].tuple.src.u.udp.port && in process_sip_request()
Dnf_conntrack_netbios_ns.c49 .tuple.src.u.udp.port = cpu_to_be16(NMBD_PORT),
Dnf_conntrack_snmp.c56 .tuple.src.u.udp.port = cpu_to_be16(SNMP_PORT),
Dnf_conntrack_tftp.c73 IPPROTO_UDP, NULL, &tuple->dst.u.udp.port); in tftp_help()
Dnf_conntrack_standalone.c69 ntohs(tuple->src.u.udp.port), in print_tuple()
70 ntohs(tuple->dst.u.udp.port)); in print_tuple()
Dnf_nat_proto.c48 newport = tuple->src.u.udp.port; in __udp_manip_pkt()
52 newport = tuple->dst.u.udp.port; in __udp_manip_pkt()
Dnf_conntrack_h323_main.c1338 port == ct->tuplehash[dir].tuple.src.u.udp.port) in process_gcf()
1761 .tuple.src.u.udp.port = cpu_to_be16(RAS_PORT),
1770 .tuple.src.u.udp.port = cpu_to_be16(RAS_PORT),
Dnf_conntrack_core.c272 tuple->src.u.udp.port = inet_hdr->sport; in nf_ct_get_tuple_ports()
273 tuple->dst.u.udp.port = inet_hdr->dport; in nf_ct_get_tuple_ports()
/net/ipv4/netfilter/
Dnf_nat_h323.c158 port == ct->tuplehash[dir].tuple.src.u.udp.port) { in set_ras_addr()
162 ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port)); in set_ras_addr()
166 dst.u.udp.port); in set_ras_addr()
188 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp()
191 rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp()
202 rtp_exp->tuple.dst.u.udp.port = info->rtp_port[i][dir]; in nat_rtp_rtcp()
203 rtcp_exp->tuple.dst.u.udp.port = in nat_rtp_rtcp()
219 for (nated_port = ntohs(rtp_exp->tuple.dst.u.udp.port); in nat_rtp_rtcp()
223 rtp_exp->tuple.dst.u.udp.port = htons(nated_port); in nat_rtp_rtcp()
226 rtcp_exp->tuple.dst.u.udp.port = in nat_rtp_rtcp()
[all …]
Dnf_socket_ipv4.c142 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port; in nf_sk_lookup_slow_v4()
Dnf_nat_snmp_basic_main.c211 .tuple.src.u.udp.port = cpu_to_be16(SNMP_TRAP_PORT),
/net/rxrpc/
Dpeer_event.c38 struct udphdr *udp = (struct udphdr *)(skb->data + udp_offset); in rxrpc_lookup_peer_icmp_rcu() local
66 srx->transport.sin.sin_port = udp->dest; in rxrpc_lookup_peer_icmp_rcu()
75 srx->transport.sin.sin_port = udp->dest; in rxrpc_lookup_peer_icmp_rcu()
102 struct udphdr *udp = (struct udphdr *)(skb->data + udp_offset); in rxrpc_lookup_peer_icmp6_rcu() local
132 srx->transport.sin.sin_port = udp->dest; in rxrpc_lookup_peer_icmp6_rcu()
138 srx->transport.sin.sin_port = udp->dest; in rxrpc_lookup_peer_icmp6_rcu()
/net/openvswitch/
Dflow.c591 struct udphdr *udp = udp_hdr(skb); in key_extract_l3l4() local
592 key->tp.src = udp->source; in key_extract_l3l4()
593 key->tp.dst = udp->dest; in key_extract_l3l4()
714 struct udphdr *udp = udp_hdr(skb); in key_extract_l3l4() local
715 key->tp.src = udp->source; in key_extract_l3l4()
716 key->tp.dst = udp->dest; in key_extract_l3l4()
/net/ipv6/
DMakefile10 route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o udplite.o \
/net/ipv4/
DMakefile13 tcp_offload.o datagram.o raw.o udp.o udplite.o \
Dudp.c3295 DEFINE_BPF_ITER_FUNC(udp, struct bpf_iter_meta *meta, in DEFINE_BPF_ITER_FUNC() argument
/net/sched/
Dact_ct.c155 __be16 target_src = target.src.u.udp.port; in tcf_ct_flow_table_add_action_nat_udp()
156 __be16 target_dst = target.dst.u.udp.port; in tcf_ct_flow_table_add_action_nat_udp()
158 if (target_src != tuple->src.u.udp.port) in tcf_ct_flow_table_add_action_nat_udp()
162 if (target_dst != tuple->dst.u.udp.port) in tcf_ct_flow_table_add_action_nat_udp()