Searched refs:RTA_DST (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/net/phonet/ |
D | pn_netlink.c | 180 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-v6.6/net/mpls/ |
D | af_mpls.c | 486 [RTA_DST] = { .type = NLA_U32 }, 1891 case RTA_DST: in rtm_to_route_config() 2011 if (nla_put_labels(skb, RTA_DST, 1, &label)) in mpls_dump_route() 2336 if ((tb[RTA_DST] || tb[RTA_NEWDST]) && !rtm->rtm_dst_len) { in mpls_valid_getroute_req() 2346 case RTA_DST: in mpls_valid_getroute_req() 2383 if (tb[RTA_DST]) { in mpls_getroute() 2386 if (nla_get_labels(tb[RTA_DST], 1, &label_count, in mpls_getroute() 2491 if (nla_put_labels(skb, RTA_DST, 1, &in_label)) in mpls_getroute()
|
/Linux-v6.6/net/mctp/ |
D | route.c | 1167 [RTA_DST] = { .type = NLA_U8 }, 1192 if (!tb[RTA_DST]) { in mctp_route_nlparse() 1196 *daddr_start = nla_get_u8(tb[RTA_DST]); in mctp_route_nlparse() 1314 if (nla_put_u8(skb, RTA_DST, rt->min)) in mctp_fill_rtinfo()
|
/Linux-v6.6/net/ipv4/ |
D | ipmr.c | 2342 nla_put_in_addr(skb, RTA_DST, c->mfc_mcastgrp)) in ipmr_fill_mroute() 2509 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in ipmr_rtm_valid_getroute_req() 2520 case RTA_DST: in ipmr_rtm_valid_getroute_req() 2549 grp = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in ipmr_rtm_getroute() 2623 [RTA_DST] = { .type = NLA_U32 }, 2688 case RTA_DST: in rtm_to_ipmr_mfcc()
|
D | route.c | 2969 if (nla_put_in_addr(skb, RTA_DST, dst)) in rt_fill_info() 3250 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet_rtm_valid_getroute_req() 3263 case RTA_DST: in inet_rtm_valid_getroute_req() 3305 dst = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in inet_rtm_getroute()
|
D | fib_frontend.c | 662 [RTA_DST] = { .type = NLA_U32 }, 773 case RTA_DST: in rtm_to_fib_config()
|
D | fib_semantics.c | 1810 nla_put_in_addr(skb, RTA_DST, fri->dst)) in fib_dump_info()
|
/Linux-v6.6/net/ipv6/ |
D | ip6mr.c | 2372 nla_put_in6_addr(skb, RTA_DST, &c->mf6c_mcastgrp)) in ip6mr_fill_mroute() 2508 [RTA_DST] = NLA_POLICY_EXACT_LEN(sizeof(struct in6_addr)), 2536 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in ip6mr_rtm_valid_getroute_req() 2562 if (tb[RTA_DST]) in ip6mr_rtm_getroute() 2563 grp = nla_get_in6_addr(tb[RTA_DST]); in ip6mr_rtm_getroute()
|
D | route.c | 5063 if (tb[RTA_DST]) { in rtm_to_fib6_config() 5066 if (nla_len(tb[RTA_DST]) < plen) in rtm_to_fib6_config() 5069 nla_memcpy(&cfg->fc_dst, tb[RTA_DST], plen); in rtm_to_fib6_config() 5651 if (nla_put_in6_addr(skb, RTA_DST, dest)) in rt6_fill_node() 5655 if (nla_put_in6_addr(skb, RTA_DST, &rt6_dst->addr)) in rt6_fill_node() 5987 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet6_rtm_valid_getroute_req() 5998 case RTA_DST: in inet6_rtm_valid_getroute_req() 6046 if (tb[RTA_DST]) { in inet6_rtm_getroute() 6047 if (nla_len(tb[RTA_DST]) < sizeof(struct in6_addr)) in inet6_rtm_getroute() 6050 fl6.daddr = *(struct in6_addr *)nla_data(tb[RTA_DST]); in inet6_rtm_getroute()
|
/Linux-v6.6/include/uapi/linux/ |
D | rtnetlink.h | 362 RTA_DST, enumerator
|
/Linux-v6.6/tools/testing/selftests/net/ |
D | udpgso.c | 394 rta->rta_type = RTA_DST; in set_route_mtu()
|
D | ipsec.c | 447 if (rtattr_pack(&req.nh, sizeof(req), RTA_DST, &dst, sizeof(dst))) in ip4_route_set()
|