/Linux-v4.19/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 30 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-v4.19/net/ipv4/netfilter/ |
D | nf_nat_h323.c | 106 if (addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_sig_addr() 119 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_sig_addr() 124 tuple.dst.u3, in set_sig_addr() 126 } else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip && in set_sig_addr() 131 &ct->tuplehash[!dir].tuple.src.u3.ip, in set_sig_addr() 136 tuple.src.u3, in set_sig_addr() 158 addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_ras_addr() 162 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_ras_addr() 165 &ct->tuplehash[!dir].tuple.dst.u3, in set_ras_addr() 253 &ct->tuplehash[!dir].tuple.dst.u3, in nat_rtp_rtcp() [all …]
|
D | nf_nat_l3proto_ipv4.c | 42 fl4->daddr = t->dst.u3.ip; in nf_nat_ipv4_decode_session() 54 fl4->saddr = t->src.u3.ip; in nf_nat_ipv4_decode_session() 68 return ntohl(t->src.u3.ip) >= ntohl(range->min_addr.ip) && in nf_nat_ipv4_in_range() 69 ntohl(t->src.u3.ip) <= ntohl(range->max_addr.ip); in nf_nat_ipv4_in_range() 75 return secure_ipv4_port_ephemeral(t->src.u3.ip, t->dst.u3.ip, dport); in nf_nat_ipv4_secure_port() 99 csum_replace4(&iph->check, iph->saddr, target->src.u3.ip); in nf_nat_ipv4_manip_pkt() 100 iph->saddr = target->src.u3.ip; in nf_nat_ipv4_manip_pkt() 102 csum_replace4(&iph->check, iph->daddr, target->dst.u3.ip); in nf_nat_ipv4_manip_pkt() 103 iph->daddr = target->dst.u3.ip; in nf_nat_ipv4_manip_pkt() 118 newip = t->src.u3.ip; in nf_nat_ipv4_csum_update() [all …]
|
D | nf_nat_pptp.c | 66 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected() 68 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected() 75 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected() 77 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected() 99 = ct->master->tuplehash[!exp->dir].tuple.dst.u3; in pptp_nat_expected() 109 = ct->master->tuplehash[!exp->dir].tuple.src.u3; in pptp_nat_expected()
|
D | nf_nat_snmp_basic_main.c | 140 ctx.from = ct->tuplehash[dir].tuple.src.u3.ip; in snmp_translate() 141 ctx.to = ct->tuplehash[!dir].tuple.dst.u3.ip; in snmp_translate() 143 ctx.from = ct->tuplehash[!dir].tuple.src.u3.ip; in snmp_translate() 144 ctx.to = ct->tuplehash[dir].tuple.dst.u3.ip; in snmp_translate()
|
/Linux-v4.19/net/netfilter/ |
D | nf_nat_sip.c | 105 if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, addr) && in map_addr() 107 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr() 109 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr() 111 newaddr = ct->tuplehash[!dir].tuple.src.u3; in map_addr() 187 &ct->tuplehash[dir].tuple.src.u3) || in nf_nat_sip() 192 &ct->tuplehash[dir].tuple.dst.u3) || in nf_nat_sip() 211 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.src.u3) && in nf_nat_sip() 212 !nf_inet_addr_cmp(&addr, &ct->tuplehash[!dir].tuple.dst.u3)) { in nf_nat_sip() 214 &ct->tuplehash[!dir].tuple.dst.u3, in nf_nat_sip() 228 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.dst.u3) && in nf_nat_sip() [all …]
|
D | nf_conntrack_expect.c | 88 hash = jhash2(tuple->dst.u3.all, ARRAY_SIZE(tuple->dst.u3.all), in nf_ct_expect_dst_hash() 243 intersect_mask.src.u3.all[count] = in expect_clash() 244 a->mask.src.u3.all[count] & b->mask.src.u3.all[count]; in expect_clash() 309 memcpy(&exp->tuple.src.u3, saddr, len); in nf_ct_expect_init() 310 if (sizeof(exp->tuple.src.u3) > len) in nf_ct_expect_init() 312 memset((void *)&exp->tuple.src.u3 + len, 0x00, in nf_ct_expect_init() 313 sizeof(exp->tuple.src.u3) - len); in nf_ct_expect_init() 314 memset(&exp->mask.src.u3, 0xFF, len); in nf_ct_expect_init() 315 if (sizeof(exp->mask.src.u3) > len) in nf_ct_expect_init() 316 memset((void *)&exp->mask.src.u3 + len, 0x00, in nf_ct_expect_init() [all …]
|
D | nf_conntrack_ftp.c | 166 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) | in try_rfc959() 258 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) in try_eprt() 263 (struct in6_addr *)cmd->u3.ip6, delim); in try_eprt() 444 memcpy(cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help() 445 sizeof(cmd.u3.all)); in help() 486 daddr = &ct->tuplehash[!dir].tuple.dst.u3; in help() 490 memcmp(&cmd.u3.all, &ct->tuplehash[dir].tuple.src.u3.all, in help() 491 sizeof(cmd.u3.all))) { in help() 498 &cmd.u3.ip, in help() 499 &ct->tuplehash[dir].tuple.src.u3.ip); in help() [all …]
|
D | nf_conntrack_h323_main.c | 273 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_rtp_rtcp() 285 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp() 286 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp() 295 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp() 296 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp() 299 if (memcmp(&ct->tuplehash[dir].tuple.src.u3, in expect_rtp_rtcp() 300 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp() 301 sizeof(ct->tuplehash[dir].tuple.src.u3)) && in expect_rtp_rtcp() 345 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_t120() 353 &ct->tuplehash[!dir].tuple.src.u3, in expect_t120() [all …]
|
D | nf_conntrack_netlink.c | 86 if (nla_put_in_addr(skb, CTA_IP_V4_SRC, tuple->src.u3.ip) || in ipv4_tuple_to_nlattr() 87 nla_put_in_addr(skb, CTA_IP_V4_DST, tuple->dst.u3.ip)) in ipv4_tuple_to_nlattr() 95 if (nla_put_in6_addr(skb, CTA_IP_V6_SRC, &tuple->src.u3.in6) || in ipv6_tuple_to_nlattr() 96 nla_put_in6_addr(skb, CTA_IP_V6_DST, &tuple->dst.u3.in6)) in ipv6_tuple_to_nlattr() 985 t->src.u3.ip = nla_get_in_addr(tb[CTA_IP_V4_SRC]); in ipv4_nlattr_to_tuple() 986 t->dst.u3.ip = nla_get_in_addr(tb[CTA_IP_V4_DST]); in ipv4_nlattr_to_tuple() 997 t->src.u3.in6 = nla_get_in6_addr(tb[CTA_IP_V6_SRC]); in ipv6_nlattr_to_tuple() 998 t->dst.u3.in6 = nla_get_in6_addr(tb[CTA_IP_V6_DST]); in ipv6_nlattr_to_tuple() 1243 u_int8_t u3 = nfmsg->nfgen_family; in ctnetlink_del_conntrack() local 1253 u3, &zone); in ctnetlink_del_conntrack() [all …]
|
D | nf_conntrack_proto_gre.c | 87 !memcmp(&km->tuple.src.u3, &t->src.u3, sizeof(t->src.u3)) && in gre_key_cmpfn() 88 !memcmp(&km->tuple.dst.u3, &t->dst.u3, sizeof(t->dst.u3)) && in gre_key_cmpfn()
|
D | nf_conntrack_irc.c | 190 if (tuple->src.u3.ip != dcc_ip && in help() 191 tuple->dst.u3.ip != dcc_ip) { in help() 193 &tuple->src.u3.ip, in help() 209 NULL, &tuple->dst.u3, in help()
|
D | nf_conntrack_core.c | 201 n = (sizeof(tuple->src) + sizeof(tuple->dst.u3)) / sizeof(u32); in hash_conntrack_raw() 265 tuple->src.u3.ip = ap[0]; in nf_ct_get_tuple() 266 tuple->dst.u3.ip = ap[1]; in nf_ct_get_tuple() 269 memcpy(tuple->src.u3.ip6, ap, sizeof(tuple->src.u3.ip6)); in nf_ct_get_tuple() 270 memcpy(tuple->dst.u3.ip6, ap + 4, sizeof(tuple->dst.u3.ip6)); in nf_ct_get_tuple() 403 inverse->src.u3.ip = orig->dst.u3.ip; in nf_ct_invert_tuple() 404 inverse->dst.u3.ip = orig->src.u3.ip; in nf_ct_invert_tuple() 407 inverse->src.u3.in6 = orig->dst.u3.in6; in nf_ct_invert_tuple() 408 inverse->dst.u3.in6 = orig->src.u3.in6; in nf_ct_invert_tuple() 1762 memcpy(tuple.src.u3.all, in nf_conntrack_update() [all …]
|
D | nf_conntrack_proto.c | 540 tuple.src.u3.ip = inet->inet_rcv_saddr; in getorigdst() 542 tuple.dst.u3.ip = inet->inet_daddr; in getorigdst() 570 .tuple.dst.u3.ip; in getorigdst() 582 &tuple.src.u3.ip, ntohs(tuple.src.u.tcp.port), in getorigdst() 583 &tuple.dst.u3.ip, ntohs(tuple.dst.u.tcp.port)); in getorigdst() 609 tuple.src.u3.in6 = sk->sk_v6_rcv_saddr; in ipv6_getorigdst() 611 tuple.dst.u3.in6 = sk->sk_v6_daddr; in ipv6_getorigdst() 628 &tuple.src.u3.ip6, ntohs(tuple.src.u.tcp.port), in ipv6_getorigdst() 629 &tuple.dst.u3.ip6, ntohs(tuple.dst.u.tcp.port)); in ipv6_getorigdst() 639 &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3.in6, in ipv6_getorigdst()
|
D | xt_conntrack.c | 47 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, in conntrack_mt_origsrc() 56 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3, in conntrack_mt_origdst() 65 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3, in conntrack_mt_replsrc() 74 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst()
|
D | nf_nat_core.c | 206 nf_inet_addr_cmp(&t->src.u3, &tuple->src.u3) && in same_src() 263 var_ipp = &tuple->src.u3; in find_best_ips_proto() 265 var_ipp = &tuple->dst.u3; in find_best_ips_proto() 285 j = jhash2((u32 *)&tuple->src.u3, sizeof(tuple->src.u3) / sizeof(u32), in find_best_ips_proto() 287 0 : (__force u32)tuple->dst.u3.all[max] ^ zone->id); in find_best_ips_proto() 309 j ^= (__force u32)tuple->dst.u3.all[i]; in find_best_ips_proto() 482 ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3 : in __nf_nat_alloc_null_binding() 483 ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3); in __nf_nat_alloc_null_binding()
|
D | nft_ct.c | 188 memcpy(dest, tuple->src.u3.all, in nft_ct_get_eval() 192 memcpy(dest, tuple->dst.u3.all, in nft_ct_get_eval() 204 *dest = tuple->src.u3.ip; in nft_ct_get_eval() 209 *dest = tuple->dst.u3.ip; in nft_ct_get_eval() 214 memcpy(dest, tuple->src.u3.ip6, sizeof(struct in6_addr)); in nft_ct_get_eval() 219 memcpy(dest, tuple->dst.u3.ip6, sizeof(struct in6_addr)); in nft_ct_get_eval() 433 src.u3.ip); in nft_ct_get_init() 438 src.u3.ip6); in nft_ct_get_init() 449 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init() 456 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init()
|
D | nf_conntrack_tftp.c | 72 &tuple->src.u3, &tuple->dst.u3, in tftp_help()
|
D | xt_cluster.c | 21 return (__force u32)ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip; in nf_ct_orig_ipv4_src() 26 return (__force u32 *)ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip6; in nf_ct_orig_ipv6_src()
|
D | nf_conntrack_sane.c | 150 &tuple->src.u3, &tuple->dst.u3, in help()
|
/Linux-v4.19/net/netfilter/ipvs/ |
D | ip_vs_nfct.c | 71 #define ARG_TUPLE(T) IP_VS_DBG_ADDR((T)->src.l3num, &(T)->src.u3), \ 73 IP_VS_DBG_ADDR((T)->src.l3num, &(T)->dst.u3), \ 125 new_tuple.src.u3 = cp->daddr; in ip_vs_update_conntrack() 130 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack() 175 &orig->src.u3, orig->src.u.tcp.port, in ip_vs_nfct_expect_callback() 176 &orig->dst.u3, orig->dst.u.tcp.port, &p); in ip_vs_nfct_expect_callback() 187 new_reply.dst.u3 = cp->vaddr; in ip_vs_nfct_expect_callback() 203 new_reply.src.u3 = cp->daddr; in ip_vs_nfct_expect_callback() 269 tuple.src.u3 = cp->caddr; in ip_vs_conn_drop_conntrack() 272 tuple.dst.u3 = cp->vaddr; in ip_vs_conn_drop_conntrack()
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | nf_nat_l3proto_ipv6.c | 41 fl6->daddr = t->dst.u3.in6; in nf_nat_ipv6_decode_session() 53 fl6->saddr = t->src.u3.in6; in nf_nat_ipv6_decode_session() 67 return ipv6_addr_cmp(&t->src.u3.in6, &range->min_addr.in6) >= 0 && in nf_nat_ipv6_in_range() 68 ipv6_addr_cmp(&t->src.u3.in6, &range->max_addr.in6) <= 0; in nf_nat_ipv6_in_range() 74 return secure_ipv6_port_ephemeral(t->src.u3.ip6, t->dst.u3.ip6, dport); in nf_nat_ipv6_secure_port() 108 ipv6h->saddr = target->src.u3.in6; in nf_nat_ipv6_manip_pkt() 110 ipv6h->daddr = target->dst.u3.in6; in nf_nat_ipv6_manip_pkt() 125 newip = &t->src.u3.in6; in nf_nat_ipv6_csum_update() 128 newip = &t->dst.u3.in6; in nf_nat_ipv6_csum_update() 325 if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, in nf_nat_ipv6_out() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/phy/ |
D | phy-mtk-tphy.txt | 113 u3 port0 0x0900 U3PHYD 118 u3 port1 0x1100 U3PHYD 130 u3 port0 0x0700 SPLLC 139 u3 port1 0x1700 SPLLC 148 SPLLC shared by u3 ports and FMREG shared by u2 ports on 150 u2 ports and CHIP for u3 ports are added on mt2712.
|
/Linux-v4.19/arch/ia64/include/asm/sn/ |
D | ioc3.h | 25 } u3; member 46 #define iu_iir u3.iir 47 #define iu_fcr u3.fcr
|
/Linux-v4.19/arch/x86/crypto/ |
D | poly1305-avx2-x86_64.S | 39 #define u3 0x0c(%r8) macro 133 # combine r3,u3,w3,y3 and s3=r3*5,v3=u3*5,x3=w3*5,z3=y3*5 137 vmovd u3,t1x 284 # t1 = [ hc0[3] * r3, hc0[2] * u3, hc0[1] * w3, hc0[0] * y3 ] 307 # t1 += [ hc1[3] * r3, hc1[2] * u3, hc1[1] * w3, hc1[0] * y3 ]
|