Home
last modified time | relevance | path

Searched refs:RTA_OIF (Results 1 – 14 of 14) sorted by relevance

/linux/net/phonet/
A Dpn_netlink.c181 nla_put_u32(skb, RTA_OIF, dev->ifindex)) in fill_route()
215 [RTA_OIF] = { .type = NLA_U32 },
244 if (tb[RTA_DST] == NULL || tb[RTA_OIF] == NULL) in route_doit()
250 dev = __dev_get_by_index(net, nla_get_u32(tb[RTA_OIF])); in route_doit()
/linux/net/decnet/
A Ddn_fib.c320 if (attrs[RTA_OIF] && in dn_fib_create_info()
321 fi->fib_nh->nh_oif != nla_get_u32(attrs[RTA_OIF])) in dn_fib_create_info()
330 if (attrs[RTA_OIF]) in dn_fib_create_info()
331 nh->nh_oif = nla_get_u32(attrs[RTA_OIF]); in dn_fib_create_info()
341 if (!attrs[RTA_GATEWAY] || nhs != 1 || attrs[RTA_OIF]) in dn_fib_create_info()
349 if (attrs[RTA_GATEWAY] || attrs[RTA_OIF] || attrs[RTA_MULTIPATH]) in dn_fib_create_info()
586 [RTA_OIF] = (struct nlattr *) &oif_attr, in fib_magic()
A Ddn_table.c238 if (attrs[RTA_OIF] || attrs[RTA_GATEWAY]) { in dn_fib_nh_match()
239 if ((!attrs[RTA_OIF] || nla_get_u32(attrs[RTA_OIF]) == fi->fib_nh->nh_oif) && in dn_fib_nh_match()
343 nla_put_u32(skb, RTA_OIF, fi->fib_nh->nh_oif) < 0) in dn_fib_dump_info()
A Ddn_route.c1582 nla_put_u32(skb, RTA_OIF, rt->dst.dev->ifindex) < 0) in dn_rt_fill_info()
1621 [RTA_OIF] = { .type = NLA_U32 },
1691 if (tb[RTA_OIF]) in dn_cache_getroute()
1692 fld.flowidn_oif = nla_get_u32(tb[RTA_OIF]); in dn_cache_getroute()
/linux/net/mctp/
A Droute.c1080 [RTA_OIF] = { .type = NLA_U32 },
1109 if (!tb[RTA_OIF]) { in mctp_route_nlparse()
1113 ifindex = nla_get_u32(tb[RTA_OIF]); in mctp_route_nlparse()
1243 if (nla_put_u32(skb, RTA_OIF, rt->dev->dev->ifindex)) in mctp_fill_rtinfo()
/linux/net/mpls/
A Daf_mpls.c486 [RTA_OIF] = { .type = NLA_U32 },
1877 case RTA_OIF: in rtm_to_route_config()
2029 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in mpls_dump_route()
2138 if (i == RTA_OIF) { in mpls_valid_fib_dump_req()
2499 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in mpls_getroute()
/linux/net/ipv4/
A Dfib_frontend.c659 [RTA_OIF] = { .type = NLA_U32 },
762 case RTA_OIF: in rtm_to_fib_config()
945 case RTA_OIF: in ip_valid_fib_dump_req()
A Droute.c2955 nla_put_u32(skb, RTA_OIF, rt->dst.dev->ifindex)) in rt_fill_info()
3239 case RTA_OIF: in inet_rtm_valid_getroute_req()
3311 fl4.flowi4_oif = tb[RTA_OIF] ? nla_get_u32(tb[RTA_OIF]) : 0; in inet_rtm_getroute()
A Dfib_semantics.c1684 nla_put_u32(skb, RTA_OIF, nhc->nhc_dev->ifindex)) in fib_nexthop_info()
/linux/include/uapi/linux/
A Drtnetlink.h356 RTA_OIF, enumerator
/linux/tools/testing/selftests/net/
A Dudpgso.c403 rta->rta_type = RTA_OIF; in set_route_mtu()
A Dipsec.c415 if (rtattr_pack(&req.nh, sizeof(req), RTA_OIF, &index, sizeof(index))) in ip4_route_set()
/linux/net/ipv6/
A Droute.c4991 [RTA_OIF] = { .type = NLA_U32 },
5054 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config()
5093 if (tb[RTA_OIF]) in rtm_to_fib6_config()
5094 cfg->fc_ifindex = nla_get_u32(tb[RTA_OIF]); in rtm_to_fib6_config()
5716 if (dst->dev && nla_put_u32(skb, RTA_OIF, dst->dev->ifindex)) in rt6_fill_node()
6008 case RTA_OIF: in inet6_rtm_valid_getroute_req()
6064 if (tb[RTA_OIF]) in inet6_rtm_getroute()
6065 oif = nla_get_u32(tb[RTA_OIF]); in inet6_rtm_getroute()
/linux/samples/bpf/
A Dxdp_router_ipv4_user.c178 case RTA_OIF: in read_route()

Completed in 57 milliseconds