Home
last modified time | relevance | path

Searched refs:rt (Results 1 – 8 of 8) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c16 struct fib6_info *rt = ctx->rt; in dump_ipv6_route() local
22 if (rt == (void *)0) in dump_ipv6_route()
25 fib6_nh = &rt->fib6_nh[0]; in dump_ipv6_route()
26 flags = rt->fib6_flags; in dump_ipv6_route()
29 nh = rt->nh; in dump_ipv6_route()
30 if (rt->nh) in dump_ipv6_route()
33 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_dst.addr, rt->fib6_dst.plen); in dump_ipv6_route()
36 BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_src.addr, in dump_ipv6_route()
37 rt->fib6_src.plen); in dump_ipv6_route()
50 BPF_SEQ_PRINTF(seq, "%08x %08x %08x %08x %8s\n", rt->fib6_metric, in dump_ipv6_route()
[all …]
Dbpf_iter.h50 struct fib6_info *rt; member
/tools/testing/selftests/net/
Dudpgso.c363 struct rtmsg *rt; in set_route_mtu() local
365 NLMSG_ALIGN(sizeof(*rt)) + in set_route_mtu()
384 rt = (void *)(data + off); in set_route_mtu()
385 rt->rtm_family = is_ipv4 ? AF_INET : AF_INET6; in set_route_mtu()
386 rt->rtm_table = RT_TABLE_MAIN; in set_route_mtu()
387 rt->rtm_dst_len = alen << 3; in set_route_mtu()
388 rt->rtm_protocol = RTPROT_BOOT; in set_route_mtu()
389 rt->rtm_scope = RT_SCOPE_UNIVERSE; in set_route_mtu()
390 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
391 off += NLMSG_ALIGN(sizeof(*rt)); in set_route_mtu()
Dipsec.c392 struct rtmsg rt; in ip4_route_set() member
398 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.rt)); in ip4_route_set()
402 req.rt.rtm_family = AF_INET; in ip4_route_set()
403 req.rt.rtm_dst_len = 32; in ip4_route_set()
404 req.rt.rtm_table = RT_TABLE_MAIN; in ip4_route_set()
405 req.rt.rtm_protocol = RTPROT_BOOT; in ip4_route_set()
406 req.rt.rtm_scope = RT_SCOPE_LINK; in ip4_route_set()
407 req.rt.rtm_type = RTN_UNICAST; in ip4_route_set()
/tools/perf/tests/
Dperf-targz-src-pkg14 TARBALL=$(ls -rt perf-*.tar.gz)
/tools/testing/selftests/bpf/
DREADME.rst63 ; BPF_SEQ_PRINTF(seq, "%pi6 %02x ", &rt->fib6_dst.addr, rt->fib6_dst.plen);
/tools/firewire/
Dnosy-dump.h83 uint32_t rt:2; member
/tools/perf/scripts/python/
Dexported-sql-viewer.py2102 rt = self.XToPixel(x)
2103 if rt > px:
2110 rt = self.YToPixel(y)
2111 if rt > py: