/kernel/linux/linux-5.10/net/ipv4/ |
H A D | fib_semantics.c | 680 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_GATEWAY"); in fib_gw_from_attr() 723 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_get_nhs() 784 "Nexthop gateway does not match RTA_GATEWAY or RTA_VIA"); in fib_get_nhs() 950 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_nh_match() 1679 if (nla_put_in_addr(skb, RTA_GATEWAY, nhc->nhc_gw.ipv4)) in fib_nexthop_info() 1698 } else if (nla_put_in6_addr(skb, RTA_GATEWAY, in fib_nexthop_info()
|
H A D | fib_frontend.c | 663 [RTA_GATEWAY] = { .type = NLA_U32 }, 768 case RTA_GATEWAY: in rtm_to_fib_config()
|
H A D | route.c | 2917 nla_put_in_addr(skb, RTA_GATEWAY, rt->rt_gw4)) { in rt_fill_info()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | fib_semantics.c | 681 NL_SET_ERR_MSG(extack, "Invalid IPv4 address in RTA_GATEWAY"); in fib_gw_from_attr() 724 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_get_nhs() 785 "Nexthop gateway does not match RTA_GATEWAY or RTA_VIA"); in fib_get_nhs() 951 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in fib_nh_match() 1661 if (nla_put_in_addr(skb, RTA_GATEWAY, nhc->nhc_gw.ipv4)) in fib_nexthop_info() 1680 } else if (nla_put_in6_addr(skb, RTA_GATEWAY, in fib_nexthop_info()
|
H A D | fib_frontend.c | 666 [RTA_GATEWAY] = { .type = NLA_U32 }, 779 case RTA_GATEWAY: in rtm_to_fib_config()
|
H A D | route.c | 2994 nla_put_in_addr(skb, RTA_GATEWAY, rt->rt_gw4)) { in rt_fill_info()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | rtnetlink.h | 344 RTA_GATEWAY, enumerator
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | rtnetlink.h | 366 RTA_GATEWAY, enumerator
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 256 RTA_GATEWAY, enumerator
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 225 RTA_GATEWAY, enumerator
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 256 RTA_GATEWAY, enumerator
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 132 case RTA_GATEWAY: in read_route()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 174 case RTA_GATEWAY: in read_route()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | route.c | 4887 [RTA_GATEWAY] = { .len = sizeof(struct in6_addr) }, 4952 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config() 4961 if (tb[RTA_GATEWAY]) { in rtm_to_fib6_config() 4962 cfg->fc_gateway = nla_get_in6_addr(tb[RTA_GATEWAY]); in rtm_to_fib6_config() 5129 NL_SET_ERR_MSG(extack, "Invalid IPv6 address in RTA_GATEWAY"); in fib6_gw_from_attr() 5176 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_add() 5347 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_del() 5420 + nla_total_size(16); /* RTA_GATEWAY */ in rt6_nh_nlmsg_size() 5459 + nla_total_size(16) /* RTA_GATEWAY */ in rt6_nlmsg_size() 5605 nla_put_in6_addr(skb, RTA_GATEWAY, in rt6_fill_node() [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | route.c | 4974 [RTA_GATEWAY] = { .len = sizeof(struct in6_addr) }, 5045 if (tb[RTA_GATEWAY] || tb[RTA_OIF] || in rtm_to_fib6_config() 5054 if (tb[RTA_GATEWAY]) { in rtm_to_fib6_config() 5055 cfg->fc_gateway = nla_get_in6_addr(tb[RTA_GATEWAY]); in rtm_to_fib6_config() 5222 NL_SET_ERR_MSG(extack, "Invalid IPv6 address in RTA_GATEWAY"); in fib6_gw_from_attr() 5269 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_add() 5440 nla = nla_find(attrs, attrlen, RTA_GATEWAY); in ip6_route_multipath_del() 5513 + nla_total_size(16); /* RTA_GATEWAY */ in rt6_nh_nlmsg_size() 5552 + nla_total_size(16) /* RTA_GATEWAY */ in rt6_nlmsg_size() 5698 nla_put_in6_addr(skb, RTA_GATEWAY, in rt6_fill_node() [all...] |
/kernel/linux/linux-5.10/net/mpls/ |
H A D | af_mpls.c | 1906 case RTA_GATEWAY: in rtm_to_route_config() 1907 NL_SET_ERR_MSG(extack, "MPLS does not support RTA_GATEWAY attribute"); in rtm_to_route_config()
|
/kernel/linux/linux-6.6/net/mpls/ |
H A D | af_mpls.c | 1903 case RTA_GATEWAY: in rtm_to_route_config() 1904 NL_SET_ERR_MSG(extack, "MPLS does not support RTA_GATEWAY attribute"); in rtm_to_route_config()
|