Home
last modified time | relevance | path

Searched refs:ip6_dst (Results 1 – 25 of 411) sorted by relevance

12345678910>>...17

/dports/security/snort3/snort3-3.1.19.0/src/codecs/ip/
H A Dcd_ipv6.cc316 if ((ip6h->ip6_dst.u6_addr16[1] != 0) || in CheckIPV6Multicast()
317 (ip6h->ip6_dst.u6_addr16[2] != 0) || in CheckIPV6Multicast()
318 (ip6h->ip6_dst.u6_addr16[3] != 0) || in CheckIPV6Multicast()
319 (ip6h->ip6_dst.u6_addr16[4] != 0) || in CheckIPV6Multicast()
320 (ip6h->ip6_dst.u6_addr8[10] != 0)) in CheckIPV6Multicast()
514 if ((hdr->ip6_dst.u6_addr8[0] == 0x20) && in CheckTeredoPrefix()
515 (hdr->ip6_dst.u6_addr8[1] == 0x01) && in CheckTeredoPrefix()
516 (hdr->ip6_dst.u6_addr8[2] == 0x00) && in CheckTeredoPrefix()
517 (hdr->ip6_dst.u6_addr8[3] == 0x00)) in CheckTeredoPrefix()
528 (hdr->ip6_dst.u6_addr8[7] == 0x00)) in CheckTeredoPrefix()
[all …]
/dports/sysutils/plasma5-libksysguard/libksysguard-5.23.5/processcore/plugins/network/helper/
H A DPacket.cpp118 …u8Tou32(header->ip6_dst.s6_addr[0], header->ip6_dst.s6_addr[1], header->ip6_dst.s6_addr[2], header… in parseIPv6()
119 …u8Tou32(header->ip6_dst.s6_addr[4], header->ip6_dst.s6_addr[5], header->ip6_dst.s6_addr[6], header… in parseIPv6()
120 …u8Tou32(header->ip6_dst.s6_addr[8], header->ip6_dst.s6_addr[9], header->ip6_dst.s6_addr[10], heade… in parseIPv6()
121 …u8Tou32(header->ip6_dst.s6_addr[12], header->ip6_dst.s6_addr[13], header->ip6_dst.s6_addr[14], hea… in parseIPv6()
/dports/net/miredo/miredo-1.2.6/libteredo/
H A Dserver.c121 ra.ip6.ip6_dst = *dest_ip6; in SendRA()
215 dst.sin6_addr = p->ip6_dst; in teredo_send_ipv6()
324 &ip6->ip6_src, &ip6->ip6_dst); in teredo_process_packet()
333 &ip6->ip6_src, &ip6->ip6_dst); in teredo_process_packet()
379 &ip6->ip6_dst); in teredo_process_packet()
397 &ip6->ip6_src, &ip6->ip6_dst); in teredo_process_packet()
402 &ip6->ip6_src, &ip6->ip6_dst); in teredo_process_packet()
410 if (!IN6_IS_ADDR_GLOBAL (&ip6->ip6_dst)) in teredo_process_packet()
413 &ip6->ip6_src, &ip6->ip6_dst); in teredo_process_packet()
435 &ip6->ip6_src, &ip6->ip6_dst); in teredo_process_packet()
[all …]
H A Dpackets.c103 const struct in6_addr *me = &ip6->ip6_dst, *it = &ip6->ip6_src; in CheckBubble()
144 rs.ip6.ip6_dst = in6addr_allrouters; in teredo_send_rs()
168 if (!IN6_ARE_ADDR_EQUAL (&ip6->ip6_dst, in teredo_parse_ra()
289 ping.ip6.ip6_dst = *dst; in SendPing()
299 &ping.ip6.ip6_dst, (uint8_t *)&ping.icmp6.icmp6_id); in SendPing()
319 const struct in6_addr *me = &ip6->ip6_dst, *it = &ip6->ip6_src; in CheckPing()
374 if (!IN6_ARE_ADDR_EQUAL (&ip6->ip6_dst, it)) in CheckPing()
378 it = &ip6->ip6_dst; in CheckPing()
410 if (IN6_IS_ADDR_MULTICAST (&in->ip6_dst)) in BuildICMPv6Error()
452 out->ip6_dst = in->ip6_src;
H A Dmire.c90 buf = ip6->ip6_dst; in process_icmpv6()
91 ip6->ip6_dst = ip6->ip6_src; in process_icmpv6()
135 ip6.ip6_src = in->ip6_dst; in process_unknown()
136 ip6.ip6_dst = in->ip6_src; in process_unknown()
143 icmp6.icmp6_cksum = teredo_cksum (&ip6.ip6_src, &ip6.ip6_dst, in process_unknown()
/dports/security/snort3/snort3-3.1.19.0/src/protocols/
H A Dipv6.h69 snort_in6_addr ip6_dst; /* destination address */ member
101 { return &ip6_dst; } in get_dst()
104 { return static_cast<MulticastScope>(ip6_dst.u6_addr8[1] & 0x0F); } in get_dst_multicast_scope()
111 { return ip6_dst.u6_addr8[0] == IP6_MULTICAST; } in is_dst_multicast()
114 { return static_cast<MulticastScope>(ip6_dst.u6_addr8[1]) == MulticastScope::RESERVED; } in is_dst_multicast_scope_reserved()
117 { return static_cast<MulticastScope>(ip6_dst.u6_addr8[1]) == MulticastScope::INTERFACE; } in is_dst_multicast_scope_interface()
120 { return static_cast<MulticastScope>(ip6_dst.u6_addr8[1]) == MulticastScope::LINK; } in is_dst_multicast_scope_link()
123 { return (static_cast<MulticastScope>(ip6_dst.u6_addr8[1]) == MulticastScope::SITE); } in is_dst_multicast_scope_site()
126 { return (static_cast<MulticastScope>(ip6_dst.u6_addr8[1]) == MulticastScope::GLOBAL); } in is_dst_multicast_scope_global()
/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet6/
H A Droute6.c181 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) ||
182 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_dst) ||
183 IN6_IS_ADDR_V4MAPPED(&ip6->ip6_dst) ||
184 IN6_IS_ADDR_V4COMPAT(&ip6->ip6_dst)) {
205 *nextaddr = ip6->ip6_dst;
207 ip6->ip6_dst = tmpaddr;
H A Dip6_forward.c108 IN6_PRINT(dbuf, &ip6->ip6_dst), dstifp ? if_name(dstifp) : "?", in ip6_cantforward()
159 IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) || in ip6_forward()
163 IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) ? "mcast/dst" : in ip6_forward()
212 sockaddr_in6_init(&u.dst6, &ip6->ip6_dst, 0, 0, 0); in ip6_forward()
282 dst_in6 = ip6->ip6_dst; in ip6_forward()
289 in6_getscopename(&ip6->ip6_dst), inzone, outzone); in ip6_forward()
374 ip6_sprintf(&ip6->ip6_dst), in ip6_forward()
389 in6_clearscope(&ip6->ip6_dst); in ip6_forward()
H A Din6_cksum.c53 struct in6_addr ip6_dst; in in6_cksum() member
95 in6_dst = &ip6->ip6_dst; in in6_cksum()
100 in6_dst = &u.addrs.ip6_dst; in in6_cksum()
H A Dip6_input.c345 odst = ip6->ip6_dst; in ip6_input()
367 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_dst)) { in ip6_input()
388 IN6_IS_ADDR_V4MAPPED(&ip6->ip6_dst)) { in ip6_input()
402 IN6_IS_ADDR_V4COMPAT(&ip6->ip6_dst)) { in ip6_input()
428 in6_setscope(&ip6->ip6_dst, rcvif, NULL)) { in ip6_input()
436 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { in ip6_input()
444 IN6_LOOKUP_MULTI(ip6->ip6_dst, rcvif, in6m); in ip6_input()
508 ip6_sprintf(&ip6->ip6_dst)); in ip6_input()
657 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { in ip6_input()
692 IN6_IS_ADDR_V4MAPPED(&ip6->ip6_dst)) { in ip6_input()
[all …]
H A Dip6_flow.c146 dst_sum = ip6->ip6_dst.s6_addr32[0] + ip6->ip6_dst.s6_addr32[1] in ip6flow_hash()
147 + ip6->ip6_dst.s6_addr32[2] + ip6->ip6_dst.s6_addr32[3]; in ip6flow_hash()
171 if (IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &ip6f->ip6f_dst) in ip6flow_lookup()
579 ip6f->ip6f_dst = ip6->ip6_dst; in ip6flow_create()
H A Dip6_mroute.c1061 IN6_IS_ADDR_MC_LINKLOCAL(&ip6->ip6_dst)) in ip6_mforward()
1080 ip6_sprintf(&ip6->ip6_dst), in ip6_mforward()
1092 MF6CFIND(ip6->ip6_src, ip6->ip6_dst, rt); in ip6_mforward()
1120 ip6_sprintf(&ip6->ip6_dst)); in ip6_mforward()
1152 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, in ip6_mforward()
1491 dst0 = ip6->ip6_dst; in ip6_mdq()
1592 IN6_LOOKUP_MULTI(ip6->ip6_dst, ifp, in6m); in phyint_send()
1631 ip6_sprintf(&ip6->ip6_dst), in phyint_send()
1852 ip6_sprintf(&eip6->ip6_dst), in pim6_input()
1876 ip6_sprintf(&eip6->ip6_dst)); in pim6_input()
[all …]
H A Dnd6_nbr.c103 struct in6_addr daddr6 = ip6->ip6_dst; in nd6_ns_input()
134 ip6_sprintf(&ip6->ip6_dst), if_name(ifp)); in nd6_ns_input()
421 ip6->ip6_dst = *daddr6; in nd6_ns_output()
423 ip6->ip6_dst.s6_addr16[0] = IPV6_ADDR_INT16_MLL; in nd6_ns_output()
424 ip6->ip6_dst.s6_addr16[1] = 0; in nd6_ns_output()
425 ip6->ip6_dst.s6_addr32[1] = 0; in nd6_ns_output()
426 ip6->ip6_dst.s6_addr32[2] = IPV6_ADDR_INT32_ONE; in nd6_ns_output()
428 ip6->ip6_dst.s6_addr8[12] = 0xff; in nd6_ns_output()
547 struct in6_addr daddr6 = ip6->ip6_dst; in nd6_na_input()
571 ip6_sprintf(&ip6->ip6_dst), if_name(ifp)); in nd6_na_input()
[all …]
/dports/net/nethogs/nethogs-0.8.5/src/
H A Dnethogs.cpp106 in6_addr ip6_dst; member
132 packet = new Packet(args->ip6_src, ntohs(tcp->th_sport), args->ip6_dst, in process_tcp()
135 packet = new Packet(args->ip6_src, ntohs(tcp->source), args->ip6_dst, in process_tcp()
181 packet = new Packet(args->ip6_src, ntohs(udp->uh_sport), args->ip6_dst, in process_udp()
184 packet = new Packet(args->ip6_src, ntohs(udp->source), args->ip6_dst, in process_udp()
231 args->ip6_dst = ip6->ip6_dst; in process_ip6()
/dports/net/ipsumdump/ipsumdump-1.86/libclick-2.1/libsrc/
H A Dip6flowid.cc38 assign(IP6Address(ip6h->ip6_src), udph->uh_sport, IP6Address(ip6h->ip6_dst), udph->uh_dport); in IP6FlowID()
40 assign(IP6Address(ip6h->ip6_dst), udph->uh_dport, IP6Address(ip6h->ip6_src), udph->uh_sport); in IP6FlowID()
59 assign(IP6Address(ip6h->ip6_src), udph->uh_sport, IP6Address(ip6h->ip6_dst), udph->uh_dport); in IP6FlowID()
61 assign(IP6Address(ip6h->ip6_dst), udph->uh_dport, IP6Address(ip6h->ip6_src), udph->uh_sport); in IP6FlowID()
/dports/net/ndpi/nDPI-92a1be2/src/lib/protocols/
H A Dookla.c64 h = ndpi_quick_hash((unsigned char *)&packet->iphv6->ip6_dst, sizeof(packet->iphv6->ip6_dst)); in ndpi_search_ookla()
76 h = ndpi_quick_hash((unsigned char *)&packet->iphv6->ip6_dst, sizeof(packet->iphv6->ip6_dst)); in ndpi_search_ookla()
/dports/net/frr7/frr-frr-7.5.1/vrrpd/
H A Dvrrp_ndisc.c117 ip6h->ip6_dst.s6_addr[0] = 0xFF; in vrrp_ndisc_una_build()
118 ip6h->ip6_dst.s6_addr[1] = 0x02; in vrrp_ndisc_una_build()
119 ip6h->ip6_dst.s6_addr[15] = 0x01; in vrrp_ndisc_una_build()
138 ph.dst = ip6h->ip6_dst; in vrrp_ndisc_una_build()
/dports/net/frr7-pythontools/frr-frr-7.5.1/vrrpd/
H A Dvrrp_ndisc.c117 ip6h->ip6_dst.s6_addr[0] = 0xFF; in vrrp_ndisc_una_build()
118 ip6h->ip6_dst.s6_addr[1] = 0x02; in vrrp_ndisc_una_build()
119 ip6h->ip6_dst.s6_addr[15] = 0x01; in vrrp_ndisc_una_build()
138 ph.dst = ip6h->ip6_dst; in vrrp_ndisc_una_build()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/quic/qbone/platform/
H A Dtcp_packet.cc70 tcp_packet.ip_header.ip6_src = ip6_header->ip6_dst; in CreateTcpResetPacket()
71 tcp_packet.ip_header.ip6_dst = ip6_header->ip6_src; in CreateTcpResetPacket()
113 checksum.Update(tcp_packet.ip_header.ip6_dst.s6_addr, kIPv6AddressSize); in CreateTcpResetPacket()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/quic/qbone/platform/
H A Dtcp_packet.cc69 tcp_packet.ip_header.ip6_src = ip6_header->ip6_dst; in CreateTcpResetPacket()
70 tcp_packet.ip_header.ip6_dst = ip6_header->ip6_src; in CreateTcpResetPacket()
112 checksum.Update(tcp_packet.ip_header.ip6_dst.s6_addr, kIPv6AddressSize); in CreateTcpResetPacket()
/dports/net/onioncat/onioncat-0.3.9/src/
H A Docateth.c277 memcpy(&ndp6->ip6.ip6_dst, &mcastd, sizeof(struct in6_addr)); in ndp_solicit()
291 …ckb = malloc_ckbuf(ndp6->ip6.ip6_src, ndp6->ip6.ip6_dst, ntohs(ndp6->ip6.ip6_plen), IPPROTO_ICMPV6… in ndp_solicit()
354 … if (!IN6_IS_ADDR_MULTICAST_S(ndp6->ip6.ip6_dst) || !IN6_IS_ADDR_MC_LINKLOCAL_S(ndp6->ip6.ip6_dst)) in ndp_soladv()
361 …ckb = malloc_ckbuf(ndp6->ip6.ip6_src, ndp6->ip6.ip6_dst, ntohs(ndp6->ip6.ip6_plen), IPPROTO_ICMPV6… in ndp_soladv()
402 memcpy(&ndp6->ip6.ip6_dst, &ndp6->ip6.ip6_src, sizeof(struct in6_addr)); in ndp_soladv()
415 …ckb = malloc_ckbuf(ndp6->ip6.ip6_src, ndp6->ip6.ip6_dst, ntohs(ndp6->ip6.ip6_plen), IPPROTO_ICMPV6… in ndp_soladv()
H A Docatresolv.c49 if (!IN6_ARE_ADDR_EQUAL(&CNF(oc_vdns), &ip6->ip6_dst)) in check_dns()
54 ckbuf = malloc_ckbuf(ip6->ip6_src, ip6->ip6_dst, ntohs(ip6->ip6_plen), IPPROTO_UDP, udp); in check_dns()
/dports/net-mgmt/sendip/sendip-2.5/
H A Dipv6.c39 if(host->h_length != sizeof(ipv6->ip6_dst)) { in set_addr()
43 memcpy(&(ipv6->ip6_dst),host->h_addr,host->h_length); in set_addr()
93 memcpy(&hdr->ip6_dst, &addr, sizeof(struct in6_addr)); in do_opt()
/dports/net/addrwatch/addrwatch-1.0.2/src/
H A Dcheck.c90 if (!IN6_IS_ADDR_SN_MULTICAST(&ip6->ip6_dst, &ns->nd_ns_target)) { in check_ns()
91 ip6_ntoa((uint8_t *)&ip6->ip6_dst, ip6_addr); in check_ns()
143 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) in check_na()
/dports/net/scamper/scamper-cvs-20211026/scamper/neighbourdisc/
H A Dscamper_neighbourdisc_do.c251 uint8_t ip6_dst[16]; in do_nd_probe_nsol() local
261 ip6_dst[0] = 0xff; in do_nd_probe_nsol()
262 ip6_dst[1] = 0x02; in do_nd_probe_nsol()
263 memset(ip6_dst+2, 0, 9); in do_nd_probe_nsol()
264 ip6_dst[11] = 0x01; in do_nd_probe_nsol()
265 memcpy(ip6_dst+12, sol, 4); in do_nd_probe_nsol()
282 memcpy(&ip6->ip6_dst, ip6_dst, 16); in do_nd_probe_nsol()
302 memcpy(&a, &ip6->ip6_dst, sizeof(struct in6_addr)); in do_nd_probe_nsol()

12345678910>>...17