Searched refs:RTA_OIF (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/net/phonet/ |
| H A D | pn_netlink.c | 193 if (nla_put_u8(skb, RTA_DST, dst) || nla_put_u32(skb, RTA_OIF, ifindex)) in fill_route() 228 [RTA_OIF] = { .type = NLA_U32 }, 257 if (tb[RTA_DST] == NULL || tb[RTA_OIF] == NULL) in route_doit() 263 ifindex = nla_get_u32(tb[RTA_OIF]); in route_doit()
|
| /linux-6.15/net/mctp/ |
| H A D | route.c | 1266 [RTA_OIF] = { .type = NLA_U32 }, 1295 if (!tb[RTA_OIF]) { in mctp_route_nlparse() 1299 ifindex = nla_get_u32(tb[RTA_OIF]); in mctp_route_nlparse() 1426 if (nla_put_u32(skb, RTA_OIF, rt->dev->dev->ifindex)) in mctp_fill_rtinfo()
|
| /linux-6.15/net/mpls/ |
| H A D | af_mpls.c | 487 [RTA_OIF] = { .type = NLA_U32 }, 1864 case RTA_OIF: in rtm_to_route_config() 2016 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in mpls_dump_route() 2125 if (i == RTA_OIF) { in mpls_valid_fib_dump_req() 2487 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in mpls_getroute()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | rtnetlink.h | 374 RTA_OIF, enumerator
|
| /linux-6.15/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | netlink.c | 275 if (rtattr_pack(&req.nh, sizeof(req), RTA_OIF, &index, sizeof(index))) in __ip_route_add()
|
| /linux-6.15/net/ipv4/ |
| H A D | fib_frontend.c | 671 [RTA_OIF] = { .type = NLA_U32 }, 782 case RTA_OIF: in rtm_to_fib_config() 992 case RTA_OIF: in ip_valid_fib_dump_req()
|
| H A D | route.c | 2968 nla_put_u32(skb, RTA_OIF, rt->dst.dev->ifindex)) in rt_fill_info() 3252 case RTA_OIF: in inet_rtm_valid_getroute_req() 3326 fl4.flowi4_oif = nla_get_u32_default(tb[RTA_OIF], 0); in inet_rtm_getroute()
|
| H A D | fib_semantics.c | 1640 nla_put_u32(skb, RTA_OIF, nhc->nhc_dev->ifindex)) in fib_nexthop_info()
|
| /linux-6.15/samples/bpf/ |
| H A D | xdp_router_ipv4_user.c | 136 case RTA_OIF: in read_route()
|
| /linux-6.15/net/ipv6/ |
| H A D | route.c | 5035 [RTA_OIF] = { .type = NLA_U32 }, 5111 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config() 5150 if (tb[RTA_OIF]) in rtm_to_fib6_config() 5151 cfg->fc_ifindex = nla_get_u32(tb[RTA_OIF]); in rtm_to_fib6_config() 5777 if (dst->dev && nla_put_u32(skb, RTA_OIF, dst->dev->ifindex)) in rt6_fill_node() 6083 case RTA_OIF: in inet6_rtm_valid_getroute_req() 6140 if (tb[RTA_OIF]) in inet6_rtm_getroute() 6141 oif = nla_get_u32(tb[RTA_OIF]); in inet6_rtm_getroute()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | ipsec.c | 454 if (rtattr_pack(&req.nh, sizeof(req), RTA_OIF, &index, sizeof(index))) in ip4_route_set()
|