Searched refs:RTA_SRC (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/net/ipv4/ |
H A D | ipmr.c | 2356 if (nla_put_in_addr(skb, RTA_SRC, c->mfc_origin) || in ipmr_fill_mroute() 2523 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in ipmr_rtm_valid_getroute_req() 2534 case RTA_SRC: in ipmr_rtm_valid_getroute_req() 2563 src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; in ipmr_rtm_getroute() 2637 [RTA_SRC] = { .type = NLA_U32 }, 2700 case RTA_SRC: in rtm_to_ipmr_mfcc()
|
H A D | route.c | 2968 if (nla_put_in_addr(skb, RTA_SRC, src)) in rt_fill_info() 3244 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in inet_rtm_valid_getroute_req() 3257 case RTA_SRC: in inet_rtm_valid_getroute_req() 3299 src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; in inet_rtm_getroute()
|
H A D | fib_frontend.c | 663 [RTA_SRC] = { .type = NLA_U32 },
|
/openbmc/linux/net/ipv6/ |
H A D | ip6mr.c | 2387 if (nla_put_in6_addr(skb, RTA_SRC, &c->mf6c_origin) || in ip6mr_fill_mroute() 2523 [RTA_SRC] = NLA_POLICY_EXACT_LEN(sizeof(struct in6_addr)), 2551 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in ip6mr_rtm_valid_getroute_req() 2576 if (tb[RTA_SRC]) in ip6mr_rtm_getroute() 2577 src = nla_get_in6_addr(tb[RTA_SRC]); in ip6mr_rtm_getroute()
|
H A D | route.c | 5079 if (tb[RTA_SRC]) { in rtm_to_fib6_config() 5082 if (nla_len(tb[RTA_SRC]) < plen) in rtm_to_fib6_config() 5085 nla_memcpy(&cfg->fc_src, tb[RTA_SRC], plen); in rtm_to_fib6_config() 5659 if (nla_put_in6_addr(skb, RTA_SRC, src)) in rt6_fill_node() 5663 nla_put_in6_addr(skb, RTA_SRC, &rt6_src->addr)) in rt6_fill_node() 5986 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in inet6_rtm_valid_getroute_req() 5997 case RTA_SRC: in inet6_rtm_valid_getroute_req() 6039 if (tb[RTA_SRC]) { in inet6_rtm_getroute() 6040 if (nla_len(tb[RTA_SRC]) < sizeof(struct in6_addr)) in inet6_rtm_getroute() 6043 fl6.saddr = *(struct in6_addr *)nla_data(tb[RTA_SRC]); in inet6_rtm_getroute()
|
/openbmc/linux/include/uapi/linux/ |
H A D | rtnetlink.h | 363 RTA_SRC, enumerator
|