Home
last modified time | relevance | path

Searched refs:ip6_src (Results 1 – 22 of 22) sorted by relevance

/external/android-clat/
Dipv6.c95 log_bad_address("ipv6_packet/multicast %s->%s", &ip6->ip6_src, &ip6->ip6_dst); in ipv6_packet()
105 if (!(is_in_plat_subnet(&ip6->ip6_src) && in ipv6_packet()
108 IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, &Global_Clatd_Config.ipv6_local_subnet)) && in ipv6_packet()
110 log_bad_address("ipv6_packet/wrong source address: %s->%s", &ip6->ip6_src, &ip6->ip6_dst); in ipv6_packet()
Dtranslate.c140 ip->saddr = ipv6_addr_to_ipv4_addr(&old_header->ip6_src); in fill_ip_header()
168 ip6->ip6_src = ipv4_addr_to_ipv6_addr(old_header->saddr); in fill_ip6_header()
Ddump.c85 inet_ntop(AF_INET6, &header->ip6_src, addrstr, sizeof(addrstr)); in dump_ip6()
Dclatd_test.cpp1018 memcpy(&ip6->ip6_src, &Global_Clatd_Config.ipv6_local_subnet, sizeof(ip6->ip6_src)); in TEST_F()
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c479 (&(rcvip6_p->hdr.ip6_src), &in6addr_any, in return_neigh_adv()
532 sndip6_p->hdr.ip6_src = gateway_p->ip_addr; in return_neigh_adv()
533 sndip6_p->hdr.ip6_dst = rcvip6_p->hdr.ip6_src; in return_neigh_adv()
548 p_ip6.hdr.p_ip6_src = sndip6_p->hdr.ip6_src; in return_neigh_adv()
634 sndip6_p->hdr.ip6_src = gw_p->ip_addr; in return_icmp6_redirect()
635 sndip6_p->hdr.ip6_dst = rcvip6_p->hdr.ip6_src; in return_icmp6_redirect()
650 p_ip6.hdr.p_ip6_src = sndip6_p->hdr.ip6_src; in return_icmp6_redirect()
Dns-icmpv6_sender.c280 pkt.hdr.ip6_src = info_p->saddr; in create_mld_query()
329 pseudo.hdr.p_ip6_src = pkt.hdr.ip6_src; in create_mld_query()
379 pkt.hdr.ip6_src = info_p->saddr; in create_echo_request()
393 pseudo.hdr.p_ip6_src = pkt.hdr.ip6_src; in create_echo_request()
/external/tcpdump/
Dprint-tcp.c196 ip6addr_string(ndo, &ip6->ip6_src), in tcp_print()
259 src = &ip6->ip6_src; in tcp_print()
269 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip6->ip6_src); in tcp_print()
273 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip6->ip6_src); in tcp_print()
873 MD5_Update(&ctx, (const char *)&ip6->ip6_src, sizeof(ip6->ip6_src)); in tcp_verify_signature()
Dprint-ip6.c178 UNALIGNED_MEMCPY(&ph.ph_src, &ip6->ip6_src, sizeof (struct in6_addr)); in nextproto6_cksum()
291 ND_PRINT((ndo, "%s > %s: ", ip6addr_string(ndo, &ip6->ip6_src), in ip6_print()
Dip6.h86 struct in6_addr ip6_src; /* source address */ member
Dprint-sunrpc.c199 ip6addr_string(ndo, &ip6->ip6_src), srcid, in sunrpcrequest_print()
Dprint-nfs.c218 strlcpy(srcaddr, ip6addr_string(ndo, &ip6->ip6_src), in print_nfsaddr()
899 UNALIGNED_MEMCPY(&xmep->client, &ip6->ip6_src, sizeof(ip6->ip6_src)); in xid_map_enter()
940 if (UNALIGNED_MEMCMP(&ip6->ip6_src, &xmep->server, in xid_map_find()
941 sizeof(ip6->ip6_src)) != 0 || in xid_map_find()
Dprint-pgm.c170 ip6addr_string(ndo, &ip6->ip6_src), in pgm_print()
186 ip6addr_string(ndo, &ip6->ip6_src), in pgm_print()
Dprint-udp.c330 ip6addr_string(ndo, &ip6->ip6_src), in udpipaddr_print()
334 ip6addr_string(ndo, &ip6->ip6_src), in udpipaddr_print()
Dprint-dccp.c315 ip6addr_string(ndo, &ip6->ip6_src), sport, in dccp_print()
Dprint-sctp.c529 ip6addr_string(ndo, &ip6->ip6_src), in sctp_print()
Dprint-isakmp.c801 UNALIGNED_MEMCPY(&cookiecache[ninitiator].iaddr.in6, &ip6->ip6_src, sizeof(struct in6_addr)); in cookie_record()
837 if (UNALIGNED_MEMCMP(&ip6->ip6_src, &cookiecache[i].iaddr.in6, sizeof(struct in6_addr)) == 0) in cookie_sidecheck()
840 if (UNALIGNED_MEMCMP(&ip6->ip6_src, &cookiecache[i].raddr.in6, sizeof(struct in6_addr)) == 0) in cookie_sidecheck()
Dprint-icmp6.c930 ip6addr_string(ndo, &oip->ip6_src))); in icmp6_print()
/external/linux-kselftest/tools/testing/selftests/net/
Dip_defrag.c120 sum = raw_checksum((uint8_t *)&iphdr->ip6_src, 2 * sizeof(iphdr->ip6_src), in udp6_checksum()
224 ip6hdr->ip6_src = addr6; in send_udp_frags()
/external/wpa_supplicant_8/src/ap/
Dndisc_snoop.c121 os_memcpy(&saddr, &msg->ipv6h.ip6_src, sizeof(saddr)); in handle_ndisc()
/external/ltp/testcases/network/sctp/
Dsctp_big_chunk.c69 ip6.ip6_src.s6_addr[15] = 1; in setup_client()
/external/iptables/iptables/
Dnft-ipv6.c53 add_addr(r, offsetof(struct ip6_hdr, ip6_src), in nft_ipv6_add()
136 case offsetof(struct ip6_hdr, ip6_src): in nft_ipv6_parse_payload()
/external/toybox/toys/pending/
Ddhcpd.c881 memcpy(&packet.iph.ip6_src, &gconfig.server_nip6, sizeof(uint32_t)*4); in send_packet6()