Searched refs:RTA_OIF (Results 1 – 7 of 7) 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 | 1396 [RTA_OIF] = { .type = NLA_U32 }, 1434 if (tb[RTA_OIF]) in mctp_route_nlparse_common() 1435 ifindex = nla_get_u32(tb[RTA_OIF]); in mctp_route_nlparse_common() 1674 if (nla_put_u32(skb, RTA_OIF, rt->dev->dev->ifindex)) in mctp_fill_rtinfo()
|
| /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/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 | 5115 [RTA_OIF] = { .type = NLA_U32 }, 5239 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config() 5278 if (tb[RTA_OIF]) in rtm_to_fib6_config() 5279 cfg->fc_ifindex = nla_get_u32(tb[RTA_OIF]); in rtm_to_fib6_config() 5884 if (dev && nla_put_u32(skb, RTA_OIF, dev->ifindex)) in rt6_fill_node() 6196 case RTA_OIF: in inet6_rtm_valid_getroute_req() 6253 if (tb[RTA_OIF]) in inet6_rtm_getroute() 6254 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()
|