Home
last modified time | relevance | path

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

/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ifmetric/ifmetric/
H A Difmetric.c_typo.patch10 case RTA_OIF:
13 - fprintf(stderr, "NETLINK: Recieved corrupt RTA_OIF payload.\n");
14 + fprintf(stderr, "NETLINK: Received corrupt RTA_OIF payload.\n");
/openbmc/linux/net/phonet/
H A Dpn_netlink.c181 nla_put_u32(skb, RTA_OIF, READ_ONCE(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()
/openbmc/phosphor-networkd/src/
H A Drtnetlink.cpp101 case RTA_OIF: in parse()
/openbmc/linux/net/mctp/
H A Droute.c1194 [RTA_OIF] = { .type = NLA_U32 },
1223 if (!tb[RTA_OIF]) { in mctp_route_nlparse()
1227 ifindex = nla_get_u32(tb[RTA_OIF]); in mctp_route_nlparse()
1354 if (nla_put_u32(skb, RTA_OIF, rt->dev->dev->ifindex)) in mctp_fill_rtinfo()
/openbmc/linux/net/mpls/
H A Daf_mpls.c487 [RTA_OIF] = { .type = NLA_U32 },
1866 case RTA_OIF: in rtm_to_route_config()
2018 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in mpls_dump_route()
2127 if (i == RTA_OIF) { in mpls_valid_fib_dump_req()
2488 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in mpls_getroute()
/openbmc/linux/net/ipv4/
H A Dfib_frontend.c665 [RTA_OIF] = { .type = NLA_U32 },
776 case RTA_OIF: in rtm_to_fib_config()
962 case RTA_OIF: in ip_valid_fib_dump_req()
H A Droute.c2998 nla_put_u32(skb, RTA_OIF, rt->dst.dev->ifindex)) in rt_fill_info()
3282 case RTA_OIF: in inet_rtm_valid_getroute_req()
3354 fl4.flowi4_oif = tb[RTA_OIF] ? nla_get_u32(tb[RTA_OIF]) : 0; in inet_rtm_getroute()
H A Dfib_semantics.c1690 nla_put_u32(skb, RTA_OIF, nhc->nhc_dev->ifindex)) in fib_nexthop_info()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h365 RTA_OIF, enumerator
/openbmc/linux/tools/testing/selftests/net/
H A Dudpgso.c429 rta->rta_type = RTA_OIF; in set_route_mtu()
H A Dipsec.c454 if (rtattr_pack(&req.nh, sizeof(req), RTA_OIF, &index, sizeof(index))) in ip4_route_set()
/openbmc/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c136 case RTA_OIF: in read_route()
/openbmc/linux/net/ipv6/
H A Droute.c4988 [RTA_OIF] = { .type = NLA_U32 },
5057 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config()
5096 if (tb[RTA_OIF]) in rtm_to_fib6_config()
5097 cfg->fc_ifindex = nla_get_u32(tb[RTA_OIF]); in rtm_to_fib6_config()
5721 if (dst->dev && nla_put_u32(skb, RTA_OIF, dst->dev->ifindex)) in rt6_fill_node()
6020 case RTA_OIF: in inet6_rtm_valid_getroute_req()
6076 if (tb[RTA_OIF]) in inet6_rtm_getroute()
6077 oif = nla_get_u32(tb[RTA_OIF]); in inet6_rtm_getroute()