Lines Matching refs:ndmsg
1188 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local
1206 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt()
1207 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt()
1208 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt()
1209 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt()
1210 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt()
1211 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt()
1212 ndmsg->nduseropt_pad1 = 0; in ndisc_ra_useropt()
1213 ndmsg->nduseropt_pad2 = 0; in ndisc_ra_useropt()
1214 ndmsg->nduseropt_pad3 = 0; in ndisc_ra_useropt()
1216 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()