Home
last modified time | relevance | path

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

/linux/net/phonet/
A 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/net/decnet/
A Ddn_table.c327 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()
A Ddn_fib.c377 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()
A Ddn_route.c1573 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/net/mpls/
A Daf_mpls.c485 [RTA_DST] = { .type = NLA_U32 },
1886 case RTA_DST: in rtm_to_route_config()
2006 if (nla_put_labels(skb, RTA_DST, 1, &label)) in mpls_dump_route()
2331 if ((tb[RTA_DST] || tb[RTA_NEWDST]) && !rtm->rtm_dst_len) { in mpls_valid_getroute_req()
2341 case RTA_DST: in mpls_valid_getroute_req()
2378 if (tb[RTA_DST]) { in mpls_getroute()
2381 if (nla_get_labels(tb[RTA_DST], 1, &label_count, in mpls_getroute()
2486 if (nla_put_labels(skb, RTA_DST, 1, &in_label)) in mpls_getroute()
/linux/net/mctp/
A Droute.c1078 [RTA_DST] = { .type = NLA_U8 },
1103 if (!tb[RTA_DST]) { in mctp_route_nlparse()
1107 *daddr_start = nla_get_u8(tb[RTA_DST]); in mctp_route_nlparse()
1228 if (nla_put_u8(skb, RTA_DST, rt->min)) in mctp_fill_rtinfo()
/linux/net/ipv4/
A Dipmr.c2325 nla_put_in_addr(skb, RTA_DST, c->mfc_mcastgrp)) in ipmr_fill_mroute()
2492 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in ipmr_rtm_valid_getroute_req()
2503 case RTA_DST: in ipmr_rtm_valid_getroute_req()
2532 grp = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in ipmr_rtm_getroute()
2606 [RTA_DST] = { .type = NLA_U32 },
2671 case RTA_DST: in rtm_to_ipmr_mfcc()
A Droute.c2947 if (nla_put_in_addr(skb, RTA_DST, dst)) in rt_fill_info()
3228 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet_rtm_valid_getroute_req()
3241 case RTA_DST: in inet_rtm_valid_getroute_req()
3283 dst = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in inet_rtm_getroute()
A Dfib_frontend.c656 [RTA_DST] = { .type = NLA_U32 },
759 case RTA_DST: in rtm_to_fib_config()
A Dfib_semantics.c1803 nla_put_in_addr(skb, RTA_DST, fri->dst)) in fib_dump_info()
/linux/include/uapi/linux/
A Drtnetlink.h353 RTA_DST, enumerator
/linux/net/ipv6/
A Droute.c5072 if (tb[RTA_DST]) { in rtm_to_fib6_config()
5075 if (nla_len(tb[RTA_DST]) < plen) in rtm_to_fib6_config()
5078 nla_memcpy(&cfg->fc_dst, tb[RTA_DST], plen); in rtm_to_fib6_config()
5659 if (nla_put_in6_addr(skb, RTA_DST, dest)) in rt6_fill_node()
5663 if (nla_put_in6_addr(skb, RTA_DST, &rt6_dst->addr)) in rt6_fill_node()
5995 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet6_rtm_valid_getroute_req()
6006 case RTA_DST: in inet6_rtm_valid_getroute_req()
6054 if (tb[RTA_DST]) { in inet6_rtm_getroute()
6055 if (nla_len(tb[RTA_DST]) < sizeof(struct in6_addr)) in inet6_rtm_getroute()
6058 fl6.daddr = *(struct in6_addr *)nla_data(tb[RTA_DST]); in inet6_rtm_getroute()
A Dip6mr.c2354 nla_put_in6_addr(skb, RTA_DST, &c->mf6c_mcastgrp)) in ip6mr_fill_mroute()
/linux/tools/testing/selftests/net/
A Dudpgso.c394 rta->rta_type = RTA_DST; in set_route_mtu()
A Dipsec.c409 if (rtattr_pack(&req.nh, sizeof(req), RTA_DST, &dst, sizeof(dst))) in ip4_route_set()

Completed in 64 milliseconds