Home
last modified time | relevance | path

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

/linux/net/decnet/
A Ddn_fib.c183 gw_attr = nla_find((struct nlattr *) (nhp + 1), attrlen, RTA_GATEWAY); in dn_fib_get_nhs()
324 if (attrs[RTA_GATEWAY] && in dn_fib_create_info()
325 fi->fib_nh->nh_gw != nla_get_le16(attrs[RTA_GATEWAY])) in dn_fib_create_info()
333 if (attrs[RTA_GATEWAY]) in dn_fib_create_info()
334 nh->nh_gw = nla_get_le16(attrs[RTA_GATEWAY]); in dn_fib_create_info()
341 if (!attrs[RTA_GATEWAY] || nhs != 1 || attrs[RTA_OIF]) in dn_fib_create_info()
344 fi->fib_nh->nh_gw = nla_get_le16(attrs[RTA_GATEWAY]); in dn_fib_create_info()
349 if (attrs[RTA_GATEWAY] || attrs[RTA_OIF] || attrs[RTA_MULTIPATH]) in dn_fib_create_info()
A Ddn_table.c238 if (attrs[RTA_OIF] || attrs[RTA_GATEWAY]) { in dn_fib_nh_match()
240 (!attrs[RTA_GATEWAY] || nla_get_le16(attrs[RTA_GATEWAY]) != fi->fib_nh->nh_gw)) in dn_fib_nh_match()
262 gw_attr = nla_find((struct nlattr *) (nhp + 1), attrlen, RTA_GATEWAY); in dn_fib_nh_match()
339 nla_put_le16(skb, RTA_GATEWAY, fi->fib_nh->nh_gw) < 0) in dn_fib_dump_info()
364 nla_put_le16(skb, RTA_GATEWAY, nh->nh_gw) < 0) in dn_fib_dump_info()
A Ddn_route.c1594 nla_put_le16(skb, RTA_GATEWAY, rt->rt_gateway) < 0) in dn_rt_fill_info()
1622 [RTA_GATEWAY] = { .type = NLA_U16 },
/linux/net/ipv4/
A Dfib_semantics.c712 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_get_nhs()
932 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_nh_match()
1654 if (nla_put_in_addr(skb, RTA_GATEWAY, nhc->nhc_gw.ipv4)) in fib_nexthop_info()
1673 } else if (nla_put_in6_addr(skb, RTA_GATEWAY, in fib_nexthop_info()
A Dfib_frontend.c660 [RTA_GATEWAY] = { .type = NLA_U32 },
765 case RTA_GATEWAY: in rtm_to_fib_config()
A Droute.c2972 nla_put_in_addr(skb, RTA_GATEWAY, rt->rt_gw4)) { in rt_fill_info()
/linux/include/uapi/linux/
A Drtnetlink.h357 RTA_GATEWAY, enumerator
/linux/samples/bpf/
A Dxdp_router_ipv4_user.c174 case RTA_GATEWAY: in read_route()
/linux/net/ipv6/
A Droute.c4989 [RTA_GATEWAY] = { .len = sizeof(struct in6_addr) },
5054 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config()
5063 if (tb[RTA_GATEWAY]) { in rtm_to_fib6_config()
5064 cfg->fc_gateway = nla_get_in6_addr(tb[RTA_GATEWAY]); in rtm_to_fib6_config()
5278 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_add()
5456 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_del()
5713 nla_put_in6_addr(skb, RTA_GATEWAY, &rt6->rt6i_gateway)) in rt6_fill_node()
/linux/net/mpls/
A Daf_mpls.c1898 case RTA_GATEWAY: in rtm_to_route_config()

Completed in 41 milliseconds