Home
last modified time | relevance | path

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

/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c472 struct neighbor_adv *sndna_p; /* NA part of sending frame */ in return_neigh_adv() local
519 sndna_p = (struct neighbor_adv *)&(sndip6_p->payload); in return_neigh_adv()
536 sndna_p->defs.nd_na_type = ND_NEIGHBOR_ADVERT; in return_neigh_adv()
537 sndna_p->defs.nd_na_code = 0; in return_neigh_adv()
538 sndna_p->defs.nd_na_cksum = 0; /* Calculate later */ in return_neigh_adv()
539 sndna_p->defs.nd_na_target = gateway_p->ip_addr; in return_neigh_adv()
540 sndna_p->defs.nd_na_flags_reserved in return_neigh_adv()
542 sndna_p->tla_opt.nd_opt_type = ND_OPT_TARGET_LINKADDR; in return_neigh_adv()
543 sndna_p->tla_opt.nd_opt_len = 1; in return_neigh_adv()
544 memcpy(sndna_p->tgt_laddr, &(gateway_p->hd_addr), ETH_ALEN); in return_neigh_adv()
[all …]