Searched refs:fp (Results 1 - 25 of 515) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Dsound_firmware.h1 extern int mod_firmware_load(const char *fn, char **fp);
/asus-wl-520gu-7.0.1.45/src/router/rp-pppoe/
H A Ddebug.c24 * fp -- file to dump to
30 * Dumps buffer to fp in an easy-to-read format
33 dumpHex(FILE *fp, unsigned char const *buf, int len) argument
37 if (!fp) return;
40 fprintf(fp, "%02x\n", (unsigned) buf[i]);
42 fprintf(fp, "%02x-", (unsigned) buf[i]);
44 fprintf(fp, "%02x ", (unsigned) buf[i]);
52 * fp -- file to dump to
57 * Dumps the PPPoE packet to fp in an easy-to-read format
60 dumpPacket(FILE *fp, struc argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/infosvr/
H A Dservice.c33 FILE *fp; local
38 if (!(fp=fopen("/tmp/udhcpc.expires","r"))) return 0;
39 fscanf(fp, "%d", &expire);
40 fclose(fp);
51 FILE *fp; local
66 if (!(fp = fopen("/tmp/udhcpd.leases", "a"))) {
70 fclose(fp);
73 if (!(fp = fopen("/tmp/udhcpd.conf", "w"))) {
77 fprintf(fp, "pidfile /var/run/udhcpd.pid\n");
78 fprintf(fp, "star
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/
H A Dwfopen.c34 FILE *fp; local
35 if ((fp = fopen(path, mode)) == NULL) {
39 return fp;
/asus-wl-520gu-7.0.1.45/src/router/rc/
H A Dnetwork_ex.c103 FILE *fp; local
114 if (!(fp = fopen(options, "w"))) {
123 fprintf(fp, "noauth refuse-eap\n");
124 fprintf(fp, "user '%s'\n", nvram_safe_get(strcat_r(prefix, "pppoe_username", tmp)));
125 fprintf(fp, "password '%s'\n", nvram_safe_get(strcat_r(prefix, "pppoe_passwd", tmp)));
130 fprintf(fp, "connect true\n");
131 fprintf(fp, "sync pty '/usr/sbin/pptp %s --nolaunchpppd --nobuffer --sync'\n",
133 fprintf(fp, "lock\n");
135 fprintf(fp, "plugin pptp.so\n");
136 fprintf(fp, "pptp_serve
271 FILE *fp; local
[all...]
H A Dsendalarm.c32 void filecat(FILE *fp, char *catted) argument
43 fwrite(line, 1, i, fp);
52 FILE *fp; local
55 fp=fopen("/etc/resolv.conf", "r+");
57 if (fp!=NULL &&
58 fgets(buf, MAX_LINE_SIZE, fp)!=NULL &&
62 fclose(fp);
70 FILE *fp; local
107 if ((fp = fopen("/var/tmp/alarmmail", "w"))==NULL) return -1;
109 fprintf(fp, "T
[all...]
H A Ddosfsde.c37 FILE *fp; local
40 fp=fopen("/var/run/dosfsde.pid","w");
41 if (fp==NULL) exit(0);
42 fprintf(fp, "%d", getpid());
43 fclose(fp);
H A Drcamd.c37 FILE *fp; local
40 fp=fopen("/var/run/rcamdmain.pid","w");
41 if (fp==NULL) exit(0);
42 fprintf(fp, "%d", getpid());
43 fclose(fp);
H A Dwaveserver.c37 FILE *fp; local
40 fp=fopen("/var/run/waveservermain.pid","w");
41 if (fp==NULL) exit(0);
42 fprintf(fp, "%d", getpid());
43 fclose(fp);
H A Dqos.c32 FILE *fp=NULL; variable
104 fprintf(fp, "-A POSTROUTING -s %s -j MARK --set-mark %d\n", ipaddr, user_mark);
105 fprintf(fp, "-A POSTROUTING -s %s -j RETURN\n", ipaddr);
109 fprintf(fp, "-A POSTROUTING -p tcp --dport %s -j MARK --set-mark %d\n", port, user_mark);
110 fprintf(fp, "-A POSTROUTING -p tcp --dport %s -j RETURN\n", port);
111 fprintf(fp, "-A POSTROUTING -p udp --dport %s -j MARK --set-mark %d\n", port, user_mark);
112 fprintf(fp, "-A POSTROUTING -p udp --dport %s -j RETURN\n", port);
116 fprintf(fp, "-A POSTROUTING -s %s -p tcp --dport %s -j MARK --set-mark %d\n", ipaddr, port, user_mark);
117 fprintf(fp, "-A POSTROUTING -s %s -p tcp --dport %s -j RETURN\n", ipaddr, port);
118 fprintf(fp, "
[all...]
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/
H A Dsendalarm.c32 void filecat(FILE *fp, char *catted) argument
43 fwrite(line, 1, i, fp);
52 FILE *fp; local
55 fp=fopen("/etc/resolv.conf", "r+");
57 if (fp!=NULL &&
58 fgets(buf, MAX_LINE_SIZE, fp)!=NULL &&
62 fclose(fp);
70 FILE *fp; local
107 if ((fp = fopen("/var/tmp/alarmmail", "w"))==NULL) return -1;
109 fprintf(fp, "T
[all...]
H A Dnetwork_ex.c103 FILE *fp; local
114 if (!(fp = fopen(options, "w"))) {
123 fprintf(fp, "noauth refuse-eap\n");
124 fprintf(fp, "user '%s'\n", nvram_safe_get(strcat_r(prefix, "pppoe_username", tmp)));
125 fprintf(fp, "password '%s'\n", nvram_safe_get(strcat_r(prefix, "pppoe_passwd", tmp)));
129 fprintf(fp, "connect true\n");
130 /*fprintf(fp, "sync pty '/usr/sbin/pptp %s --nolaunchpppd --nobuffer --sync'\n",
132 fprintf(fp, "lock\n");//*/
133 fprintf(fp, "plugin pptp.so\n");
134 fprintf(fp, "pptp_serve
269 FILE *fp; local
[all...]
H A Ddosfsde.c37 FILE *fp; local
40 fp=fopen("/var/run/dosfsde.pid","w");
41 if (fp==NULL) exit(0);
42 fprintf(fp, "%d", getpid());
43 fclose(fp);
H A Drcamd.c37 FILE *fp; local
40 fp=fopen("/var/run/rcamdmain.pid","w");
41 if (fp==NULL) exit(0);
42 fprintf(fp, "%d", getpid());
43 fclose(fp);
H A Dwaveserver.c37 FILE *fp; local
40 fp=fopen("/var/run/waveservermain.pid","w");
41 if (fp==NULL) exit(0);
42 fprintf(fp, "%d", getpid());
43 fclose(fp);
H A Dqos.c32 FILE *fp=NULL; variable
104 fprintf(fp, "-A POSTROUTING -s %s -j MARK --set-mark %d\n", ipaddr, user_mark);
105 fprintf(fp, "-A POSTROUTING -s %s -j RETURN\n", ipaddr);
109 fprintf(fp, "-A POSTROUTING -p tcp --dport %s -j MARK --set-mark %d\n", port, user_mark);
110 fprintf(fp, "-A POSTROUTING -p tcp --dport %s -j RETURN\n", port);
111 fprintf(fp, "-A POSTROUTING -p udp --dport %s -j MARK --set-mark %d\n", port, user_mark);
112 fprintf(fp, "-A POSTROUTING -p udp --dport %s -j RETURN\n", port);
116 fprintf(fp, "-A POSTROUTING -s %s -p tcp --dport %s -j MARK --set-mark %d\n", ipaddr, port, user_mark);
117 fprintf(fp, "-A POSTROUTING -s %s -p tcp --dport %s -j RETURN\n", ipaddr, port);
118 fprintf(fp, "
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppoe-relay/
H A Ddebug.c30 * fp -- file to dump to
36 * Dumps buffer to fp in an easy-to-read format
39 dumpHex(FILE *fp, unsigned char const *buf, int len) argument
44 if (!fp) return;
48 fprintf(fp, "(PAP Authentication Frame -- Contents not dumped)\n");
55 fprintf(fp, "%02x ", (unsigned) buf[i]);
57 fprintf(fp, " ");
60 fprintf(fp, " ");
64 fprintf(fp, "%c", buf[i]);
66 fprintf(fp, "
88 dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/kernel/
H A Dtraps.c200 asmlinkage void trap_c(struct frame *fp);
203 static inline void access_error060 (struct frame *fp) argument
205 unsigned long fslw = fp->un.fmt4.pc; /* is really FSLW for access error */
208 printk("fslw=%#lx, fa=%#lx\n", fslw, fp->un.fmt4.effaddr);
224 unsigned long addr = fp->un.fmt4.effaddr;
239 do_page_fault(&fp->ptregs, addr, errorcode);
244 send_fault_sig(&fp->ptregs);
246 printk("pc=%#lx, fa=%#lx\n", fp->ptregs.pc, fp->un.fmt4.effaddr);
248 trap_c( fp );
309 fix_xframe040(struct frame *fp, unsigned long wba, unsigned short wbs) argument
317 do_040writebacks(struct frame *fp) argument
358 berr_040cleanup(struct frame *fp) argument
366 access_error040(struct frame *fp) argument
445 bus_error030(struct frame *fp) argument
567 bus_error030(struct frame *fp) argument
760 buserr_c(struct frame *fp) argument
859 show_stack(struct frame *fp) argument
948 bad_super_trap(struct frame *fp) argument
982 trap_c(struct frame *fp) argument
1102 die_if_kernel(char *str, struct pt_regs *fp, int nr) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/rp-pppoe/
H A Ddebug.c28 * fp -- file to dump to
34 * Dumps buffer to fp in an easy-to-read format
37 dumpHex(FILE *fp, unsigned char const *buf, int len) argument
42 if (!fp) return;
46 fprintf(fp, "(PAP Authentication Frame -- Contents not dumped)\n");
53 fprintf(fp, "%02x ", (unsigned) buf[i]);
55 fprintf(fp, " ");
58 fprintf(fp, " ");
62 fprintf(fp, "%c", buf[i]);
64 fprintf(fp, "
86 dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/plugins/rp-pppoe/
H A Ddebug.c28 * fp -- file to dump to
34 * Dumps buffer to fp in an easy-to-read format
37 dumpHex(FILE *fp, unsigned char const *buf, int len) argument
42 if (!fp) return;
46 fprintf(fp, "(PAP Authentication Frame -- Contents not dumped)\n");
53 fprintf(fp, "%02x ", (unsigned) buf[i]);
55 fprintf(fp, " ");
58 fprintf(fp, " ");
62 fprintf(fp, "%c", buf[i]);
64 fprintf(fp, "
86 dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/cdma/
H A Dnetwork_ex.c103 FILE *fp; local
115 if (!(fp = fopen(options, "w")))
125 fprintf(fp, "noauth\n");
128 fprintf(fp, "noauth refuse-eap\n");
130 fprintf(fp, "user '%s'\n",
132 fprintf(fp, "password '%s'\n",
137 fprintf(fp, "connect true\n");
138 fprintf(fp, "pty '/usr/sbin/pptp %s --nolaunchpppd'\n",
142 fprintf(fp, "lock\n");
146 fprintf(fp, "plugi
211 FILE *fp; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/test/
H A Dtest.c36 FILE *fp; local
47 fp = fopen(argv[2], "w");
49 if (fp!=NULL)
64 fwrite(buf, 1, sizeof(buf), fp);
69 fwrite(buf, 1, len, fp);
74 fclose(fp);
82 fp = fopen(argv[2], "r");
83 if (fp!=NULL)
96 fread(buf, 1, sizeof(buf), fp);
101 fread(buf, 1, len, fp);
[all...]
/asus-wl-520gu-7.0.1.45/src/router/dproxy/
H A Dcache.c42 FILE * fp; local
47 if( (fp = fopen( config.cache_file , "r")) != NULL) {
49 result = cache_byname(fp,name, ip);
50 fclose(fp);
63 * @arg fp - open file pointer for the cache file.
69 static int cache_byname(FILE * fp, char *name, char ip[BUF_SIZE]) argument
79 rewind(fp);
81 while( fgets(line, BUF_SIZE, fp) ){
97 FILE *fp; local
105 fp
130 FILE *fp; local
262 FILE * fp; local
288 deny_byname(FILE * fp, char *name) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/e2p/
H A Dpf.c54 struct flags_name *fp; local
57 for (fp = flags_array; fp->flag != 0; fp++) {
58 if (flags & fp->flag) {
64 fputs(fp->long_name, f);
66 fputs(fp->short_name, f);
/asus-wl-520gu-7.0.1.45/src/router/iptables/ippool/
H A Dlibippool.c16 FILE *fp; local
21 fp = fopen(IPPOOL_CONF, "r");
22 if (!fp) exit_error(PARAMETER_PROBLEM,
24 while (fgets(buf, sizeof(buf), fp)) {
32 fclose(fp);
42 FILE *fp; local
52 fp = fopen(IPPOOL_CONF, "r");
53 if (fp) {
54 while (fgets(buf, size, fp)) {
65 fclose(fp);
[all...]

Completed in 105 milliseconds

1234567891011>>