Home
last modified time | relevance | path

Searched refs:is_rhost (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/lib/
Dtst_net_ip_prefix.c52 int is_ipv6, is_rhost = 0, prefix; in main() local
63 is_rhost = 1; in main()
65 ip_str = argv[is_rhost ? 2 : 1]; in main()
82 print_ivar(is_rhost ? "IPV6_RPREFIX" : "IPV6_LPREFIX", prefix); in main()
83 tst_print_svar(is_rhost ? "IPV6_RHOST" : "IPV6_LHOST", ip_str); in main()
85 print_ivar(is_rhost ? "IPV4_RPREFIX" : "IPV4_LPREFIX", prefix); in main()
86 tst_print_svar(is_rhost ? "IPV4_RHOST" : "IPV4_LHOST", ip_str); in main()
Dtst_net_iface_prefix.c110 int is_ipv6, is_rhost = 0; in main() local
121 is_rhost = 1; in main()
123 ip_str = argv[is_rhost ? 2 : 1]; in main()
144 tst_print_svar_change(is_rhost ? "RHOST_IFACES" : "LHOST_IFACES", in main()
147 print_ivar(is_rhost ? "IPV6_RPREFIX" : "IPV6_LPREFIX", prefix); in main()
149 print_ivar(is_rhost ? "IPV4_RPREFIX" : "IPV4_LPREFIX", prefix); in main()