Home
last modified time | relevance | path

Searched refs:NHA_GATEWAY (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/include/uapi/linux/
Dnexthop.h42 NHA_GATEWAY, /* be32 (IPv4) or in6_addr (IPv6) gw address */ enumerator
/Linux-v5.10/net/ipv4/
Dnexthop.c31 [NHA_GATEWAY] = { .type = NLA_BINARY },
279 nla_put_be32(skb, NHA_GATEWAY, fib_nh->fib_nh_gw4)) in nh_fill_node()
286 nla_put_in6_addr(skb, NHA_GATEWAY, &fib6_nh->fib_nh_gw6)) in nh_fill_node()
1546 if (tb[NHA_GATEWAY] || tb[NHA_OIF] || in rtm_to_nh_config()
1582 if (tb[NHA_GATEWAY]) { in rtm_to_nh_config()
1583 struct nlattr *gwa = tb[NHA_GATEWAY]; in rtm_to_nh_config()