Home
last modified time | relevance | path

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

/external/iptables/iptables/
Dxshared.c249 static int xtables_lock(int wait, struct timeval *wait_interval) in xtables_lock() argument
281 else if (timercmp(&time_left, wait_interval, <)) in xtables_lock()
290 wait_time = *wait_interval; in xtables_lock()
292 timersub(&time_left, wait_interval, &time_left); in xtables_lock()
302 int xtables_lock_or_exit(int wait, struct timeval *wait_interval) in xtables_lock_or_exit() argument
304 int lock = xtables_lock(wait, wait_interval); in xtables_lock_or_exit()
340 void parse_wait_interval(int argc, char *argv[], struct timeval *wait_interval) in parse_wait_interval() argument
360 wait_interval->tv_sec = 0; in parse_wait_interval()
361 wait_interval->tv_usec = usec; in parse_wait_interval()
Diptables-restore.c25 static struct timeval wait_interval = { variable
138 parse_wait_interval(argc, argv, &wait_interval); in ip46tables_restore_main()
168 if (!wait_interval.tv_sec && !wait) { in ip46tables_restore_main()
206 lock = xtables_lock_or_exit(wait, &wait_interval); in ip46tables_restore_main()
Dxshared.h185 void parse_wait_interval(int argc, char *argv[], struct timeval *wait_interval);
Dip6tables.c1071 struct timeval wait_interval = { in do_command6() local
1349 parse_wait_interval(argc, argv, &wait_interval); in do_command6()
1516 xtables_lock_or_exit(wait, &wait_interval); in do_command6()
Diptables.c1064 struct timeval wait_interval = { in do_command4() local
1341 parse_wait_interval(argc, argv, &wait_interval); in do_command4()
1504 xtables_lock_or_exit(wait, &wait_interval); in do_command4()
Dxtables.c466 struct timeval wait_interval; in do_parse() local
798 parse_wait_interval(argc, argv, &wait_interval); in do_parse()