Home
last modified time | relevance | path

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

/openbmc/phosphor-networkd/src/
H A Drtnetlink.cpp104 case RTA_GATEWAY: in parse()
/openbmc/linux/net/ipv4/
H A Dfib_semantics.c724 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_get_nhs()
951 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_nh_match()
1660 if (nla_put_in_addr(skb, RTA_GATEWAY, nhc->nhc_gw.ipv4)) in fib_nexthop_info()
1679 } else if (nla_put_in6_addr(skb, RTA_GATEWAY, in fib_nexthop_info()
H A Dfib_frontend.c666 [RTA_GATEWAY] = { .type = NLA_U32 },
779 case RTA_GATEWAY: in rtm_to_fib_config()
H A Droute.c3015 nla_put_in_addr(skb, RTA_GATEWAY, rt->rt_gw4)) { in rt_fill_info()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h366 RTA_GATEWAY, enumerator
/openbmc/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c132 case RTA_GATEWAY: in read_route()
/openbmc/linux/net/ipv6/
H A Droute.c4989 [RTA_GATEWAY] = { .len = sizeof(struct in6_addr) },
5060 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config()
5069 if (tb[RTA_GATEWAY]) { in rtm_to_fib6_config()
5070 cfg->fc_gateway = nla_get_in6_addr(tb[RTA_GATEWAY]); in rtm_to_fib6_config()
5241 NL_SET_ERR_MSG(extack, "Invalid IPv6 address in RTA_GATEWAY"); in fib6_gw_from_attr()
5288 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_add()
5459 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_del()
5532 + nla_total_size(16); /* RTA_GATEWAY */ in rt6_nh_nlmsg_size()
5575 + nla_total_size(16) /* RTA_GATEWAY */ in rt6_nlmsg_size()
5721 nla_put_in6_addr(skb, RTA_GATEWAY, in rt6_fill_node()
[all...]
/openbmc/linux/net/mpls/
H A Daf_mpls.c1887 case RTA_GATEWAY: in rtm_to_route_config()