Lines Matching refs:nd_na
661 struct nd_neighbor_advert *nd_na; in nd6_na_input() local
701 nd_na = (struct nd_neighbor_advert *)((caddr_t)ip6 + off); in nd6_na_input()
703 flags = nd_na->nd_na_flags_reserved; in nd6_na_input()
708 taddr6 = nd_na->nd_na_target; in nd6_na_input()
727 icmp6len -= sizeof(*nd_na); in nd6_na_input()
728 nd6_option_init(nd_na + 1, icmp6len, &ndopts); in nd6_na_input()
981 struct nd_neighbor_advert *nd_na; in nd6_na_output_fib() local
994 maxlen = sizeof(*ip6) + sizeof(*nd_na); in nd6_na_output_fib()
1015 icmp6len = sizeof(*nd_na); in nd6_na_output_fib()
1054 nd_na = (struct nd_neighbor_advert *)(ip6 + 1); in nd6_na_output_fib()
1055 nd_na->nd_na_type = ND_NEIGHBOR_ADVERT; in nd6_na_output_fib()
1056 nd_na->nd_na_code = 0; in nd6_na_output_fib()
1057 nd_na->nd_na_target = *taddr6; in nd6_na_output_fib()
1058 in6_clearscope(&nd_na->nd_na_target); /* XXX */ in nd6_na_output_fib()
1086 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_na + 1); in nd6_na_output_fib()
1102 nd_na->nd_na_flags_reserved = flags; in nd6_na_output_fib()
1103 nd_na->nd_na_cksum = 0; in nd6_na_output_fib()
1104 nd_na->nd_na_cksum = in nd6_na_output_fib()
1112 *(unsigned short *)(mtag + 1) = nd_na->nd_na_type; in nd6_na_output_fib()