Home
last modified time | relevance | path

Searched full:u3 (Results 1 – 25 of 142) sorted by relevance

123456

/Linux-v5.10/include/net/netfilter/
Dnf_conntrack_tuple.h30 union nf_inet_addr u3; member
42 union nf_inet_addr u3; member
77 union nf_inet_addr u3; member
87 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip()
88 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip()
97 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6()
98 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6()
127 return (nf_inet_addr_cmp(&t1->src.u3, &t2->src.u3) && in __nf_ct_tuple_src_equal()
135 return (nf_inet_addr_cmp(&t1->dst.u3, &t2->dst.u3) && in __nf_ct_tuple_dst_equal()
151 return (nf_inet_addr_cmp(&m1->src.u3, &m2->src.u3) && in nf_ct_tuple_mask_equal()
[all …]
/Linux-v5.10/net/netfilter/
Dnf_nat_sip.c107 if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, addr) && in map_addr()
109 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr()
111 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr()
113 newaddr = ct->tuplehash[!dir].tuple.src.u3; in map_addr()
189 &ct->tuplehash[dir].tuple.src.u3) || in nf_nat_sip()
194 &ct->tuplehash[dir].tuple.dst.u3) || in nf_nat_sip()
213 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.src.u3) && in nf_nat_sip()
214 !nf_inet_addr_cmp(&addr, &ct->tuplehash[!dir].tuple.dst.u3)) { in nf_nat_sip()
216 &ct->tuplehash[!dir].tuple.dst.u3, in nf_nat_sip()
230 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.dst.u3) && in nf_nat_sip()
[all …]
Dnf_conntrack_expect.c87 hash = jhash2(tuple->dst.u3.all, ARRAY_SIZE(tuple->dst.u3.all), in nf_ct_expect_dst_hash()
242 intersect_mask.src.u3.all[count] = in expect_clash()
243 a->mask.src.u3.all[count] & b->mask.src.u3.all[count]; in expect_clash()
317 memcpy(&exp->tuple.src.u3, saddr, len); in nf_ct_expect_init()
318 if (sizeof(exp->tuple.src.u3) > len) in nf_ct_expect_init()
320 memset((void *)&exp->tuple.src.u3 + len, 0x00, in nf_ct_expect_init()
321 sizeof(exp->tuple.src.u3) - len); in nf_ct_expect_init()
322 memset(&exp->mask.src.u3, 0xFF, len); in nf_ct_expect_init()
323 if (sizeof(exp->mask.src.u3) > len) in nf_ct_expect_init()
324 memset((void *)&exp->mask.src.u3 + len, 0x00, in nf_ct_expect_init()
[all …]
Dnf_conntrack_h323_main.c272 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_rtp_rtcp()
284 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp()
285 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
294 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp()
295 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
298 if (memcmp(&ct->tuplehash[dir].tuple.src.u3, in expect_rtp_rtcp()
299 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
300 sizeof(ct->tuplehash[dir].tuple.src.u3)) && in expect_rtp_rtcp()
344 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_t120()
352 &ct->tuplehash[!dir].tuple.src.u3, in expect_t120()
[all …]
Dnf_conntrack_ftp.c165 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) | in try_rfc959()
257 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) in try_eprt()
262 (struct in6_addr *)cmd->u3.ip6, delim); in try_eprt()
443 memcpy(cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help()
444 sizeof(cmd.u3.all)); in help()
485 daddr = &ct->tuplehash[!dir].tuple.dst.u3; in help()
489 memcmp(&cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help()
490 sizeof(cmd.u3.all))) { in help()
497 &cmd.u3.ip, in help()
498 &ct->tuplehash[dir].tuple.src.u3.ip); in help()
[all …]
Dnf_nat_proto.c372 csum_replace4(&iph->check, iph->saddr, target->src.u3.ip); in nf_nat_ipv4_manip_pkt()
373 iph->saddr = target->src.u3.ip; in nf_nat_ipv4_manip_pkt()
375 csum_replace4(&iph->check, iph->daddr, target->dst.u3.ip); in nf_nat_ipv4_manip_pkt()
376 iph->daddr = target->dst.u3.ip; in nf_nat_ipv4_manip_pkt()
411 ipv6h->saddr = target->src.u3.in6; in nf_nat_ipv6_manip_pkt()
413 ipv6h->daddr = target->dst.u3.in6; in nf_nat_ipv6_manip_pkt()
455 newip = t->src.u3.ip; in nf_nat_ipv4_csum_update()
458 newip = t->dst.u3.ip; in nf_nat_ipv4_csum_update()
474 newip = &t->src.u3.in6; in nf_nat_ipv6_csum_update()
477 newip = &t->dst.u3.in6; in nf_nat_ipv6_csum_update()
[all …]
Dnf_conntrack_netlink.c88 if (nla_put_in_addr(skb, CTA_IP_V4_SRC, tuple->src.u3.ip) || in ipv4_tuple_to_nlattr()
89 nla_put_in_addr(skb, CTA_IP_V4_DST, tuple->dst.u3.ip)) in ipv4_tuple_to_nlattr()
97 if (nla_put_in6_addr(skb, CTA_IP_V6_SRC, &tuple->src.u3.in6) || in ipv6_tuple_to_nlattr()
98 nla_put_in6_addr(skb, CTA_IP_V6_DST, &tuple->dst.u3.in6)) in ipv6_tuple_to_nlattr()
1017 filter_tuple->src.u3.ip != ct_tuple->src.u3.ip) in ctnetlink_filter_match_tuple()
1021 filter_tuple->dst.u3.ip != ct_tuple->dst.u3.ip) in ctnetlink_filter_match_tuple()
1026 !ipv6_addr_cmp(&filter_tuple->src.u3.in6, in ctnetlink_filter_match_tuple()
1027 &ct_tuple->src.u3.in6)) in ctnetlink_filter_match_tuple()
1031 !ipv6_addr_cmp(&filter_tuple->dst.u3.in6, in ctnetlink_filter_match_tuple()
1032 &ct_tuple->dst.u3.in6)) in ctnetlink_filter_match_tuple()
[all …]
Dnf_nat_core.c65 fl4->daddr = t->dst.u3.ip; in nf_nat_ipv4_decode_session()
77 fl4->saddr = t->src.u3.ip; in nf_nat_ipv4_decode_session()
98 fl6->daddr = t->dst.u3.in6; in nf_nat_ipv6_decode_session()
110 fl6->saddr = t->src.u3.in6; in nf_nat_ipv6_decode_session()
224 return ntohl(t->src.u3.ip) >= ntohl(range->min_addr.ip) && in nf_nat_inet_in_range()
225 ntohl(t->src.u3.ip) <= ntohl(range->max_addr.ip); in nf_nat_inet_in_range()
227 return ipv6_addr_cmp(&t->src.u3.in6, &range->min_addr.in6) >= 0 && in nf_nat_inet_in_range()
228 ipv6_addr_cmp(&t->src.u3.in6, &range->max_addr.in6) <= 0; in nf_nat_inet_in_range()
290 nf_inet_addr_cmp(&t->src.u3, &tuple->src.u3) && in same_src()
345 var_ipp = &tuple->src.u3; in find_best_ips_proto()
[all …]
Dnf_conntrack_proto.c248 tuple.src.u3.ip = inet->inet_rcv_saddr; in getorigdst()
250 tuple.dst.u3.ip = inet->inet_daddr; in getorigdst()
278 .tuple.dst.u3.ip; in getorigdst()
290 &tuple.src.u3.ip, ntohs(tuple.src.u.tcp.port), in getorigdst()
291 &tuple.dst.u3.ip, ntohs(tuple.dst.u.tcp.port)); in getorigdst()
317 tuple.src.u3.in6 = sk->sk_v6_rcv_saddr; in ipv6_getorigdst()
319 tuple.dst.u3.in6 = sk->sk_v6_daddr; in ipv6_getorigdst()
336 &tuple.src.u3.ip6, ntohs(tuple.src.u.tcp.port), in ipv6_getorigdst()
337 &tuple.dst.u3.ip6, ntohs(tuple.dst.u.tcp.port)); in ipv6_getorigdst()
347 &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3.in6, in ipv6_getorigdst()
Dnf_conntrack_proto_gre.c75 !memcmp(&km->tuple.src.u3, &t->src.u3, sizeof(t->src.u3)) && in gre_key_cmpfn()
76 !memcmp(&km->tuple.dst.u3, &t->dst.u3, sizeof(t->dst.u3)) && in gre_key_cmpfn()
Dnft_ct.c189 memcpy(dest, tuple->src.u3.all, in nft_ct_get_eval()
193 memcpy(dest, tuple->dst.u3.all, in nft_ct_get_eval()
205 *dest = tuple->src.u3.ip; in nft_ct_get_eval()
210 *dest = tuple->dst.u3.ip; in nft_ct_get_eval()
215 memcpy(dest, tuple->src.u3.ip6, sizeof(struct in6_addr)); in nft_ct_get_eval()
220 memcpy(dest, tuple->dst.u3.ip6, sizeof(struct in6_addr)); in nft_ct_get_eval()
442 src.u3.ip); in nft_ct_get_init()
447 src.u3.ip6); in nft_ct_get_init()
458 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init()
465 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init()
[all …]
Dnf_conntrack_irc.c188 if (tuple->src.u3.ip != dcc_ip && in help()
189 tuple->dst.u3.ip != dcc_ip) { in help()
191 &tuple->src.u3.ip, in help()
207 NULL, &tuple->dst.u3, in help()
Dxt_conntrack.c44 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, in conntrack_mt_origsrc()
53 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3, in conntrack_mt_origdst()
62 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3, in conntrack_mt_replsrc()
71 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst()
/Linux-v5.10/net/ipv4/netfilter/
Dnf_nat_h323.c105 if (addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_sig_addr()
118 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_sig_addr()
123 tuple.dst.u3, in set_sig_addr()
125 } else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip && in set_sig_addr()
130 &ct->tuplehash[!dir].tuple.src.u3.ip, in set_sig_addr()
135 tuple.src.u3, in set_sig_addr()
157 addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_ras_addr()
161 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_ras_addr()
164 &ct->tuplehash[!dir].tuple.dst.u3, in set_ras_addr()
252 &ct->tuplehash[!dir].tuple.dst.u3, in nat_rtp_rtcp()
[all …]
Dnf_nat_pptp.c67 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected()
69 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected()
76 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected()
78 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected()
100 = ct->master->tuplehash[!exp->dir].tuple.dst.u3; in pptp_nat_expected()
110 = ct->master->tuplehash[!exp->dir].tuple.src.u3; in pptp_nat_expected()
Dnf_nat_snmp_basic_main.c136 ctx.from = ct->tuplehash[dir].tuple.src.u3.ip; in snmp_translate()
137 ctx.to = ct->tuplehash[!dir].tuple.dst.u3.ip; in snmp_translate()
139 ctx.from = ct->tuplehash[!dir].tuple.src.u3.ip; in snmp_translate()
140 ctx.to = ct->tuplehash[dir].tuple.dst.u3.ip; in snmp_translate()
/Linux-v5.10/arch/powerpc/include/asm/
Duninorth.h6 * machines and U3 (G5)
14 * Uni-N and U3 config space reg. definitions
20 /* Not U3 */
26 /* Not U3 */
38 /* The following seems to only be used only on U3 <j.glisse@gmail.com> */
110 #define UNI_N_VERSION_300 0x0030 /* 3.0 (U3 on G5) */
210 * U3 specific registers
214 /* U3 Toggle */
220 /* U3 API PHY Config 1 */
223 /* U3 HyperTransport registers */
/Linux-v5.10/net/netfilter/ipvs/
Dip_vs_nfct.c55 #define ARG_TUPLE(T) IP_VS_DBG_ADDR((T)->src.l3num, &(T)->src.u3), \
57 IP_VS_DBG_ADDR((T)->src.l3num, &(T)->dst.u3), \
109 new_tuple.src.u3 = cp->daddr; in ip_vs_update_conntrack()
114 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack()
159 &orig->src.u3, orig->src.u.tcp.port, in ip_vs_nfct_expect_callback()
160 &orig->dst.u3, orig->dst.u.tcp.port, &p); in ip_vs_nfct_expect_callback()
171 new_reply.dst.u3 = cp->vaddr; in ip_vs_nfct_expect_callback()
187 new_reply.src.u3 = cp->daddr; in ip_vs_nfct_expect_callback()
253 tuple.src.u3 = cp->caddr; in ip_vs_conn_drop_conntrack()
256 tuple.dst.u3 = cp->vaddr; in ip_vs_conn_drop_conntrack()
/Linux-v5.10/arch/arm/boot/dts/
Dexynos4412-odroidu3.dts3 * Hardkernel's Exynos4412 based ODROID-U3 board device tree source
7 * Device tree source file for Hardkernel's ODROID-U3 board which is based
16 model = "Hardkernel ODROID-U3 board based on Exynos4412";
17 compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4";
109 model = "Odroid-U3";
/Linux-v5.10/lib/mpi/
Dmpi-inv.c33 MPI u, v, u1, u2 = NULL, u3, v1, v2 = NULL, v3, t1, t2 = NULL, t3; in mpi_invm() local
55 u3 = mpi_copy(u); in mpi_invm()
103 mpi_set(u3, t3); in mpi_invm()
117 mpi_sub(t3, u3, v3); in mpi_invm()
124 /* mpi_lshift( u3, k ); */ in mpi_invm()
135 mpi_free(u3); in mpi_invm()
/Linux-v5.10/Documentation/devicetree/bindings/phy/
Dphy-mtk-tphy.txt125 u3 port0 0x0900 U3PHYD
130 u3 port1 0x1100 U3PHYD
142 u3 port0 0x0700 SPLLC
151 u3 port1 0x1700 SPLLC
160 SPLLC shared by u3 ports and FMREG shared by u2 ports on
162 u2 ports and CHIP for u3 ports are added on mt2712.
/Linux-v5.10/arch/arm64/boot/dts/xilinx/
Dzynqmp-zcu111-revA.dts99 ina226-u3 {
101 io-channels = <&u3 0>, <&u3 1>, <&u3 2>, <&u3 3>;
275 u3: ina226@4a { /* u3 */ label
278 label = "ina226-u3";
/Linux-v5.10/net/sched/
Dact_ct.c92 if (memcmp(&target.src.u3, &tuple->src.u3, sizeof(target.src.u3))) in tcf_ct_flow_table_add_action_nat_ipv4()
96 be32_to_cpu(target.src.u3.ip)); in tcf_ct_flow_table_add_action_nat_ipv4()
97 if (memcmp(&target.dst.u3, &tuple->dst.u3, sizeof(target.dst.u3))) in tcf_ct_flow_table_add_action_nat_ipv4()
101 be32_to_cpu(target.dst.u3.ip)); in tcf_ct_flow_table_add_action_nat_ipv4()
122 if (memcmp(&target.src.u3, &tuple->src.u3, sizeof(target.src.u3))) in tcf_ct_flow_table_add_action_nat_ipv6()
123 tcf_ct_add_ipv6_addr_mangle_action(action, &target.src.u3, in tcf_ct_flow_table_add_action_nat_ipv6()
126 if (memcmp(&target.dst.u3, &tuple->dst.u3, sizeof(target.dst.u3))) in tcf_ct_flow_table_add_action_nat_ipv6()
127 tcf_ct_add_ipv6_addr_mangle_action(action, &target.dst.u3, in tcf_ct_flow_table_add_action_nat_ipv6()
/Linux-v5.10/arch/powerpc/platforms/maple/
Dpci.c513 if (of_device_is_compatible(dev, "u3-agp")) { in maple_add_bridge()
515 disp_name = "U3-AGP"; in maple_add_bridge()
517 } else if (of_device_is_compatible(dev, "u3-ht")) { in maple_add_bridge()
519 disp_name = "U3-HT"; in maple_add_bridge()
576 /* Fixup the PCI<->OF mapping for U3 AGP due to bus renumbering. We in maple_pci_root_bridge_prepare()
593 /* Probe root PCI hosts, that is on U3 the AGP host and the in maple_pci_init()
607 of_device_is_compatible(np, "u3-agp")) && in maple_pci_init()
611 if (of_device_is_compatible(np, "u3-ht")) { in maple_pci_init()
/Linux-v5.10/arch/powerpc/sysdev/
Ddart_iommu.c13 * Dynamic DMA mapping support, Apple U3, U4 & IBM CPC925 "DART" iommu.
97 "time. Buggy U3 ?"); in dart_tlb_invalidate_all()
185 /* On U3, all memory is contiguous, so we can move this in dart_build()
323 dart_is_u4 ? "U4" : "U3"); in dart_init()
397 dn = of_find_compatible_node(NULL, "dart", "u3-dart"); in iommu_init_early_dart()

123456