Searched refs:ndopts (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/net/6lowpan/ ! |
D | ndisc.c | 23 struct ndisc_options *ndopts) in lowpan_ndisc_parse_802154_options() argument 27 if (ndopts->nd_802154_opt_array[nd_opt->nd_opt_type]) in lowpan_ndisc_parse_802154_options() 32 ndopts->nd_802154_opt_array[nd_opt->nd_opt_type] = nd_opt; in lowpan_ndisc_parse_802154_options() 42 struct ndisc_options *ndopts) in lowpan_ndisc_parse_options() argument 50 return lowpan_ndisc_parse_802154_options(dev, nd_opt, ndopts); in lowpan_ndisc_parse_options() 58 const struct ndisc_options *ndopts) in lowpan_ndisc_802154_update() argument 67 if (ndopts->nd_802154_opts_src_lladdr) { in lowpan_ndisc_802154_update() 68 lladdr_short = __ndisc_opt_addr_data(ndopts->nd_802154_opts_src_lladdr, in lowpan_ndisc_802154_update() 79 if (ndopts->nd_802154_opts_tgt_lladdr) { in lowpan_ndisc_802154_update() 80 lladdr_short = __ndisc_opt_addr_data(ndopts->nd_802154_opts_tgt_lladdr, in lowpan_ndisc_802154_update() [all …]
|
/linux-6.6.21/net/ipv6/ ! |
D | ndisc.c | 222 struct ndisc_options *ndopts) in ndisc_parse_options() argument 226 if (!nd_opt || opt_len < 0 || !ndopts) in ndisc_parse_options() 228 memset(ndopts, 0, sizeof(*ndopts)); in ndisc_parse_options() 236 if (ndisc_ops_parse_options(dev, nd_opt, ndopts)) in ndisc_parse_options() 244 if (ndopts->nd_opt_array[nd_opt->nd_opt_type]) { in ndisc_parse_options() 249 ndopts->nd_opt_array[nd_opt->nd_opt_type] = nd_opt; in ndisc_parse_options() 253 ndopts->nd_opts_pi_end = nd_opt; in ndisc_parse_options() 254 if (!ndopts->nd_opt_array[nd_opt->nd_opt_type]) in ndisc_parse_options() 255 ndopts->nd_opt_array[nd_opt->nd_opt_type] = nd_opt; in ndisc_parse_options() 259 ndopts->nd_opts_ri_end = nd_opt; in ndisc_parse_options() [all …]
|
D | route.c | 4111 struct ndisc_options ndopts; in rt6_do_redirect() local 4153 if (!ndisc_parse_options(skb->dev, msg->opt, optlen, &ndopts)) { in rt6_do_redirect() 4159 if (ndopts.nd_opts_tgt_lladdr) { in rt6_do_redirect() 4160 lladdr = ndisc_opt_addr_data(ndopts.nd_opts_tgt_lladdr, in rt6_do_redirect() 4193 NDISC_REDIRECT, &ndopts); in rt6_do_redirect()
|
/linux-6.6.21/include/net/ ! |
D | ndisc.h | 138 struct ndisc_options *ndopts); 206 struct ndisc_options *ndopts); 209 const struct ndisc_options *ndopts); 238 struct ndisc_options *ndopts) in ndisc_ops_parse_options() argument 241 return dev->ndisc_ops->parse_options(dev, nd_opt, ndopts); in ndisc_ops_parse_options() 249 const struct ndisc_options *ndopts) in ndisc_ops_update() argument 252 dev->ndisc_ops->update(dev, n, flags, icmp6_type, ndopts); in ndisc_ops_update() 472 struct ndisc_options *ndopts);
|