Home
last modified time | relevance | path

Searched refs:ip_dst (Results 1 – 25 of 117) sorted by relevance

12345

/f-stack/dpdk/app/test/
H A Dtest_acl.h13 uint32_t ip_dst; member
541 .ip_dst = RTE_IPV4(10,0,0,0),
559 .ip_dst = RTE_IPV4(5,6,7,254),
570 .ip_dst = RTE_IPV4(1,10,20,30),
580 .ip_dst = RTE_IPV4(5,6,7,8),
590 .ip_dst = RTE_IPV4(2,2,3,4),
600 .ip_dst = RTE_IPV4(1,2,3,4),
623 .ip_dst = RTE_IPV4(5,6,7,254),
642 .ip_dst = RTE_IPV4(5,6,7,8),
651 .ip_dst = RTE_IPV4(2,2,3,4),
[all …]
H A Dtest_table.c51 uint32_t ip_dst = rte_be_to_cpu_32(k32[0]); in pipeline_test_hash() local
52 uint64_t signature = ip_dst; in pipeline_test_hash()
62 uint32_t ip_dst = rte_be_to_cpu_32(k32[0]); in pipeline_test_hash_cuckoo() local
63 uint32_t signature = ip_dst; in pipeline_test_hash_cuckoo()
H A Dtest_efd.c29 uint32_t ip_dst; member
57 .ip_dst = RTE_IPV4(0x07, 0x06, 0x05, 0x04),
64 .ip_dst = RTE_IPV4(0x17, 0x16, 0x15, 0x14),
71 .ip_dst = RTE_IPV4(0x27, 0x26, 0x25, 0x24),
78 .ip_dst = RTE_IPV4(0x37, 0x36, 0x35, 0x34),
85 .ip_dst = RTE_IPV4(0x47, 0x46, 0x45, 0x44),
H A Dtest_member.c24 uint32_t ip_dst; member
45 .ip_dst = RTE_IPV4(0x07, 0x06, 0x05, 0x04),
52 .ip_dst = RTE_IPV4(0x17, 0x16, 0x15, 0x14),
59 .ip_dst = RTE_IPV4(0x27, 0x26, 0x25, 0x24),
66 .ip_dst = RTE_IPV4(0x37, 0x36, 0x35, 0x34),
73 .ip_dst = RTE_IPV4(0x47, 0x46, 0x45, 0x44),
/f-stack/freebsd/netinet/libalias/
H A Dalias.c325 pip->ip_dst = original_address; in IcmpAliasIn1()
394 pip->ip_dst = original_address; in IcmpAliasIn2()
586 ip->ip_dst = alias_address; in IcmpAliasOut2()
614 ip->ip_dst = alias_address; in IcmpAliasOut2()
684 pip->ip_dst = original_address; in ProtoAliasIn()
814 pip->ip_dst = original_address; in UdpAliasIn()
854 dest_address = pip->ip_dst; in UdpAliasOut()
1089 dest_address = pip->ip_dst; in TcpAliasOut()
1300 &pip->ip_dst, &fpip->ip_dst, 2); in LibAliasFragmentIn()
1301 fpip->ip_dst = pip->ip_dst; in LibAliasFragmentIn()
[all …]
H A Dalias_pptp.c485 lnk = FindPptpOutByPeerCallId(la, pip->ip_src, pip->ip_dst, gr->gh_call_id); in AliasHandlePptpGreOut()
509 lnk = FindPptpInByPeerCallId(la, pip->ip_src, pip->ip_dst, gr->gh_call_id); in AliasHandlePptpGreIn()
518 &src_addr, &pip->ip_dst, 2); in AliasHandlePptpGreIn()
519 pip->ip_dst = src_addr; in AliasHandlePptpGreIn()
/f-stack/dpdk/examples/l3fwd/
H A Dl3fwd_em.c46 uint32_t ip_dst; member
59 uint32_t ip_dst; member
69 uint8_t ip_dst[IPV6_ADDR_LEN]; member
82 uint8_t ip_dst[IPV6_ADDR_LEN]; member
182 ip_dst0 = (const uint32_t *) k->ip_dst; in ipv6_hash_crc()
200 init_val = rte_jhash(k->ip_dst, in ipv6_hash_crc()
320 key2->ip_dst = rte_cpu_to_be_32(key1->ip_dst); in convert_ipv4_5tuple()
336 key2->ip_dst[i] = key1->ip_dst[i]; in convert_ipv6_5tuple()
496 entry.key.ip_dst[13] = c; in populate_ipv6_many_flow_into_table()
497 entry.key.ip_dst[14] = b; in populate_ipv6_many_flow_into_table()
[all …]
/f-stack/freebsd/netinet/
H A Dip_fastfwd.c149 *addr = ip->ip_dst.s_addr; in ip_redir_alloc()
253 ntohl(ip->ip_dst.s_addr) == (u_long)INADDR_BROADCAST || in ip_tryforward()
255 IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) || in ip_tryforward()
257 IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr)) || in ip_tryforward()
259 ip->ip_dst.s_addr == INADDR_ANY ) in ip_tryforward()
265 if (in_localip(ip->ip_dst)) in ip_tryforward()
274 odest.s_addr = dest.s_addr = ip->ip_dst.s_addr; in ip_tryforward()
290 dest.s_addr = ip->ip_dst.s_addr; in ip_tryforward()
382 dest.s_addr = ip->ip_dst.s_addr; in ip_tryforward()
H A Din_gif.c96 (sc)->gif_iphdr->ip_dst.s_addr)
113 sc->gif_iphdr->ip_dst.s_addr == dst) in in_gif_checkdup()
120 tmp->gif_iphdr->ip_dst.s_addr == dst) in in_gif_checkdup()
236 ip->ip_dst.s_addr = dst->sin_addr.s_addr; in in_gif_ioctl()
261 sc->gif_iphdr->ip_src: sc->gif_iphdr->ip_dst; in in_gif_ioctl()
354 CK_LIST_FOREACH(sc, &GIF_HASH(ip->ip_dst.s_addr, in in_gif_lookup()
360 if (sc->gif_iphdr->ip_src.s_addr == ip->ip_dst.s_addr && in in_gif_lookup()
361 sc->gif_iphdr->ip_dst.s_addr == ip->ip_src.s_addr) { in in_gif_lookup()
371 if (sc->gif_iphdr->ip_src.s_addr == ip->ip_dst.s_addr) { in in_gif_lookup()
H A Dip_gre.c99 (sc)->gre_oip.ip_dst.s_addr)
134 sc->gre_oip.ip_dst.s_addr == dst && in in_gre_checkdup()
150 tmp->gre_oip.ip_dst.s_addr == dst) in in_gre_checkdup()
167 CK_LIST_FOREACH(sc, &GRE_HASH(ip->ip_dst.s_addr, in in_gre_lookup()
173 if (sc->gre_oip.ip_src.s_addr == ip->ip_dst.s_addr && in in_gre_lookup()
174 sc->gre_oip.ip_dst.s_addr == ip->ip_src.s_addr) { in in_gre_lookup()
249 if (sc->gre_oip.ip_dst.s_addr == dst) in in_gre_udp_input()
376 sc->gre_oip.ip_dst.s_addr, 0)); in in_gre_attach()
421 sc->gre_oip.ip_dst.s_addr, value) == EADDRNOTAVAIL) in in_gre_setopts()
489 ip->ip_dst.s_addr = dst->sin_addr.s_addr; in in_gre_ioctl()
[all …]
H A Dip_input.c510 if (IN_LOOPBACK(ntohl(ip->ip_dst.s_addr)) || in ip_input()
609 odst = ip->ip_dst; in ip_input()
617 dchg = (odst.s_addr != ip->ip_dst.s_addr); in ip_input()
722 ip->ip_dst.s_addr) { in ip_input()
740 if (IN_LINKLOCAL(ntohl(ip->ip_dst.s_addr))) { in ip_input()
745 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { in ip_input()
777 if (ip->ip_dst.s_addr == (u_long)INADDR_BROADCAST) in ip_input()
779 if (ip->ip_dst.s_addr == INADDR_ANY) in ip_input()
979 sin->sin_addr = ip->ip_dst; in ip_forward()
1059 dest.s_addr = ip->ip_dst.s_addr; in ip_forward()
[all …]
H A Dip_icmp.c431 inet_ntoa_r(ip->ip_dst, dstbuf), icmplen); in icmp_input()
541 if (IN_MULTICAST(ntohl(icp->icmp_ip.ip_dst.s_addr))) in icmp_input()
547 icmpsrc.sin_addr = icp->icmp_ip.ip_dst; in icmp_input()
618 switch (ip->ip_dst.s_addr) { in icmp_input()
625 icmpdst.sin_addr = ip->ip_dst; in icmp_input()
655 dst = ntohl(icp->icmp_ip.ip_dst.s_addr); in icmp_input()
694 inet_ntoa_r(icp->icmp_ip.ip_dst, dstbuf), in icmp_input()
698 icmpsrc.sin_addr = icp->icmp_ip.ip_dst; in icmp_input()
779 t = ip->ip_dst; in icmp_reflect()
780 ip->ip_dst = ip->ip_src; in icmp_reflect()
[all …]
H A Draw_ip.c305 ip->ip_dst.s_addr, V_ripcbinfo.ipi_hashmask); in rip_input()
314 if (inp->inp_laddr.s_addr != ip->ip_dst.s_addr) in rip_input()
336 if (prison_check_ip4(inp->inp_cred, &ip->ip_dst) != 0) in rip_input()
353 !in_hosteq(inp->inp_laddr, ip->ip_dst)) in rip_input()
377 if (!IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) && in rip_input()
388 IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { in rip_input()
410 group.sin_addr = ip->ip_dst; in rip_input()
489 ip->ip_dst.s_addr = dst; in rip_output()
495 ip->ip_dst, 0, 0, ip->ip_p, &hash_type); in rip_output()
509 error = in_pcbladdr(inp, &ip->ip_dst, in rip_output()
[all …]
H A Dip_options.c125 dst = ip->ip_dst; in ip_dooptions()
171 ipaddr.sin_addr = ip->ip_dst; in ip_dooptions()
215 inet_ntoa_r(ip->ip_dst, dstbuf)); in ip_dooptions()
266 ip->ip_dst = ipaddr.sin_addr; in ip_dooptions()
271 forward = !IN_MULTICAST(ntohl(ip->ip_dst.s_addr)); in ip_dooptions()
293 (void)memcpy(&ipaddr.sin_addr, &ip->ip_dst, in ip_dooptions()
520 ip->ip_dst = p->ipopt_dst; in ip_insertoptions()
H A Din_rss.c329 return rss_proto_software_hash_v4(ip->ip_src, ip->ip_dst, in rss_mbuf_software_hash_v4()
343 return rss_proto_software_hash_v4(ip->ip_src, ip->ip_dst, in rss_mbuf_software_hash_v4()
351 return rss_proto_software_hash_v4(ip->ip_src, ip->ip_dst, in rss_mbuf_software_hash_v4()
H A Dip_output.c129 odst.s_addr = ip->ip_dst.s_addr; in ip_output_pfil()
143 if (odst.s_addr != ip->ip_dst.s_addr) { in ip_output_pfil()
146 if (in_localip(ip->ip_dst)) { in ip_output_pfil()
168 dst->sin_addr = ip->ip_dst; in ip_output_pfil()
395 dst->sin_addr = ip->ip_dst; in ip_output()
415 dst->sin_addr.s_addr != ip->ip_dst.s_addr)) in ip_output()
433 ip->ip_dst.s_addr = INADDR_BROADCAST; in ip_output()
434 dst->sin_addr = ip->ip_dst; in ip_output()
455 } else if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) && in ip_output()
556 if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) { in ip_output()
[all …]
/f-stack/dpdk/app/test-pipeline/
H A Dpipeline_hash.c388 uint32_t ip_dst = rte_be_to_cpu_32(k32[0]); in test_hash() local
389 uint64_t signature = (ip_dst >> 2) | ((ip_dst & 0x3) << 30); in test_hash()
400 uint32_t ip_dst = rte_be_to_cpu_32(k32[0]); in test_hash_cuckoo() local
401 uint32_t signature = (ip_dst >> 2) | ((ip_dst & 0x3) << 30); in test_hash_cuckoo()
431 uint32_t ip_dst; in app_main_loop_rx_metadata() local
445 ip_dst = ip_hdr->dst_addr; in app_main_loop_rx_metadata()
448 k32[0] = ip_dst & 0xFFFFFF00; in app_main_loop_rx_metadata()
/f-stack/dpdk/app/test-acl/
H A Dmain.c139 uint32_t ip_dst; member
190 .offset = offsetof(struct ipv4_5tuple, ip_dst),
215 uint32_t ip_dst[IPV6_ADDR_U32]; member
276 .offset = offsetof(struct ipv6_5tuple, ip_dst[0]),
283 .offset = offsetof(struct ipv6_5tuple, ip_dst[1]),
290 .offset = offsetof(struct ipv6_5tuple, ip_dst[2]),
297 .offset = offsetof(struct ipv6_5tuple, ip_dst[3]),
372 GET_CB_FIELD(in[CB_TRC_DST_ADDR], v->ip_dst, 0, UINT32_MAX, 0); in parse_cb_ipv4_trace()
379 v->ip_dst = rte_cpu_to_be_32(v->ip_dst); in parse_cb_ipv4_trace()
460 rc = parse_cb_ipv6_addr_trace(in[CB_TRC_DST_ADDR], v->ip_dst); in parse_cb_ipv6_trace()
/f-stack/dpdk/examples/server_node_efd/server/
H A Dinit.c221 uint32_t ip_dst; in populate_efd_table() local
229 ip_dst = rte_cpu_to_be_32(i); in populate_efd_table()
231 (void *)&ip_dst, (efd_value_t)node_id); in populate_efd_table()
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64clat.c97 nat64_check_ip4(ip->ip_dst.s_addr) != 0 || in nat64clat_handle_ip4()
98 nat64_check_private_ip4(&cfg->base, ip->ip_dst.s_addr) != 0) in nat64clat_handle_ip4()
104 nat64_embed_ip4(&daddr, cfg->base.plat_plen, ip->ip_dst.s_addr); in nat64clat_handle_ip4()
H A Dnat64_translate.c190 dst4.sin_addr = ip4->ip_dst; in nat64_direct_output_one()
497 sum += ~ip->ip_dst.s_addr >> 16; in nat64_cksum_convert()
498 sum += ~ip->ip_dst.s_addr & 0xffff; in nat64_cksum_convert()
855 oip->ip_src = ip->ip_dst; in nat64_icmp_reflect()
856 oip->ip_dst = ip->ip_src; in nat64_icmp_reflect()
1058 nat64_check_ip4(ip.ip_dst.s_addr) != 0 || in nat64_icmp_translate()
1060 nat64_check_private_ip4(cfg, ip.ip_dst.s_addr) != 0) { in nat64_icmp_translate()
1062 ntohl(ip.ip_src.s_addr), ntohl(ip.ip_dst.s_addr)); in nat64_icmp_translate()
1539 ip.ip_dst.s_addr = aaddr; in nat64_handle_icmp6()
1596 if (ip.ip_dst.s_addr == 0) { in nat64_do_handle_ip6()
[all …]
/f-stack/dpdk/examples/server_node_efd/node/
H A Dnode.c223 uint32_t ip_dst; in populate_hash_table() local
233 ip_dst = rte_cpu_to_be_32(i); in populate_hash_table()
235 ret = rte_hash_add_key(h, (void *) &ip_dst); in populate_hash_table()
/f-stack/freebsd/net/
H A Dif_stf.c347 if (bcmp(GET_V4(&addr6), &ip.ip_dst, sizeof(ip.ip_dst)) != 0) in stf_encapcheck()
498 bcopy(&in4, &ip->ip_dst, sizeof(ip->ip_dst)); in stf_output()
642 if (stf_checkaddr4(sc, &ip->ip_dst, NULL) < 0 || in in_stf_input()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_tftp_pxy.c342 sw2ip = ip->ip_dst;
344 ip->ip_dst = nat->nat_nsrcip;
382 ip->ip_dst = nat->nat_nsrcip;
394 ip->ip_dst = nat->nat_osrcip;
409 ip->ip_dst = sw2ip;
H A Dip_raudio_pxy.c275 swb = ip->ip_dst;
279 ip->ip_dst = nat->nat_odstip;
343 ip->ip_dst = swb;

12345