Searched defs:ndmsg (Results 1 - 1 of 1) sorted by relevance

/net/ipv6/
H A Dndisc.c1017 struct nduseroptmsg *ndmsg; local
1035 ndmsg = nlmsg_data(nlh);
1036 ndmsg->nduseropt_family = AF_INET6;
1037 ndmsg->nduseropt_ifindex = ra->dev->ifindex;
1038 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type;
1039 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code;
1040 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3;
1042 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3);

Completed in 148 milliseconds