Searched refs:RTA_SRC (Results 1 - 15 of 15) sorted by relevance
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ipmr.c | 2326 if (nla_put_in_addr(skb, RTA_SRC, c->mfc_origin) || in ipmr_fill_mroute() 2355 + nla_total_size(4) /* RTA_SRC */ in mroute_msgsize() 2493 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in ipmr_rtm_valid_getroute_req() 2504 case RTA_SRC: in ipmr_rtm_valid_getroute_req() 2533 src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; in ipmr_rtm_getroute() 2607 [RTA_SRC] = { .type = NLA_U32 }, 2670 case RTA_SRC: in rtm_to_ipmr_mfcc()
|
H A D | route.c | 2899 if (nla_put_in_addr(skb, RTA_SRC, src)) in rt_fill_info() 3172 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in inet_rtm_valid_getroute_req() 3185 case RTA_SRC: in inet_rtm_valid_getroute_req() 3227 src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; in inet_rtm_getroute()
|
H A D | fib_frontend.c | 660 [RTA_SRC] = { .type = NLA_U32 },
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ipmr.c | 2342 if (nla_put_in_addr(skb, RTA_SRC, c->mfc_origin) || in ipmr_fill_mroute() 2371 + nla_total_size(4) /* RTA_SRC */ in mroute_msgsize() 2509 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in ipmr_rtm_valid_getroute_req() 2520 case RTA_SRC: in ipmr_rtm_valid_getroute_req() 2549 src = tb[RTA_SRC] ? nla_get_in_addr(tb[RTA_SRC]) : 0; in ipmr_rtm_getroute() 2623 [RTA_SRC] = { .type = NLA_U32 }, 2686 case RTA_SRC: in rtm_to_ipmr_mfcc()
|
H A D | route.c | 2973 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()
|
H A D | fib_frontend.c | 663 [RTA_SRC] = { .type = NLA_U32 },
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | ip6mr.c | 2371 if (nla_put_in6_addr(skb, RTA_SRC, &c->mf6c_origin) || in ip6mr_fill_mroute() 2400 + nla_total_size(sizeof(struct in6_addr)) /* RTA_SRC */ in mr6_msgsize() 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()
|
H A D | route.c | 5072 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() 5550 + nla_total_size(16) /* RTA_SRC */ in rt6_nlmsg_size() 5652 if (nla_put_in6_addr(skb, RTA_SRC, src)) in rt6_fill_node() 5656 nla_put_in6_addr(skb, RTA_SRC, &rt6_src->addr)) in rt6_fill_node() 5979 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in inet6_rtm_valid_getroute_req() 5990 case RTA_SRC: in inet6_rtm_valid_getroute_req() 6032 if (tb[RTA_SRC]) { in inet6_rtm_getroute() 6033 if (nla_len(tb[RTA_SRC]) < sizeo in inet6_rtm_getroute() [all...] |
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | rtnetlink.h | 341 RTA_SRC, enumerator
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | rtnetlink.h | 363 RTA_SRC, enumerator
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 253 RTA_SRC, enumerator
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 222 RTA_SRC, enumerator
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | rtnetlink.h | 253 RTA_SRC, enumerator
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | route.c | 4979 if (tb[RTA_SRC]) { in rtm_to_fib6_config() 4982 if (nla_len(tb[RTA_SRC]) < plen) in rtm_to_fib6_config() 4985 nla_memcpy(&cfg->fc_src, tb[RTA_SRC], plen); in rtm_to_fib6_config() 5457 + nla_total_size(16) /* RTA_SRC */ in rt6_nlmsg_size() 5559 if (nla_put_in6_addr(skb, RTA_SRC, src)) in rt6_fill_node() 5563 nla_put_in6_addr(skb, RTA_SRC, &rt6_src->addr)) in rt6_fill_node() 5880 if ((tb[RTA_SRC] && !rtm->rtm_src_len) || in inet6_rtm_valid_getroute_req() 5891 case RTA_SRC: in inet6_rtm_valid_getroute_req() 5933 if (tb[RTA_SRC]) { in inet6_rtm_getroute() 5934 if (nla_len(tb[RTA_SRC]) < sizeo in inet6_rtm_getroute() [all...] |
H A D | ip6mr.c | 2356 if (nla_put_in6_addr(skb, RTA_SRC, &c->mf6c_origin) || in ip6mr_fill_mroute() 2385 + nla_total_size(sizeof(struct in6_addr)) /* RTA_SRC */ in mr6_msgsize()
|
Completed in 50 milliseconds