Searched refs:RTA_OIF (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/net/phonet/ |
D | pn_netlink.c | 181 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-6.1.9/net/mctp/ |
D | route.c | 1159 [RTA_OIF] = { .type = NLA_U32 }, 1188 if (!tb[RTA_OIF]) { in mctp_route_nlparse() 1192 ifindex = nla_get_u32(tb[RTA_OIF]); in mctp_route_nlparse() 1322 if (nla_put_u32(skb, RTA_OIF, rt->dev->dev->ifindex)) in mctp_fill_rtinfo()
|
/linux-6.1.9/net/mpls/ |
D | af_mpls.c | 486 [RTA_OIF] = { .type = NLA_U32 }, 1876 case RTA_OIF: in rtm_to_route_config() 2028 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in mpls_dump_route() 2137 if (i == RTA_OIF) { in mpls_valid_fib_dump_req() 2498 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in mpls_getroute()
|
/linux-6.1.9/net/ipv4/ |
D | fib_frontend.c | 662 [RTA_OIF] = { .type = NLA_U32 }, 773 case RTA_OIF: in rtm_to_fib_config() 959 case RTA_OIF: in ip_valid_fib_dump_req()
|
D | route.c | 2978 nla_put_u32(skb, RTA_OIF, rt->dst.dev->ifindex)) in rt_fill_info() 3262 case RTA_OIF: in inet_rtm_valid_getroute_req() 3334 fl4.flowi4_oif = tb[RTA_OIF] ? nla_get_u32(tb[RTA_OIF]) : 0; in inet_rtm_getroute()
|
D | fib_semantics.c | 1684 nla_put_u32(skb, RTA_OIF, nhc->nhc_dev->ifindex)) in fib_nexthop_info()
|
/linux-6.1.9/include/uapi/linux/ |
D | rtnetlink.h | 365 RTA_OIF, enumerator
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | udpgso.c | 403 rta->rta_type = RTA_OIF; in set_route_mtu()
|
D | ipsec.c | 453 if (rtattr_pack(&req.nh, sizeof(req), RTA_OIF, &index, sizeof(index))) in ip4_route_set()
|
/linux-6.1.9/samples/bpf/ |
D | xdp_router_ipv4_user.c | 136 case RTA_OIF: in read_route()
|
/linux-6.1.9/net/ipv6/ |
D | route.c | 4978 [RTA_OIF] = { .type = NLA_U32 }, 5047 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config() 5086 if (tb[RTA_OIF]) in rtm_to_fib6_config() 5087 cfg->fc_ifindex = nla_get_u32(tb[RTA_OIF]); in rtm_to_fib6_config() 5709 if (dst->dev && nla_put_u32(skb, RTA_OIF, dst->dev->ifindex)) in rt6_fill_node() 6001 case RTA_OIF: in inet6_rtm_valid_getroute_req() 6057 if (tb[RTA_OIF]) in inet6_rtm_getroute() 6058 oif = nla_get_u32(tb[RTA_OIF]); in inet6_rtm_getroute()
|