Searched refs:wait_interval (Results 1 – 6 of 6) sorted by relevance
/external/iptables/iptables/ |
D | xshared.c | 249 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()
|
D | iptables-restore.c | 25 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()
|
D | xshared.h | 185 void parse_wait_interval(int argc, char *argv[], struct timeval *wait_interval);
|
D | ip6tables.c | 1071 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()
|
D | iptables.c | 1064 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()
|
D | xtables.c | 466 struct timeval wait_interval; in do_parse() local 798 parse_wait_interval(argc, argv, &wait_interval); in do_parse()
|