Home
last modified time | relevance | path

Searched refs:RTA_SRC (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/net/ipv4/
Dipmr.c2341 if (nla_put_in_addr(skb, RTA_SRC, c->mfc_origin) || in ipmr_fill_mroute()
2508 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in ipmr_rtm_valid_getroute_req()
2519 case RTA_SRC: in ipmr_rtm_valid_getroute_req()
2548 src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; in ipmr_rtm_getroute()
2622 [RTA_SRC] = { .type = NLA_U32 },
2685 case RTA_SRC: in rtm_to_ipmr_mfcc()
Droute.c2973 if (nla_put_in_addr(skb, RTA_SRC, src)) in rt_fill_info()
3249 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in inet_rtm_valid_getroute_req()
3262 case RTA_SRC: in inet_rtm_valid_getroute_req()
3304 src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; in inet_rtm_getroute()
Dfib_frontend.c663 [RTA_SRC] = { .type = NLA_U32 },
/Linux-v6.6/net/ipv6/
Dip6mr.c2371 if (nla_put_in6_addr(skb, RTA_SRC, &c->mf6c_origin) || in ip6mr_fill_mroute()
2507 [RTA_SRC] = NLA_POLICY_EXACT_LEN(sizeof(struct in6_addr)),
2535 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in ip6mr_rtm_valid_getroute_req()
2560 if (tb[RTA_SRC]) in ip6mr_rtm_getroute()
2561 src = nla_get_in6_addr(tb[RTA_SRC]); in ip6mr_rtm_getroute()
Droute.c5072 if (tb[RTA_SRC]) { in rtm_to_fib6_config()
5075 if (nla_len(tb[RTA_SRC]) < plen) in rtm_to_fib6_config()
5078 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()
/Linux-v6.6/include/uapi/linux/
Drtnetlink.h363 RTA_SRC, enumerator