Home
last modified time | relevance | path

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

/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c470 struct ip6_datagram *sndip6_p; /* IPv6 part of sending frame */ in return_neigh_adv() local
518 sndip6_p = (struct ip6_datagram *)&(sndeth.data); in return_neigh_adv()
519 sndna_p = (struct neighbor_adv *)&(sndip6_p->payload); in return_neigh_adv()
527 sndip6_p->hdr.ip6_vfc = 6 << 4; in return_neigh_adv()
528 sndip6_p->hdr.ip6_flow |= 0; in return_neigh_adv()
529 sndip6_p->hdr.ip6_plen = htons(sizeof(struct neighbor_adv)); in return_neigh_adv()
530 sndip6_p->hdr.ip6_nxt = IPPROTO_ICMPV6; in return_neigh_adv()
531 sndip6_p->hdr.ip6_hlim = 255; 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()
[all …]