Searched refs:RTA_OIF (Results 1 – 12 of 12) sorted by relevance
| /linux/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/net/mctp/ |
| H A D | route.c | 1411 [RTA_OIF] = { .type = NLA_U32 }, 1449 if (tb[RTA_OIF]) in mctp_route_nlparse_common() 1450 ifindex = nla_get_u32(tb[RTA_OIF]); in mctp_route_nlparse_common() 1689 if (nla_put_u32(skb, RTA_OIF, rt->dev->dev->ifindex)) in mctp_fill_rtinfo()
|
| /linux/net/mpls/ |
| H A D | af_mpls.c | 512 [RTA_OIF] = { .type = NLA_U32 }, 1925 case RTA_OIF: in rtm_to_route_config() 2083 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in mpls_dump_route() 2192 if (i == RTA_OIF) { in mpls_valid_fib_dump_req() 2564 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in mpls_getroute()
|
| /linux/net/ipv4/ |
| H A D | fib_frontend.c | 692 [RTA_OIF] = { .type = NLA_U32 }, 803 case RTA_OIF: in rtm_to_fib_config() 1010 case RTA_OIF: in ip_valid_fib_dump_req()
|
| H A D | route.c | 3020 nla_put_u32(skb, RTA_OIF, rt->dst.dev->ifindex)) in rt_fill_info() 3306 case RTA_OIF: in inet_rtm_valid_getroute_req() 3380 fl4.flowi4_oif = nla_get_u32_default(tb[RTA_OIF], 0); in inet_rtm_getroute()
|
| H A D | fib_semantics.c | 509 nhsize += nla_total_size(4); /* RTA_OIF */ in fib_nexthop_nlmsg_size() 829 "Nexthop device index does not match RTA_OIF"); in fib_get_nhs() 1665 nla_put_u32(skb, RTA_OIF, nhc->nhc_dev->ifindex)) in fib_nexthop_info()
|
| /linux/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/tools/include/uapi/linux/ |
| H A D | rtnetlink.h | 374 RTA_OIF, enumerator
|
| /linux/include/uapi/linux/ |
| H A D | rtnetlink.h | 374 RTA_OIF, enumerator
|
| /linux/samples/bpf/ |
| H A D | xdp_router_ipv4_user.c | 136 case RTA_OIF: in read_route()
|
| /linux/net/ipv6/ |
| H A D | route.c | 5136 [RTA_OIF] = { .type = NLA_U32 }, 5260 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config() 5299 if (tb[RTA_OIF]) in rtm_to_fib6_config() 5300 cfg->fc_ifindex = nla_get_u32(tb[RTA_OIF]); in rtm_to_fib6_config() 5757 + nla_total_size(4) /* RTA_OIF */ in rt6_nlmsg_size() 5906 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in rt6_fill_node() 6224 case RTA_OIF: in inet6_rtm_valid_getroute_req() 6281 if (tb[RTA_OIF]) in inet6_rtm_getroute() 6282 oif = nla_get_u32(tb[RTA_OIF]); in inet6_rtm_getroute()
|
| /linux/tools/testing/selftests/net/ |
| H A D | ipsec.c | 455 if (rtattr_pack(&req.nh, sizeof(req), RTA_OIF, &index, sizeof(index))) in ip4_route_set()
|