OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:rtnh
(Results
1 - 2
of
2
) sorted by null
/external/iproute2/ip/
iproute.c
726
struct rtattr *rta, struct rtnexthop *
rtnh
,
747
rtnh
->rtnh_len += sizeof(struct rtattr) + addr.bytelen;
750
rtnh
->rtnh_len += sizeof(struct rtattr) + addr.bytelen+2;
754
if ((
rtnh
->rtnh_ifindex = ll_name_to_index(*argv)) == 0) {
763
rtnh
->rtnh_hops = w - 1;
765
rtnh
->rtnh_flags |= RTNH_F_ONLINK;
772
rtnh
->rtnh_len += sizeof(struct rtattr) + 4;
777
rtnh
->rtnh_len += rta->rta_len - len;
791
struct rtnexthop *
rtnh
;
local
795
rtnh
= RTA_DATA(rta)
[
all
...]
/external/libnl/lib/route/
route_obj.c
949
struct rtnexthop *
rtnh
= nla_data(attr);
local
953
while (tlen >= sizeof(*
rtnh
) && tlen >=
rtnh
->rtnh_len) {
958
rtnl_route_nh_set_weight(nh,
rtnh
->rtnh_hops);
959
rtnl_route_nh_set_ifindex(nh,
rtnh
->rtnh_ifindex);
960
rtnl_route_nh_set_flags(nh,
rtnh
->rtnh_flags);
962
if (
rtnh
->rtnh_len > sizeof(*
rtnh
)) {
966
RTNH_DATA(
rtnh
),
967
rtnh
->rtnh_len - sizeof(*rtnh)
1263
struct rtnexthop *
rtnh
;
local
[
all
...]
Completed in 1053 milliseconds