Home
last modified time | relevance | path

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

/external/android-clat/
Dipv6.c94 log_bad_address("ipv6_packet/multicast %s->%s", &ip6->ip6_src, &ip6->ip6_dst); in ipv6_packet()
104 if (!(is_in_plat_subnet(&ip6->ip6_src) && in ipv6_packet()
107 IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, &Global_Clatd_Config.ipv6_local_subnet)) && in ipv6_packet()
109 log_bad_address("ipv6_packet/wrong source address: %s->%s", &ip6->ip6_src, &ip6->ip6_dst); in ipv6_packet()
Dchecksum.c96 current = ip_checksum_add(current, &(ip6->ip6_src), sizeof(struct in6_addr)); in ipv6_pseudo_header_checksum()
Dtranslate.c138 ip->saddr = ipv6_addr_to_ipv4_addr(&old_header->ip6_src); in fill_ip_header()
166 ip6->ip6_src = ipv4_addr_to_ipv6_addr(old_header->saddr); in fill_ip6_header()
Ddump.c84 inet_ntop(AF_INET6, &header->ip6_src, addrstr, sizeof(addrstr)); in dump_ip6()
Dclatd_test.cpp932 memcpy(&ip6->ip6_src, &Global_Clatd_Config.ipv6_local_subnet, sizeof(ip6->ip6_src)); in TEST_F()
/external/tcpdump/
Dprint-tcp.c196 ip6addr_string(ndo, &ip6->ip6_src),
260 src = &ip6->ip6_src;
270 UNALIGNED_MEMCPY(&tha.dst, src, sizeof ip6->ip6_src);
274 UNALIGNED_MEMCPY(&tha.src, src, sizeof ip6->ip6_src);
845 MD5_Update(&ctx, (char *)&ip6->ip6_src, sizeof(ip6->ip6_src));
Dprint-ip6.c58 UNALIGNED_MEMCPY(&ph.ph_src, &ip6->ip6_src, sizeof (struct in6_addr)); in nextproto6_cksum()
150 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.c203 ip6addr_string(ndo, &ip6->ip6_src), srcid, in sunrpcrequest_print()
Dprint-nfs.c227 strlcpy(srcaddr, ip6addr_string(ndo, &ip6->ip6_src), in print_nfsaddr()
917 UNALIGNED_MEMCPY(&xmep->client, &ip6->ip6_src, sizeof(ip6->ip6_src)); in xid_map_enter()
961 if (UNALIGNED_MEMCMP(&ip6->ip6_src, &xmep->server, in xid_map_find()
962 sizeof(ip6->ip6_src)) != 0 || in xid_map_find()
Dprint-pgm.c184 ip6addr_string(ndo, &ip6->ip6_src), in pgm_print()
204 ip6addr_string(ndo, &ip6->ip6_src), in pgm_print()
Dprint-udp.c306 ip6addr_string(ndo, &ip6->ip6_src), in udpipaddr_print()
310 ip6addr_string(ndo, &ip6->ip6_src), in udpipaddr_print()
Dprint-dccp.c322 ip6addr_string(ndo, &ip6->ip6_src), sport, in dccp_print()
Dprint-sctp.c543 ip6addr_string(ndo, &ip6->ip6_src), in sctp_print()
Dprint-isakmp.c806 UNALIGNED_MEMCPY(&cookiecache[ninitiator].iaddr.in6, &ip6->ip6_src, sizeof(struct in6_addr)); in cookie_record()
846 if (UNALIGNED_MEMCMP(&ip6->ip6_src, &cookiecache[i].iaddr.in6, sizeof(struct in6_addr)) == 0) in cookie_sidecheck()
849 if (UNALIGNED_MEMCMP(&ip6->ip6_src, &cookiecache[i].raddr.in6, sizeof(struct in6_addr)) == 0) in cookie_sidecheck()
Dprint-icmp6.c949 ip6addr_string(ndo, &oip->ip6_src))); in icmp6_print()
/external/wpa_supplicant_8/src/ap/
Dndisc_snoop.c120 os_memcpy(&saddr, &msg->ipv6h.ip6_src, sizeof(saddr)); in handle_ndisc()
/external/toybox/toys/pending/
Ddhcpd.c881 memcpy(&packet.iph.ip6_src, &gconfig.server_nip6, sizeof(uint32_t)*4); in send_packet6()