Home
last modified time | relevance | path

Searched refs:gwa (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A Dnexthop.c1618 struct nlattr *gwa = tb[NHA_GATEWAY]; in rtm_to_nh_config() local
1622 if (nla_len(gwa) != sizeof(u32)) { in rtm_to_nh_config()
1626 cfg->gw.ipv4 = nla_get_be32(gwa); in rtm_to_nh_config()
1629 if (nla_len(gwa) != sizeof(struct in6_addr)) { in rtm_to_nh_config()
1633 cfg->gw.ipv6 = nla_get_in6_addr(gwa); in rtm_to_nh_config()
/kernel/linux/linux-6.6/net/ipv4/
H A Dnexthop.c2895 struct nlattr *gwa = tb[NHA_GATEWAY]; in rtm_to_nh_config() local
2899 if (nla_len(gwa) != sizeof(u32)) { in rtm_to_nh_config()
2903 cfg->gw.ipv4 = nla_get_be32(gwa); in rtm_to_nh_config()
2906 if (nla_len(gwa) != sizeof(struct in6_addr)) { in rtm_to_nh_config()
2910 cfg->gw.ipv6 = nla_get_in6_addr(gwa); in rtm_to_nh_config()

Completed in 7 milliseconds