Home
last modified time | relevance | path

Searched refs:RTA_DST (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/net/phonet/
Dpn_netlink.c180 if (nla_put_u8(skb, RTA_DST, dst) || in fill_route()
214 [RTA_DST] = { .type = NLA_U8 },
244 if (tb[RTA_DST] == NULL || tb[RTA_OIF] == NULL) in route_doit()
246 dst = nla_get_u8(tb[RTA_DST]); in route_doit()
/linux-6.1.9/net/mpls/
Daf_mpls.c485 [RTA_DST] = { .type = NLA_U32 },
1885 case RTA_DST: in rtm_to_route_config()
2005 if (nla_put_labels(skb, RTA_DST, 1, &label)) in mpls_dump_route()
2330 if ((tb[RTA_DST] || tb[RTA_NEWDST]) && !rtm->rtm_dst_len) { in mpls_valid_getroute_req()
2340 case RTA_DST: in mpls_valid_getroute_req()
2377 if (tb[RTA_DST]) { in mpls_getroute()
2380 if (nla_get_labels(tb[RTA_DST], 1, &label_count, in mpls_getroute()
2485 if (nla_put_labels(skb, RTA_DST, 1, &in_label)) in mpls_getroute()
/linux-6.1.9/net/mctp/
Droute.c1157 [RTA_DST] = { .type = NLA_U8 },
1182 if (!tb[RTA_DST]) { in mctp_route_nlparse()
1186 *daddr_start = nla_get_u8(tb[RTA_DST]); in mctp_route_nlparse()
1307 if (nla_put_u8(skb, RTA_DST, rt->min)) in mctp_fill_rtinfo()
/linux-6.1.9/net/ipv4/
Dipmr.c2328 nla_put_in_addr(skb, RTA_DST, c->mfc_mcastgrp)) in ipmr_fill_mroute()
2495 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in ipmr_rtm_valid_getroute_req()
2506 case RTA_DST: in ipmr_rtm_valid_getroute_req()
2535 grp = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in ipmr_rtm_getroute()
2609 [RTA_DST] = { .type = NLA_U32 },
2674 case RTA_DST: in rtm_to_ipmr_mfcc()
Droute.c2970 if (nla_put_in_addr(skb, RTA_DST, dst)) in rt_fill_info()
3251 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet_rtm_valid_getroute_req()
3264 case RTA_DST: in inet_rtm_valid_getroute_req()
3306 dst = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in inet_rtm_getroute()
Dfib_frontend.c659 [RTA_DST] = { .type = NLA_U32 },
770 case RTA_DST: in rtm_to_fib_config()
Dfib_semantics.c1803 nla_put_in_addr(skb, RTA_DST, fri->dst)) in fib_dump_info()
/linux-6.1.9/net/ipv6/
Dip6mr.c2382 nla_put_in6_addr(skb, RTA_DST, &c->mf6c_mcastgrp)) in ip6mr_fill_mroute()
2518 [RTA_DST] = NLA_POLICY_EXACT_LEN(sizeof(struct in6_addr)),
2546 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in ip6mr_rtm_valid_getroute_req()
2572 if (tb[RTA_DST]) in ip6mr_rtm_getroute()
2573 grp = nla_get_in6_addr(tb[RTA_DST]); in ip6mr_rtm_getroute()
Droute.c5065 if (tb[RTA_DST]) { in rtm_to_fib6_config()
5068 if (nla_len(tb[RTA_DST]) < plen) in rtm_to_fib6_config()
5071 nla_memcpy(&cfg->fc_dst, tb[RTA_DST], plen); in rtm_to_fib6_config()
5652 if (nla_put_in6_addr(skb, RTA_DST, dest)) in rt6_fill_node()
5656 if (nla_put_in6_addr(skb, RTA_DST, &rt6_dst->addr)) in rt6_fill_node()
5988 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet6_rtm_valid_getroute_req()
5999 case RTA_DST: in inet6_rtm_valid_getroute_req()
6047 if (tb[RTA_DST]) { in inet6_rtm_getroute()
6048 if (nla_len(tb[RTA_DST]) < sizeof(struct in6_addr)) in inet6_rtm_getroute()
6051 fl6.daddr = *(struct in6_addr *)nla_data(tb[RTA_DST]); in inet6_rtm_getroute()
/linux-6.1.9/include/uapi/linux/
Drtnetlink.h362 RTA_DST, enumerator
/linux-6.1.9/tools/testing/selftests/net/
Dudpgso.c394 rta->rta_type = RTA_DST; in set_route_mtu()
Dipsec.c447 if (rtattr_pack(&req.nh, sizeof(req), RTA_DST, &dst, sizeof(dst))) in ip4_route_set()