Searched refs:rtnh (Results 1 – 5 of 5) sorted by relevance
| /net/ipv4/ |
| A D | fib_semantics.c | 688 rtnh = rtnh_next(rtnh, &remaining); in fib_count_nexthops() 792 rtnh = rtnh_next(rtnh, &remaining); in fib_get_nhs() 905 struct rtnexthop *rtnh; in fib_nh_match() local 958 rtnh = cfg->fc_mp; in fib_nh_match() 967 if (rtnh->rtnh_ifindex && rtnh->rtnh_ifindex != nh->fib_nh_oif) in fib_nh_match() 1028 rtnh = rtnh_next(rtnh, &remaining); in fib_nh_match() 1654 struct rtnexthop *rtnh; in fib_add_nexthop() local 1657 rtnh = nla_reserve_nohdr(skb, sizeof(*rtnh)); in fib_add_nexthop() 1658 if (!rtnh) in fib_add_nexthop() 1667 rtnh->rtnh_flags = flags; in fib_add_nexthop() [all …]
|
| A D | ipmr.c | 2789 struct rtnexthop *rtnh = nla_data(nla); in ipmr_nla_get_ttls() local 2792 while (rtnh_ok(rtnh, remaining)) { in ipmr_nla_get_ttls() 2793 mfcc->mfcc_ttls[vifi] = rtnh->rtnh_hops; in ipmr_nla_get_ttls() 2796 rtnh = rtnh_next(rtnh, &remaining); in ipmr_nla_get_ttls()
|
| /net/core/ |
| A D | lwtunnel.c | 185 struct rtnexthop *rtnh = (struct rtnexthop *)attr; in lwtunnel_valid_encap_type_attr() local 191 while (rtnh_ok(rtnh, remaining)) { in lwtunnel_valid_encap_type_attr() 192 attrlen = rtnh_attrlen(rtnh); in lwtunnel_valid_encap_type_attr() 194 attrs = rtnh_attrs(rtnh); in lwtunnel_valid_encap_type_attr() 208 rtnh = rtnh_next(rtnh, &remaining); in lwtunnel_valid_encap_type_attr()
|
| /net/mpls/ |
| A D | af_mpls.c | 846 while (rtnh_ok(rtnh, remaining)) { in mpls_count_nexthops() 851 attrlen = rtnh_attrlen(rtnh); in mpls_count_nexthops() 878 rtnh = rtnh_next(rtnh, &remaining); in mpls_count_nexthops() 902 if (!rtnh_ok(rtnh, remaining)) in mpls_nh_build_multi() 908 if (rtnh->rtnh_hops || rtnh->rtnh_flags) in mpls_nh_build_multi() 911 attrlen = rtnh_attrlen(rtnh); in mpls_nh_build_multi() 928 rtnh = rtnh_next(rtnh, &remaining); in mpls_nh_build_multi() 2023 struct rtnexthop *rtnh; in mpls_dump_route() local 2037 rtnh = nla_reserve_nohdr(skb, sizeof(*rtnh)); in mpls_dump_route() 2038 if (!rtnh) in mpls_dump_route() [all …]
|
| /net/ipv6/ |
| A D | route.c | 5112 struct rtnexthop *rtnh; in rtm_to_fib6_multipath_config() local 5130 attrs = rtnh_attrs(rtnh); in rtm_to_fib6_multipath_config() 5149 rtnh = rtnh_next(rtnh, &remaining); in rtm_to_fib6_multipath_config() 5396 struct rtnexthop *rtnh; in ip6_route_multipath_add() local 5426 if (rtnh->rtnh_ifindex) in ip6_route_multipath_add() 5429 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_add() 5467 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_add() 5570 struct rtnexthop *rtnh; in ip6_route_multipath_del() local 5582 if (rtnh->rtnh_ifindex) in ip6_route_multipath_del() 5585 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_del() [all …]
|
Completed in 35 milliseconds