Home
last modified time | relevance | path

Searched refs:RTA_GATEWAY (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/net/ipv4/
H A Dfib_semantics.c753 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_get_nhs()
980 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_nh_match()
1610 if (nla_put_in_addr(skb, RTA_GATEWAY, nhc->nhc_gw.ipv4)) in fib_nexthop_info()
1629 } else if (nla_put_in6_addr(skb, RTA_GATEWAY, in fib_nexthop_info()
H A Dfib_frontend.c672 [RTA_GATEWAY] = { .type = NLA_U32 },
785 case RTA_GATEWAY: in rtm_to_fib_config()
H A Droute.c2985 nla_put_in_addr(skb, RTA_GATEWAY, rt->rt_gw4)) { in rt_fill_info()
/linux-6.15/include/uapi/linux/
H A Drtnetlink.h375 RTA_GATEWAY, enumerator
/linux-6.15/samples/bpf/
H A Dxdp_router_ipv4_user.c132 case RTA_GATEWAY: in read_route()
/linux-6.15/net/ipv6/
H A Droute.c5033 [RTA_GATEWAY] = { .len = sizeof(struct in6_addr) },
5111 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config()
5120 if (tb[RTA_GATEWAY]) { in rtm_to_fib6_config()
5121 cfg->fc_gateway = nla_get_in6_addr(tb[RTA_GATEWAY]); in rtm_to_fib6_config()
5341 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_add()
5512 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_del()
5774 nla_put_in6_addr(skb, RTA_GATEWAY, &rt6->rt6i_gateway)) in rt6_fill_node()
/linux-6.15/net/mpls/
H A Daf_mpls.c1885 case RTA_GATEWAY: in rtm_to_route_config()