Home
last modified time | relevance | path

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

12345

/linux/net/ipv4/netfilter/
H A Dnf_nat_h323.c108 if (addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_sig_addr()
121 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_sig_addr()
126 tuple.dst.u3, in set_sig_addr()
128 } else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip && in set_sig_addr()
133 &ct->tuplehash[!dir].tuple.src.u3.ip, in set_sig_addr()
138 tuple.src.u3, in set_sig_addr()
160 addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_ras_addr()
164 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_ras_addr()
167 &ct->tuplehash[!dir].tuple.dst.u3, in set_ras_addr()
250 &ct->tuplehash[!dir].tuple.dst.u3, in nat_rtp_rtcp()
[all …]
H A 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/net/netfilter/
H A Dnf_nat_sip.c112 if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, addr) && in map_addr()
114 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr()
116 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr()
118 newaddr = ct->tuplehash[!dir].tuple.src.u3; in map_addr()
197 &ct->tuplehash[dir].tuple.src.u3) || in nf_nat_sip()
202 &ct->tuplehash[dir].tuple.dst.u3) || in nf_nat_sip()
221 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.src.u3) && in nf_nat_sip()
222 !nf_inet_addr_cmp(&addr, &ct->tuplehash[!dir].tuple.dst.u3)) { in nf_nat_sip()
224 &ct->tuplehash[!dir].tuple.dst.u3, in nf_nat_sip()
238 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.dst.u3) && in nf_nat_sip()
[all …]
H A Dnf_conntrack_h323_main.c226 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_rtp_rtcp()
238 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp()
239 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
248 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp()
249 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
253 if (memcmp(&ct->tuplehash[dir].tuple.src.u3, in expect_rtp_rtcp()
254 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
255 sizeof(ct->tuplehash[dir].tuple.src.u3)) && in expect_rtp_rtcp()
299 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_t120()
307 &ct->tuplehash[!dir].tuple.src.u3, in expect_t120()
[all …]
H A Dnf_conntrack_expect.c105 combined.dst_addr = tuple->dst.u3; in nf_ct_expect_dst_hash()
265 intersect_mask.src.u3.all[count] = in expect_clash()
266 a->mask.src.u3.all[count] & b->mask.src.u3.all[count]; in expect_clash()
366 memcpy(&exp->tuple.src.u3, saddr, len); in nf_ct_expect_init()
367 if (sizeof(exp->tuple.src.u3) > len) in nf_ct_expect_init()
369 memset((void *)&exp->tuple.src.u3 + len, 0x00, in nf_ct_expect_init()
370 sizeof(exp->tuple.src.u3) - len); in nf_ct_expect_init()
371 memset(&exp->mask.src.u3, 0xFF, len); in nf_ct_expect_init()
372 if (sizeof(exp->mask.src.u3) > le in nf_ct_expect_init()
[all...]
H A Dnf_conntrack_ftp.c152 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) | in try_rfc959()
245 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) in try_eprt()
250 (struct in6_addr *)cmd->u3.ip6, delim); in try_eprt()
437 memcpy(cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help()
438 sizeof(cmd.u3.all)); in help()
479 daddr = &ct->tuplehash[!dir].tuple.dst.u3; in help()
483 memcmp(&cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help()
484 sizeof(cmd.u3.all))) { in help()
491 &cmd.u3.ip, in help()
492 &ct->tuplehash[dir].tuple.src.u3.ip); in help()
[all …]
H A Dnf_nat_proto.c310 csum_replace4(&iph->check, iph->saddr, target->src.u3.ip); in nf_nat_ipv4_manip_pkt()
311 iph->saddr = target->src.u3.ip; in nf_nat_ipv4_manip_pkt()
313 csum_replace4(&iph->check, iph->daddr, target->dst.u3.ip); in nf_nat_ipv4_manip_pkt()
314 iph->daddr = target->dst.u3.ip; in nf_nat_ipv4_manip_pkt()
349 ipv6h->saddr = target->src.u3.in6; in nf_nat_ipv6_manip_pkt()
351 ipv6h->daddr = target->dst.u3.in6; in nf_nat_ipv6_manip_pkt()
393 newip = t->src.u3.ip; in nf_nat_ipv4_csum_update()
396 newip = t->dst.u3.ip; in nf_nat_ipv4_csum_update()
412 newip = &t->src.u3.in6; in nf_nat_ipv6_csum_update()
415 newip = &t->dst.u3.in6; in nf_nat_ipv6_csum_update()
[all …]
H A Dnf_conntrack_netlink.c94 if (nla_put_in_addr(skb, CTA_IP_V4_SRC, tuple->src.u3.ip) || in ipv4_tuple_to_nlattr()
95 nla_put_in_addr(skb, CTA_IP_V4_DST, tuple->dst.u3.ip)) in ipv4_tuple_to_nlattr()
103 if (nla_put_in6_addr(skb, CTA_IP_V6_SRC, &tuple->src.u3.in6) || in ipv6_tuple_to_nlattr()
104 nla_put_in6_addr(skb, CTA_IP_V6_DST, &tuple->dst.u3.in6)) in ipv6_tuple_to_nlattr()
1090 filter_tuple->src.u3.ip != ct_tuple->src.u3.ip) in ctnetlink_filter_match_tuple()
1094 filter_tuple->dst.u3.ip != ct_tuple->dst.u3.ip) in ctnetlink_filter_match_tuple()
1099 !ipv6_addr_cmp(&filter_tuple->src.u3.in6, in ctnetlink_filter_match_tuple()
1100 &ct_tuple->src.u3 in ctnetlink_filter_match_tuple()
1635 u8 u3 = info->nfmsg->version || cda[CTA_FILTER] ? family : AF_UNSPEC; ctnetlink_del_conntrack() local
1670 u_int8_t u3 = info->nfmsg->nfgen_family; ctnetlink_get_conntrack() local
2227 ctnetlink_create_conntrack(struct net * net,const struct nf_conntrack_zone * zone,const struct nlattr * const cda[],struct nf_conntrack_tuple * otuple,struct nf_conntrack_tuple * rtuple,u8 u3) ctnetlink_create_conntrack() argument
2391 u_int8_t u3 = info->nfmsg->nfgen_family; ctnetlink_new_conntrack() local
3270 u_int8_t u3 = nfmsg->nfgen_family; ctnetlink_dump_exp_ct() local
3313 u_int8_t u3 = info->nfmsg->nfgen_family; ctnetlink_get_expect() local
3409 u_int8_t u3 = info->nfmsg->nfgen_family; ctnetlink_del_expect() local
3488 ctnetlink_parse_expect_nat(const struct nlattr * attr,struct nf_conntrack_expect * exp,u_int8_t u3) ctnetlink_parse_expect_nat() argument
3599 ctnetlink_create_expect(struct net * net,const struct nf_conntrack_zone * zone,const struct nlattr * const cda[],u_int8_t u3,u32 portid,int report) ctnetlink_create_expect() argument
3647 u_int8_t u3 = info->nfmsg->nfgen_family; ctnetlink_new_expect() local
[all...]
H A Dnf_nat_core.c62 fl4->daddr = t->dst.u3.ip; in nf_nat_ipv4_decode_session()
72 fl4->saddr = t->src.u3.ip; in nf_nat_ipv4_decode_session()
91 fl6->daddr = t->dst.u3.in6; in nf_nat_ipv6_decode_session()
101 fl6->saddr = t->src.u3.in6; in nf_nat_ipv6_decode_session()
385 return ntohl(t->src.u3.ip) >= ntohl(range->min_addr.ip) && in nf_nat_inet_in_range()
386 ntohl(t->src.u3.ip) <= ntohl(range->max_addr.ip); in nf_nat_inet_in_range()
388 return ipv6_addr_cmp(&t->src.u3.in6, &range->min_addr.in6) >= 0 && in nf_nat_inet_in_range()
389 ipv6_addr_cmp(&t->src.u3.in6, &range->max_addr.in6) <= 0; in nf_nat_inet_in_range()
449 nf_inet_addr_cmp(&t->src.u3, &tuple->src.u3) && in same_src()
504 var_ipp = &tuple->src.u3; in find_best_ips_proto()
[all …]
H A Dnf_flow_table_path.c51 const void *daddr = &ct->tuplehash[!dir].tuple.src.u3; in nft_dev_fill_forward_path()
278 fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip; in nft_flow_route()
279 fl.u.ip4.saddr = ct->tuplehash[!dir].tuple.src.u3.ip; in nft_flow_route()
287 fl.u.ip6.daddr = ct->tuplehash[dir].tuple.src.u3.in6; in nft_flow_route()
288 fl.u.ip6.saddr = ct->tuplehash[!dir].tuple.src.u3.in6; in nft_flow_route()
H A Dnf_conntrack_irc.c209 if ((tuple->src.u3.ip != dcc_ip && in help()
210 ct->tuplehash[!dir].tuple.dst.u3.ip != dcc_ip) || in help()
213 &tuple->src.u3.ip, in help()
229 NULL, &tuple->dst.u3, in help()
H A Dnft_ct.c183 memcpy(dest, tuple->src.u3.all, priv->len); in nft_ct_get_eval()
186 memcpy(dest, tuple->dst.u3.all, priv->len); in nft_ct_get_eval()
197 *dest = (__force __u32)tuple->src.u3.ip; in nft_ct_get_eval()
202 *dest = (__force __u32)tuple->dst.u3.ip; in nft_ct_get_eval()
207 memcpy(dest, tuple->src.u3.ip6, sizeof(struct in6_addr)); in nft_ct_get_eval()
212 memcpy(dest, tuple->dst.u3.ip6, sizeof(struct in6_addr)); in nft_ct_get_eval()
451 src.u3.ip); in nft_ct_get_init()
456 src.u3.ip6); in nft_ct_get_init()
467 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init()
474 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init()
[all …]
H A 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()
H A Dnf_conntrack_proto.c282 tuple.src.u3.ip = inet->inet_rcv_saddr; in getorigdst()
284 tuple.dst.u3.ip = inet->inet_daddr; in getorigdst()
307 .tuple.dst.u3.ip; in getorigdst()
341 tuple.src.u3.in6 = sk->sk_v6_rcv_saddr; in ipv6_getorigdst()
343 tuple.dst.u3.in6 = sk->sk_v6_daddr; in ipv6_getorigdst()
367 &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3.in6, in ipv6_getorigdst()
/linux/arch/powerpc/include/asm/
H A 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/Documentation/devicetree/bindings/phy/
H A Dmediatek,tphy.yaml25 u3 port0 0x0900 U3PHYD
30 u3 port1 0x1100 U3PHYD
42 u3 port0 0x0700 SPLLC
51 u3 port1 0x1700 SPLLC
60 SPLLC shared by u3 ports and FMREG shared by u2 ports on V1 are put back
61 into each port; a new bank MISC for u2 ports and CHIP for u3 ports are
183 - description: internal R efuse for U2 PHY or U3/PCIe PHY
184 - description: rx_imp_sel efuse for U3/PCIe PHY
185 - description: tx_imp_sel efuse for U3/PCIe PHY
188 Available only for U2 PHY or U3/PCIe PHY of version 2/3, these
[all …]
H A Dmediatek,xsphy.yaml57 Register shared by multiple U3 ports, exclude port's private register,
135 The selection of Internal Resistor (U2/U3 phy)
142 The selection of TX Impedance (U3 phy)
149 The selection of RX Impedance (U3 phy)
/linux/net/netfilter/ipvs/
H A Dip_vs_nfct.c54 #define ARG_TUPLE(T) IP_VS_DBG_ADDR((T)->src.l3num, &(T)->src.u3), \
56 IP_VS_DBG_ADDR((T)->src.l3num, &(T)->dst.u3), \
108 new_tuple.src.u3 = cp->daddr; in ip_vs_update_conntrack()
113 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack()
158 &orig->src.u3, orig->src.u.tcp.port, in ip_vs_nfct_expect_callback()
159 &orig->dst.u3, orig->dst.u.tcp.port, &p); in ip_vs_nfct_expect_callback()
170 new_reply.dst.u3 = cp->vaddr; in ip_vs_nfct_expect_callback()
186 new_reply.src.u3 = cp->daddr; in ip_vs_nfct_expect_callback()
252 tuple.src.u3 = cp->caddr; in ip_vs_conn_drop_conntrack()
255 tuple.dst.u3 = cp->vaddr; in ip_vs_conn_drop_conntrack()
/linux/arch/arm/boot/dts/samsung/
H A 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
17 model = "Hardkernel ODROID-U3 board based on Exynos4412";
18 compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4";
137 model = "Odroid-U3";
/linux/net/sched/
H A Dact_ct.c102 if (memcmp(&target.src.u3, &tuple->src.u3, sizeof(target.src.u3))) in tcf_ct_flow_table_add_action_nat_ipv4()
106 be32_to_cpu(target.src.u3.ip)); in tcf_ct_flow_table_add_action_nat_ipv4()
107 if (memcmp(&target.dst.u3, &tuple->dst.u3, sizeof(target.dst.u3))) in tcf_ct_flow_table_add_action_nat_ipv4()
111 be32_to_cpu(target.dst.u3.ip)); in tcf_ct_flow_table_add_action_nat_ipv4()
132 if (memcmp(&target.src.u3, &tuple->src.u3, sizeo in tcf_ct_flow_table_add_action_nat_ipv6()
[all...]
/linux/arch/powerpc/sysdev/
H A Ddart_iommu.c13 * Dynamic DMA mapping support, Apple U3, U4 & IBM CPC925 "DART" iommu.
96 "time. Buggy U3 ?"); in dart_tlb_invalidate_all()
184 /* On U3, all memory is contiguous, so we can move this in dart_build()
319 dart_is_u4 ? "U4" : "U3"); in dart_init()
394 dn = of_find_compatible_node(NULL, "dart", "u3-dart"); in iommu_init_early_dart()
H A Dmpic_msi.c36 pr_debug("mpic: found U3, guessing msi allocator setup\n"); in mpic_msi_reserve_u3_hwirqs()
40 * This is a bit of a mix of U3 and U4 reserves but that's going in mpic_msi_reserve_u3_hwirqs()
/linux/drivers/char/agp/
H A Duninorth-agp.c132 /* Assume U3 or later on PPC64 systems */ in uninorth_configure()
250 * We need to set REQ_DEPTH to 7 for U3 versions 1.0, 2.1, in uninorth_agp_enable()
494 * Not sure that u3 supports that high aperture sizes but it
584 .chipset_name = "U3",
632 /* Locate G5 u3 */ in agp_uninorth_probe()
635 uninorth_node = of_find_node_by_name(NULL, "u3"); in agp_uninorth_probe()
727 MODULE_DESCRIPTION("Apple UniNorth & U3 AGP support");
/linux/Documentation/devicetree/bindings/
H A Dincomplete-devices.yaml139 - u3-agp
140 - u3-dart
141 - u3-ht
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-usb-lvstest39 Write to this node to issue "U3 entry" for Link Layer
46 Write to this node to issue "U3 exit" for Link Layer

12345