Searched refs:RTA_DST (Results 1 – 15 of 15) sorted by relevance
/linux-5.19.10/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-5.19.10/net/decnet/ |
D | dn_table.c | 327 nla_put(skb, RTA_DST, 2, dst) < 0) in dn_fib_dump_info() 549 if (attrs[RTA_DST]) { in dn_fib_table_insert() 550 __le16 dst = nla_get_le16(attrs[RTA_DST]); in dn_fib_table_insert() 684 if (attrs[RTA_DST]) { in dn_fib_table_delete() 685 __le16 dst = nla_get_le16(attrs[RTA_DST]); in dn_fib_table_delete()
|
D | dn_fib.c | 377 if (r->rtm_type != RTN_LOCAL || !attrs[RTA_DST] || in dn_fib_create_info() 378 fi->fib_prefsrc != nla_get_le16(attrs[RTA_DST])) in dn_fib_create_info() 584 [RTA_DST] = (struct nlattr *) &dst_attr, in fib_magic()
|
D | dn_route.c | 1573 nla_put_le16(skb, RTA_DST, rt->rt_daddr) < 0) in dn_rt_fill_info() 1618 [RTA_DST] = { .type = NLA_U16 }, 1666 if (tb[RTA_DST]) in dn_cache_getroute() 1667 fld.daddr = nla_get_le16(tb[RTA_DST]); in dn_cache_getroute()
|
/linux-5.19.10/net/mpls/ |
D | af_mpls.c | 485 [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-5.19.10/net/mctp/ |
D | route.c | 1149 [RTA_DST] = { .type = NLA_U8 }, 1174 if (!tb[RTA_DST]) { in mctp_route_nlparse() 1178 *daddr_start = nla_get_u8(tb[RTA_DST]); in mctp_route_nlparse() 1299 if (nla_put_u8(skb, RTA_DST, rt->min)) in mctp_fill_rtinfo()
|
/linux-5.19.10/net/ipv4/ |
D | ipmr.c | 2321 nla_put_in_addr(skb, RTA_DST, c->mfc_mcastgrp)) in ipmr_fill_mroute() 2488 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in ipmr_rtm_valid_getroute_req() 2499 case RTA_DST: in ipmr_rtm_valid_getroute_req() 2528 grp = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in ipmr_rtm_getroute() 2602 [RTA_DST] = { .type = NLA_U32 }, 2667 case RTA_DST: in rtm_to_ipmr_mfcc()
|
D | route.c | 2979 if (nla_put_in_addr(skb, RTA_DST, dst)) in rt_fill_info() 3260 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet_rtm_valid_getroute_req() 3273 case RTA_DST: in inet_rtm_valid_getroute_req() 3315 dst = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in inet_rtm_getroute()
|
D | fib_frontend.c | 659 [RTA_DST] = { .type = NLA_U32 }, 770 case RTA_DST: in rtm_to_fib_config()
|
D | fib_semantics.c | 1797 nla_put_in_addr(skb, RTA_DST, fri->dst)) in fib_dump_info()
|
/linux-5.19.10/include/uapi/linux/ |
D | rtnetlink.h | 362 RTA_DST, enumerator
|
/linux-5.19.10/tools/testing/selftests/net/ |
D | udpgso.c | 394 rta->rta_type = RTA_DST; in set_route_mtu()
|
D | ipsec.c | 408 if (rtattr_pack(&req.nh, sizeof(req), RTA_DST, &dst, sizeof(dst))) in ip4_route_set()
|
/linux-5.19.10/net/ipv6/ |
D | route.c | 5065 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()
|
D | ip6mr.c | 2377 nla_put_in6_addr(skb, RTA_DST, &c->mf6c_mcastgrp)) in ip6mr_fill_mroute()
|