Home
last modified time | relevance | path

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

/linux/net/mctp/
H A Droute.c1412 [RTA_GATEWAY] = NLA_POLICY_EXACT_LEN(sizeof(struct mctp_fq_addr)),
1452 if (tb[RTA_GATEWAY]) in mctp_route_nlparse_common()
1453 gateway = nla_data(tb[RTA_GATEWAY]); in mctp_route_nlparse_common()
1693 if (nla_put(skb, RTA_GATEWAY, in mctp_fill_rtinfo()
/linux/net/ipv4/
H A Dfib_semantics.c500 nhsize += nla_total_size(4); /* RTA_GATEWAY */ in fib_nexthop_nlmsg_size()
735 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_GATEWAY"); in fib_gw_from_attr()
778 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_get_nhs()
839 "Nexthop gateway does not match RTA_GATEWAY or RTA_VIA"); in fib_get_nhs()
1005 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_nh_match()
1635 if (nla_put_in_addr(skb, RTA_GATEWAY, nhc->nhc_gw.ipv4)) in fib_nexthop_info()
1654 } else if (nla_put_in6_addr(skb, RTA_GATEWAY, in fib_nexthop_info()
H A Dfib_frontend.c693 [RTA_GATEWAY] = { .type = NLA_U32 },
806 case RTA_GATEWAY: in rtm_to_fib_config()
H A Droute.c3036 nla_put_in_addr(skb, RTA_GATEWAY, rt->rt_gw4)) { in rt_fill_info()
/linux/tools/include/uapi/linux/
H A Drtnetlink.h375 RTA_GATEWAY, enumerator
/linux/include/uapi/linux/
H A Drtnetlink.h375 RTA_GATEWAY, enumerator
/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c132 case RTA_GATEWAY: in read_route()
/linux/net/ipv6/
H A Droute.c5134 [RTA_GATEWAY] = { .len = sizeof(struct in6_addr) },
5178 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in rtm_to_fib6_multipath_config()
5182 "Invalid IPv6 address in RTA_GATEWAY"); in rtm_to_fib6_multipath_config()
5260 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config()
5269 if (tb[RTA_GATEWAY]) { in rtm_to_fib6_config()
5270 cfg->fc_gateway = nla_get_in6_addr(tb[RTA_GATEWAY]); in rtm_to_fib6_config()
5480 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_add()
5636 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_del()
5708 + nla_total_size(16); /* RTA_GATEWAY */ in rt6_nh_nlmsg_size()
5753 + nla_total_size(16) /* RTA_GATEWAY */ in rt6_nlmsg_size()
[all...]
/linux/net/mpls/
H A Daf_mpls.c1946 case RTA_GATEWAY: in rtm_to_route_config()