Searched refs:procfile (Results 1 - 12 of 12) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/iptables/
H A Dip6tables-save.c41 FILE *procfile = NULL; local
44 procfile = fopen("/proc/net/ip6_tables_names", "re");
45 if (!procfile)
48 while (fgets(tablename, sizeof(tablename), procfile)) {
57 fclose(procfile);
H A Diptables-save.c39 FILE *procfile = NULL; local
42 procfile = fopen("/proc/net/ip_tables_names", "re");
43 if (!procfile)
46 while (fgets(tablename, sizeof(tablename), procfile)) {
55 fclose(procfile);
H A Dxtables.c305 int procfile; local
309 procfile = open(PROC_SYS_MODPROBE, O_RDONLY);
310 if (procfile < 0)
312 if (fcntl(procfile, F_SETFD, FD_CLOEXEC) == -1) {
321 switch (read(procfile, ret, PROCFILE_BUFSIZ)) {
327 close(procfile);
332 close(procfile);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.4.12/src/iptables/
H A Dip6tables-save.c41 FILE *procfile = NULL; local
44 procfile = fopen("/proc/net/ip6_tables_names", "re");
45 if (!procfile)
48 while (fgets(tablename, sizeof(tablename), procfile)) {
57 fclose(procfile);
H A Diptables-save.c39 FILE *procfile = NULL; local
42 procfile = fopen("/proc/net/ip_tables_names", "re");
43 if (!procfile)
46 while (fgets(tablename, sizeof(tablename), procfile)) {
55 fclose(procfile);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/
H A Dudev_selinux.c50 char procfile[PATH_MAX]; local
58 snprintf(procfile, PATH_MAX, "/proc/ide/%s/media", devname);
59 procfile[PATH_MAX-1] = '\0';
61 fp = fopen(procfile, "r");
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.x/
H A Dip6tables-save.c222 FILE *procfile = NULL; local
225 procfile = fopen("/proc/net/ip6_tables_names", "r");
226 if (!procfile)
229 while (fgets(tablename, sizeof(tablename), procfile)) {
H A Diptables-save.c227 FILE *procfile = NULL; local
230 procfile = fopen("/proc/net/ip_tables_names", "r");
231 if (!procfile)
234 while (fgets(tablename, sizeof(tablename), procfile)) {
H A Dip6tables.c1719 int procfile; local
1723 procfile = open(PROC_SYS_MODPROBE, O_RDONLY);
1724 if (procfile < 0)
1730 switch (read(procfile, ret, PROCFILE_BUFSIZ)) {
1736 close(procfile);
1741 close(procfile);
H A Diptables.c1783 int procfile; local
1787 procfile = open(PROC_SYS_MODPROBE, O_RDONLY);
1788 if (procfile < 0)
1794 switch (read(procfile, ret, PROCFILE_BUFSIZ)) {
1800 close(procfile);
1805 close(procfile);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/
H A Dfusermount.c487 static char procfile[256]; local
506 sprintf(procfile, "/proc/self/fd/%i", *mountpoint_fd);
507 *mntp = procfile;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.4.12/src/libxtables/
H A Dxtables.c306 int procfile; local
310 procfile = open(PROC_SYS_MODPROBE, O_RDONLY);
311 if (procfile < 0)
313 if (fcntl(procfile, F_SETFD, FD_CLOEXEC) == -1) {
322 switch (read(procfile, ret, PROCFILE_BUFSIZ)) {
328 close(procfile);
333 close(procfile);

Completed in 108 milliseconds