Home
last modified time | relevance | path

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

/net/6lowpan/
Dndisc.c14 static int lowpan_ndisc_is_useropt(u8 nd_opt_type) in lowpan_ndisc_is_useropt() argument
16 return nd_opt_type == ND_OPT_6CO; in lowpan_ndisc_is_useropt()
27 if (ndopts->nd_802154_opt_array[nd_opt->nd_opt_type]) in lowpan_ndisc_parse_802154_options()
30 __func__, 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()
47 switch (nd_opt->nd_opt_type) { in lowpan_ndisc_parse_options()
/net/ipv6/
Dndisc.c187 type = cur->nd_opt_type; in ndisc_next_option()
190 } while (cur < end && cur->nd_opt_type != type); in ndisc_next_option()
191 return cur <= end && cur->nd_opt_type == type ? cur : NULL; in ndisc_next_option()
197 return opt->nd_opt_type == ND_OPT_RDNSS || in ndisc_is_useropt()
198 opt->nd_opt_type == ND_OPT_DNSSL || in ndisc_is_useropt()
199 opt->nd_opt_type == ND_OPT_CAPTIVE_PORTAL || in ndisc_is_useropt()
200 ndisc_ops_is_useropt(dev, opt->nd_opt_type); in ndisc_is_useropt()
233 switch (nd_opt->nd_opt_type) { in ndisc_parse_options()
239 if (ndopts->nd_opt_array[nd_opt->nd_opt_type]) { in ndisc_parse_options()
242 __func__, nd_opt->nd_opt_type); in ndisc_parse_options()
[all …]
/net/openvswitch/
Dflow.c450 if (nd_opt->nd_opt_type == ND_OPT_SOURCE_LL_ADDR in parse_icmpv6()
456 } else if (nd_opt->nd_opt_type == ND_OPT_TARGET_LL_ADDR in parse_icmpv6()