Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/net/ipv6/
Dndisc.c190 type = cur->nd_opt_type; in ndisc_next_option()
193 } while (cur < end && cur->nd_opt_type != type); in ndisc_next_option()
194 return cur <= end && cur->nd_opt_type == type ? cur : NULL; in ndisc_next_option()
200 return opt->nd_opt_type == ND_OPT_RDNSS || in ndisc_is_useropt()
201 opt->nd_opt_type == ND_OPT_DNSSL || in ndisc_is_useropt()
202 opt->nd_opt_type == ND_OPT_CAPTIVE_PORTAL || in ndisc_is_useropt()
203 opt->nd_opt_type == ND_OPT_PREF64 || in ndisc_is_useropt()
204 ndisc_ops_is_useropt(dev, opt->nd_opt_type); in ndisc_is_useropt()
237 switch (nd_opt->nd_opt_type) { in ndisc_parse_options()
243 if (ndopts->nd_opt_array[nd_opt->nd_opt_type]) { in ndisc_parse_options()
[all …]
/linux-6.1.9/include/net/
Dndisc.h106 __u8 nd_opt_type; member
203 int (*is_useropt)(u8 nd_opt_type);
228 u8 nd_opt_type) in ndisc_ops_is_useropt() argument
231 return dev->ndisc_ops->is_useropt(nd_opt_type); in ndisc_ops_is_useropt()
/linux-6.1.9/net/netfilter/
Dnf_conntrack_proto_icmpv6.c172 if (nd_opt->nd_opt_type != ND_OPT_REDIRECT_HDR) in nf_conntrack_icmpv6_redirect()
/linux-6.1.9/net/openvswitch/
Dflow.c596 if (nd_opt->nd_opt_type == ND_OPT_SOURCE_LL_ADDR in parse_icmpv6()
602 } else if (nd_opt->nd_opt_type == ND_OPT_TARGET_LL_ADDR in parse_icmpv6()