Home
last modified time | relevance | path

Searched refs:param_buffer (Results 1 – 3 of 3) sorted by relevance

/external/iptables/iptables/
Dip6tables-restore.c120 char param_buffer[1024], *curchar; in add_param_to_argv() local
129 param_buffer[param_len++] = *curchar; in add_param_to_argv()
139 param_buffer[param_len++] = *curchar; in add_param_to_argv()
157 param_buffer[param_len] = '\0'; in add_param_to_argv()
160 if (!strncmp(param_buffer, "-t", 2) in add_param_to_argv()
161 || !strncmp(param_buffer, "--table", 8)) { in add_param_to_argv()
168 add_argv(param_buffer); in add_param_to_argv()
172 param_buffer[param_len++] = *curchar; in add_param_to_argv()
174 if (param_len >= sizeof(param_buffer)) in add_param_to_argv()
Diptables-restore.c119 char param_buffer[1024], *curchar; in add_param_to_argv() local
128 param_buffer[param_len++] = *curchar; in add_param_to_argv()
138 param_buffer[param_len++] = *curchar; in add_param_to_argv()
156 param_buffer[param_len] = '\0'; in add_param_to_argv()
159 if (!strncmp(param_buffer, "-t", 2) in add_param_to_argv()
160 || !strncmp(param_buffer, "--table", 8)) { in add_param_to_argv()
167 add_argv(param_buffer); in add_param_to_argv()
171 param_buffer[param_len++] = *curchar; in add_param_to_argv()
173 if (param_len >= sizeof(param_buffer)) in add_param_to_argv()
Diptables-xml.c743 char param_buffer[1024]; in iptables_xml_main() local
815 strncpy(param_buffer, param_start, in iptables_xml_main()
817 *(param_buffer + param_len) = '\0'; in iptables_xml_main()
820 if (!strncmp(param_buffer, "-t", 3) in iptables_xml_main()
821 || !strncmp(param_buffer, in iptables_xml_main()
830 add_argv(param_buffer, quoted); in iptables_xml_main()