Home
last modified time | relevance | path

Searched refs:u3 (Results 1 – 25 of 57) sorted by relevance

123

/linux-6.15/include/net/netfilter/
H A Dnf_conntrack_tuple.h30 union nf_inet_addr u3; member
42 union nf_inet_addr u3; member
80 union nf_inet_addr u3; member
90 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip()
91 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip()
100 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6()
130 return (nf_inet_addr_cmp(&t1->src.u3, &t2->src.u3) && in __nf_ct_tuple_src_equal()
138 return (nf_inet_addr_cmp(&t1->dst.u3, &t2->dst.u3) && in __nf_ct_tuple_dst_equal()
154 return (nf_inet_addr_cmp(&m1->src.u3, &m2->src.u3) && in nf_ct_tuple_mask_equal()
166 if ((t1->src.u3.all[count] ^ t2->src.u3.all[count]) & in nf_ct_tuple_src_mask_cmp()
[all …]
/linux-6.15/net/ipv4/netfilter/
H A Dnf_nat_h323.c123 tuple.dst.u3, in set_sig_addr()
135 tuple.src.u3, in set_sig_addr()
309 &exp->tuple.src.u3.ip, in nat_t120()
311 &exp->tuple.dst.u3.ip, in nat_t120()
356 &exp->tuple.src.u3.ip, in nat_h245()
358 &exp->tuple.dst.u3.ip, in nat_h245()
448 &exp->tuple.src.u3.ip, in nat_q931()
450 &exp->tuple.dst.u3.ip, in nat_q931()
491 exp->tuple.dst.u3.ip = ct->tuplehash[!dir].tuple.dst.u3.ip; in nat_callforwarding()
512 &exp->tuple.src.u3.ip, in nat_callforwarding()
[all …]
H A 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()
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-6.15/net/netfilter/
H A Dnf_nat_sip.c109 newaddr = ct->tuplehash[!dir].tuple.dst.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()
216 &ct->tuplehash[!dir].tuple.dst.u3, in nf_nat_sip()
233 &ct->tuplehash[!dir].tuple.src.u3, in nf_nat_sip()
393 newaddr = exp->tuple.dst.u3; in nf_nat_sip_expect()
407 exp->saved_addr = exp->tuple.dst.u3; in nf_nat_sip_expect()
408 exp->tuple.dst.u3 = newaddr; in nf_nat_sip_expect()
576 *rtp_addr = rtp_exp->tuple.dst.u3; in nf_nat_sdp_media()
581 rtp_exp->tuple.dst.u3 = *rtp_addr; in nf_nat_sdp_media()
[all …]
H A Dnf_conntrack_ftp.c442 memcpy(cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help()
443 sizeof(cmd.u3.all)); in help()
484 daddr = &ct->tuplehash[!dir].tuple.dst.u3; in help()
488 memcmp(&cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help()
489 sizeof(cmd.u3.all))) { in help()
496 &cmd.u3.ip, in help()
497 &ct->tuplehash[dir].tuple.src.u3.ip); in help()
500 cmd.u3.ip6, in help()
501 ct->tuplehash[dir].tuple.src.u3.ip6); in help()
512 daddr = &cmd.u3; in help()
[all …]
H A Dnf_conntrack_h323_main.c234 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp()
235 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
244 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp()
245 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
250 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
303 &ct->tuplehash[!dir].tuple.src.u3, in expect_t120()
304 &ct->tuplehash[!dir].tuple.dst.u3, in expect_t120()
310 &ct->tuplehash[!dir].tuple.dst.u3, in expect_t120()
642 &ct->tuplehash[!dir].tuple.src.u3, in expect_h245()
1191 memset(&tuple.src.u3, 0, sizeof(tuple.src.u3)); in find_expect()
[all …]
H A Dnf_conntrack_expect.c97 combined.dst_addr = tuple->dst.u3; in nf_ct_expect_dst_hash()
258 intersect_mask.src.u3.all[count] = in expect_clash()
259 a->mask.src.u3.all[count] & b->mask.src.u3.all[count]; in expect_clash()
333 memcpy(&exp->tuple.src.u3, saddr, len); in nf_ct_expect_init()
334 if (sizeof(exp->tuple.src.u3) > len) in nf_ct_expect_init()
338 memset(&exp->mask.src.u3, 0xFF, len); in nf_ct_expect_init()
339 if (sizeof(exp->mask.src.u3) > len) in nf_ct_expect_init()
343 memset(&exp->tuple.src.u3, 0x00, sizeof(exp->tuple.src.u3)); in nf_ct_expect_init()
344 memset(&exp->mask.src.u3, 0x00, sizeof(exp->mask.src.u3)); in nf_ct_expect_init()
355 memcpy(&exp->tuple.dst.u3, daddr, len); in nf_ct_expect_init()
[all …]
H A Dnf_conntrack_proto_gre.c62 !memcmp(&km->tuple.src.u3, &t->src.u3, sizeof(t->src.u3)) && in gre_key_cmpfn()
63 !memcmp(&km->tuple.dst.u3, &t->dst.u3, sizeof(t->dst.u3)) && in gre_key_cmpfn()
H A Dnf_nat_proto.c373 iph->saddr = target->src.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()
777 if (ct->tuplehash[dir].tuple.src.u3.ip != in nf_nat_ipv4_out()
808 if (ct->tuplehash[dir].tuple.dst.u3.ip != in nf_nat_ipv4_local_fn()
[all …]
H A Dnf_conntrack_netlink.c1098 filter_tuple->src.u3.ip != ct_tuple->src.u3.ip) in ctnetlink_filter_match_tuple()
1102 filter_tuple->dst.u3.ip != ct_tuple->dst.u3.ip) in ctnetlink_filter_match_tuple()
2262 u8 u3) in ctnetlink_create_conntrack() argument
2975 memcpy(&m.src.u3, &mask->src.u3, sizeof(m.src.u3)); in ctnetlink_exp_dump_mask()
3293 u3, NULL); in ctnetlink_dump_exp_ct()
3500 u_int8_t u3) in ctnetlink_parse_expect_nat() argument
3517 u3, NULL); in ctnetlink_parse_expect_nat()
3578 exp->mask.src.u3 = mask->src.u3; in ctnetlink_alloc_expect()
3608 u3, NULL); in ctnetlink_create_expect()
3612 u3, NULL); in ctnetlink_create_expect()
[all …]
H A Dnf_nat_core.c68 fl4->daddr = t->dst.u3.ip; in nf_nat_ipv4_decode_session()
80 fl4->saddr = t->src.u3.ip; in nf_nat_ipv4_decode_session()
101 fl6->daddr = t->dst.u3.in6; in nf_nat_ipv6_decode_session()
113 fl6->saddr = t->src.u3.in6; in nf_nat_ipv6_decode_session()
471 nf_inet_addr_cmp(&t->src.u3, &tuple->src.u3) && in same_src()
526 var_ipp = &tuple->src.u3; in find_best_ips_proto()
528 var_ipp = &tuple->dst.u3; in find_best_ips_proto()
548 j = jhash2((u32 *)&tuple->src.u3, sizeof(tuple->src.u3) / sizeof(u32), in find_best_ips_proto()
572 j ^= (__force u32)tuple->dst.u3.all[i]; in find_best_ips_proto()
860 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3 : in __nf_nat_alloc_null_binding()
[all …]
H A Dnf_conntrack_irc.c219 if ((tuple->src.u3.ip != dcc_ip && in help()
220 ct->tuplehash[!dir].tuple.dst.u3.ip != dcc_ip) || in help()
223 &tuple->src.u3.ip, in help()
239 NULL, &tuple->dst.u3, in help()
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 Dnft_ct.c181 memcpy(dest, tuple->src.u3.all, in nft_ct_get_eval()
185 memcpy(dest, tuple->dst.u3.all, 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()
439 src.u3.ip); in nft_ct_get_init()
444 src.u3.ip6); in nft_ct_get_init()
455 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init()
1350 &ct->tuplehash[!dir].tuple.src.u3, in nft_ct_expect_obj_eval()
[all …]
H A Dnf_conntrack_proto.c277 tuple.src.u3.ip = inet->inet_rcv_saddr; in getorigdst()
279 tuple.dst.u3.ip = inet->inet_daddr; in getorigdst()
302 .tuple.dst.u3.ip; in getorigdst()
336 tuple.src.u3.in6 = sk->sk_v6_rcv_saddr; in ipv6_getorigdst()
338 tuple.dst.u3.in6 = sk->sk_v6_daddr; in ipv6_getorigdst()
362 &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3.in6, in ipv6_getorigdst()
H A Dnf_conntrack_tftp.c72 &tuple->src.u3, &tuple->dst.u3, in tftp_help()
H A Dxt_cluster.c18 return (__force u32)ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip; in nf_ct_orig_ipv4_src()
23 return (__force u32 *)ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip6; in nf_ct_orig_ipv6_src()
H A Dnf_conntrack_bpf.c71 union nf_inet_addr *src = dir ? &tuple->dst.u3 : &tuple->src.u3; in bpf_nf_ct_tuple_parse()
72 union nf_inet_addr *dst = dir ? &tuple->src.u3 : &tuple->dst.u3; in bpf_nf_ct_tuple_parse()
H A Dnf_conntrack_sane.c153 &tuple->src.u3, &tuple->dst.u3, in help()
H A Dnft_flow_offload.c55 const void *daddr = &ct->tuplehash[!dir].tuple.src.u3; in nft_dev_fill_forward_path()
235 fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip; in nft_flow_route()
236 fl.u.ip4.saddr = ct->tuplehash[!dir].tuple.src.u3.ip; in nft_flow_route()
244 fl.u.ip6.daddr = ct->tuplehash[dir].tuple.src.u3.in6; in nft_flow_route()
245 fl.u.ip6.saddr = ct->tuplehash[!dir].tuple.src.u3.in6; in nft_flow_route()
/linux-6.15/net/netfilter/ipvs/
H A 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-6.15/net/sched/
H A Dact_ct.c100 if (memcmp(&target.src.u3, &tuple->src.u3, sizeof(target.src.u3))) in tcf_ct_flow_table_add_action_nat_ipv4()
104 be32_to_cpu(target.src.u3.ip)); in tcf_ct_flow_table_add_action_nat_ipv4()
105 if (memcmp(&target.dst.u3, &tuple->dst.u3, sizeof(target.dst.u3))) in tcf_ct_flow_table_add_action_nat_ipv4()
109 be32_to_cpu(target.dst.u3.ip)); in tcf_ct_flow_table_add_action_nat_ipv4()
130 if (memcmp(&target.src.u3, &tuple->src.u3, sizeof(target.src.u3))) in tcf_ct_flow_table_add_action_nat_ipv6()
131 tcf_ct_add_ipv6_addr_mangle_action(action, &target.src.u3, in tcf_ct_flow_table_add_action_nat_ipv6()
134 if (memcmp(&target.dst.u3, &tuple->dst.u3, sizeof(target.dst.u3))) in tcf_ct_flow_table_add_action_nat_ipv6()
135 tcf_ct_add_ipv6_addr_mangle_action(action, &target.dst.u3, in tcf_ct_flow_table_add_action_nat_ipv6()
/linux-6.15/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
/linux-6.15/arch/arm64/boot/dts/xilinx/
H A Dzynqmp-zcu111-revA.dts105 ina226-u3 {
107 io-channels = <&u3 0>, <&u3 1>, <&u3 2>, <&u3 3>;
308 u3: ina226@4a { /* u3 */ label
311 label = "ina226-u3";

123