Home
last modified time | relevance | path

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

/linux-6.6.21/include/uapi/linux/
Dnexthop.h45 NHA_GATEWAY, /* be32 (IPv4) or in6_addr (IPv6) gw address */ enumerator
/linux-6.6.21/net/ipv4/
Dnexthop.c35 [NHA_GATEWAY] = { .type = NLA_BINARY },
748 nla_put_be32(skb, NHA_GATEWAY, fib_nh->fib_nh_gw4)) in nh_fill_node()
755 nla_put_in6_addr(skb, NHA_GATEWAY, &fib6_nh->fib_nh_gw6)) in nh_fill_node()
2858 if (tb[NHA_GATEWAY] || tb[NHA_OIF] || in rtm_to_nh_config()
2894 if (tb[NHA_GATEWAY]) { in rtm_to_nh_config()
2895 struct nlattr *gwa = tb[NHA_GATEWAY]; in rtm_to_nh_config()