Home
last modified time | relevance | path

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

/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c596 struct neighbor_redirect *sndrd_p; /* ICMPv6 part of sending frame */ in return_icmp6_redirect() local
614 sndrd_p = (struct neighbor_redirect *)&(sndip6_p->payload); in return_icmp6_redirect()
638 sndrd_p->defs.nd_rd_type = ND_REDIRECT; in return_icmp6_redirect()
639 sndrd_p->defs.nd_rd_code = 0; in return_icmp6_redirect()
640 sndrd_p->defs.nd_rd_cksum = 0; /* Calculate later */ in return_icmp6_redirect()
641 sndrd_p->defs.nd_rd_reserved = 0; in return_icmp6_redirect()
642 sndrd_p->defs.nd_rd_target = gw_p->nexthop; in return_icmp6_redirect()
643 sndrd_p->defs.nd_rd_dst = rcvip6_p->hdr.ip6_dst;; in return_icmp6_redirect()
644 sndrd_p->rdopt_hdr.nd_opt_rh_type = ND_OPT_REDIRECTED_HEADER; in return_icmp6_redirect()
645 sndrd_p->rdopt_hdr.nd_opt_rh_len = redirect_optsize / 8; in return_icmp6_redirect()
[all …]