Home
last modified time | relevance | path

Searched refs:rtmsg (Results 1 – 25 of 45) sorted by relevance

12

/OK3568_Linux_fs/kernel/include/net/
H A Ddn_fib.h82 int (*insert)(struct dn_fib_table *t, struct rtmsg *r,
85 int (*delete)(struct dn_fib_table *t, struct rtmsg *r,
104 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r,
H A Dip6_route.h122 struct in6_rtmsg *rtmsg);
/OK3568_Linux_fs/kernel/include/linux/
H A Dmroute.h84 struct rtmsg;
87 struct rtmsg *rtm, u32 portid);
H A Dmroute6.h96 struct rtmsg;
98 struct rtmsg *rtm, u32 portid);
H A Dmroute_base.h284 struct mr_mfc *c, struct rtmsg *rtm);
336 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
/OK3568_Linux_fs/kernel/net/decnet/
H A Ddn_table.c229 static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn… in dn_fib_nh_match()
276 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in dn_fib_nlmsg_size()
305 struct rtmsg *rtm; in dn_fib_dump_info()
500 if (nlmsg_len(cb->nlh) >= sizeof(struct rtmsg) && in dn_fib_dump()
501 ((struct rtmsg *)nlmsg_data(cb->nlh))->rtm_flags&RTM_F_CLONED) in dn_fib_dump()
529 static int dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_insert()
666 static int dn_fib_table_delete(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[], in dn_fib_table_delete()
H A Ddn_fib.c165 const struct rtmsg *r) in dn_fib_get_nhs()
195 static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct dn_fib_nh *nh) in dn_fib_check_nh()
267 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct nlattr *attrs[], in dn_fib_create_info()
510 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_delroute()
537 struct rtmsg *r = nlmsg_data(nlh); in dn_fib_rtm_newroute()
564 struct rtmsg rtm; in fib_magic()
H A Ddn_route.c1551 struct rtmsg *r; in dn_rt_fill_info()
1639 struct rtmsg *rtm = nlmsg_data(nlh); in dn_cache_getroute()
1728 struct rtmsg *rtm; in dn_cache_dump()
1733 if (nlmsg_len(cb->nlh) < sizeof(struct rtmsg)) in dn_cache_dump()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dxdp_router_ipv4_user.c127 struct rtmsg *rt_msg; in read_route()
160 rt_msg = (struct rtmsg *)NLMSG_DATA(nh); in read_route()
324 struct rtmsg rt; in get_route_table()
341 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_route_table()
480 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_arp_table()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Drtnetlink.h200 struct rtmsg { struct
350 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
351 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Drtnetlink.h200 struct rtmsg { struct
350 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
351 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Drtnetlink.h221 struct rtmsg { struct
375 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
376 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/ifmetric/ifmetric/
H A Difmetric.c_netlink-invalid-arg.patch9 l = NLMSG_PAYLOAD(n, sizeof(struct rtmsg));
/OK3568_Linux_fs/kernel/net/phonet/
H A Dpn_netlink.c163 struct rtmsg *rtm; in fill_route()
224 struct rtmsg *rtm; in route_doit()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Daf_inet6.c559 struct in6_rtmsg rtmsg; in inet6_ioctl() local
561 if (copy_from_user(&rtmsg, argp, sizeof(rtmsg))) in inet6_ioctl()
563 return ipv6_route_ioctl(net, cmd, &rtmsg); in inet6_ioctl()
H A Droute.c4301 struct in6_rtmsg *rtmsg, in rtmsg_to_fib6_config() argument
4305 .fc_table = l3mdev_fib_table_by_index(net, rtmsg->rtmsg_ifindex) ? in rtmsg_to_fib6_config()
4307 .fc_ifindex = rtmsg->rtmsg_ifindex, in rtmsg_to_fib6_config()
4308 .fc_metric = rtmsg->rtmsg_metric ? : IP6_RT_PRIO_USER, in rtmsg_to_fib6_config()
4309 .fc_expires = rtmsg->rtmsg_info, in rtmsg_to_fib6_config()
4310 .fc_dst_len = rtmsg->rtmsg_dst_len, in rtmsg_to_fib6_config()
4311 .fc_src_len = rtmsg->rtmsg_src_len, in rtmsg_to_fib6_config()
4312 .fc_flags = rtmsg->rtmsg_flags, in rtmsg_to_fib6_config()
4313 .fc_type = rtmsg->rtmsg_type, in rtmsg_to_fib6_config()
4317 .fc_dst = rtmsg->rtmsg_dst, in rtmsg_to_fib6_config()
[all …]
H A Dip6mr.c2258 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route()
2333 struct rtmsg *rtm; in ip6mr_fill_mroute()
2383 NLMSG_ALIGN(sizeof(struct rtmsg)) in mr6_msgsize()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dfib_frontend.c728 struct rtmsg *rtm; in rtm_to_fib_config()
757 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config()
902 struct rtmsg *rtm; in ip_valid_fib_dump_req()
986 } else if (nlmsg_len(nlh) >= sizeof(struct rtmsg)) { in inet_dump_fib()
987 struct rtmsg *rtm = nlmsg_data(nlh); in inet_dump_fib()
H A Dipmr.c2236 struct rtmsg *rtm, u32 portid) in ipmr_get_route()
2303 struct rtmsg *rtm; in ipmr_fill_mroute()
2353 NLMSG_ALIGN(sizeof(struct rtmsg)) in mroute_msgsize()
2467 struct rtmsg *rtm; in ipmr_rtm_valid_getroute_req()
2649 struct rtmsg *rtm; in rtm_to_ipmr_mfcc()
2668 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), rem) { in rtm_to_ipmr_mfcc()
H A Dipmr_base.c209 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute()
H A Dfib_semantics.c465 size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg)) in fib_nlmsg_size()
1797 struct rtmsg *rtm; in fib_dump_info()
H A Droute.c2855 struct rtmsg *r; in rt_fill_info()
3125 struct rtmsg *rtm; in inet_rtm_valid_getroute_req()
3200 struct rtmsg *rtm; in inet_rtm_getroute()
/OK3568_Linux_fs/app/forlinx/quectelCM/libmnl/
H A Difutils.c552 struct rtmsg *rtm; in if_act_on_route()
572 rtm = mnl_nlmsg_put_extra_header(nlh, sizeof(struct rtmsg)); in if_act_on_route()
/OK3568_Linux_fs/kernel/net/mpls/
H A Daf_mpls.c1811 struct rtmsg *rtm; in rtm_to_route_config()
1993 struct rtmsg *rtm; in mpls_dump_route()
2112 struct rtmsg *rtm; in mpls_valid_fib_dump_req()
2242 NLMSG_ALIGN(sizeof(struct rtmsg)) in lfib_nlmsg_size()
2308 struct rtmsg *rtm; in mpls_valid_getroute_req()
2373 struct rtmsg *rtm, *r; in mpls_getroute()
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dudpgso.c363 struct rtmsg *rt; in set_route_mtu()

12