Searched refs:app (Results 1 - 22 of 22) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Dnvparse.h27 extern bool valid_autofw_port(const netconf_app_t *app);
28 extern bool get_autofw_port(int which, netconf_app_t *app);
29 extern bool set_autofw_port(int which, const netconf_app_t *app);
H A Dnvparse.c56 valid_autofw_port(const netconf_app_t *app) argument
59 if (app->match.ipproto != IPPROTO_TCP && app->match.ipproto != IPPROTO_UDP)
63 if (ntohs(app->match.dst.ports[0]) > ntohs(app->match.dst.ports[1]))
67 if (app->proto != IPPROTO_TCP && app->proto != IPPROTO_UDP)
71 if (ntohs(app->dport[0]) > ntohs(app->dport[1]))
75 if (ntohs(app
87 get_autofw_port(int which, netconf_app_t *app) argument
202 set_autofw_port(int which, const netconf_app_t *app) argument
1065 netconf_app_t app; local
[all...]
H A Dbroadcom.c1570 netconf_app_t app; local
1580 valid = get_autofw_port(i, &app);
1590 valid && app.match.ipproto == IPPROTO_TCP ? "selected" : "");
1592 valid && app.match.ipproto == IPPROTO_UDP ? "selected" : "");
1599 snprintf(port, sizeof(port), "%d", ntohs(app.match.dst.ports[0]));
1606 snprintf(port, sizeof(port), "%d", ntohs(app.match.dst.ports[1]));
1617 valid && app.proto == IPPROTO_TCP ? "selected" : "");
1619 valid && app.proto == IPPROTO_UDP ? "selected" : "");
1626 snprintf(port, sizeof(port), "%d", ntohs(app.dport[0]));
1633 snprintf(port, sizeof(port), "%d", ntohs(app
3358 netconf_app_t app; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/shared.asus/
H A Dnvparse.h27 extern bool valid_autofw_port(const netconf_app_t *app);
28 extern bool get_autofw_port(int which, netconf_app_t *app);
29 extern bool set_autofw_port(int which, const netconf_app_t *app);
H A Dnvparse.c56 valid_autofw_port(const netconf_app_t *app) argument
59 if (app->match.ipproto != IPPROTO_TCP && app->match.ipproto != IPPROTO_UDP)
63 if (ntohs(app->match.dst.ports[0]) > ntohs(app->match.dst.ports[1]))
67 if (app->proto != IPPROTO_TCP && app->proto != IPPROTO_UDP)
71 if (ntohs(app->dport[0]) > ntohs(app->dport[1]))
75 if (ntohs(app
87 get_autofw_port(int which, netconf_app_t *app) argument
202 set_autofw_port(int which, const netconf_app_t *app) argument
1062 netconf_app_t app; local
[all...]
H A Dbroadcom.c1439 netconf_app_t app; local
1449 valid = get_autofw_port(i, &app);
1459 valid && app.match.ipproto == IPPROTO_TCP ? "selected" : "");
1461 valid && app.match.ipproto == IPPROTO_UDP ? "selected" : "");
1468 snprintf(port, sizeof(port), "%d", ntohs(app.match.dst.ports[0]));
1475 snprintf(port, sizeof(port), "%d", ntohs(app.match.dst.ports[1]));
1486 valid && app.proto == IPPROTO_TCP ? "selected" : "");
1488 valid && app.proto == IPPROTO_UDP ? "selected" : "");
1495 snprintf(port, sizeof(port), "%d", ntohs(app.dport[0]));
1502 snprintf(port, sizeof(port), "%d", ntohs(app
2388 netconf_app_t app; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/rc/
H A Dfirewall_ex_noipt.c813 netconf_app_t apptarget, *app; local
832 app = &apptarget;
833 memset(app, 0, sizeof(netconf_app_t));
837 app->match.ipproto = IPPROTO_TCP;
839 app->match.ipproto = IPPROTO_UDP;
843 app->match.dst.ports[0] = htons(out_start);
844 app->match.dst.ports[1] = htons(out_end);
848 app->proto = IPPROTO_TCP;
850 app->proto = IPPROTO_UDP;
854 app
1217 netconf_app_t apptarget, *app; local
1379 get_autofw_port_ex(int which, netconf_app_t *app) argument
[all...]
H A Dfirewall_ex.c1266 netconf_app_t apptarget, *app; local
1285 app = &apptarget;
1286 memset(app, 0, sizeof(netconf_app_t));
1290 app->match.ipproto = IPPROTO_TCP;
1292 app->match.ipproto = IPPROTO_UDP;
1296 app->match.dst.ports[0] = htons(out_start);
1297 app->match.dst.ports[1] = htons(out_end);
1301 app->proto = IPPROTO_TCP;
1303 app->proto = IPPROTO_UDP;
1307 app
[all...]
H A Dfirewall.c74 netconf_app_t app; local
310 memset(&app, 0, sizeof(app));
311 if (get_autofw_port(i, &app) && !(app.match.flags & NETCONF_DISABLED))
312 netconf_add_fw((netconf_fw_t *) &app);
H A Dfirewall_noipt.c123 netconf_app_t app; local
282 memset(&app, 0, sizeof(app));
286 get_autofw_port_ex(i, &app)
288 get_autofw_port(i, &app)
290 && !(app.match.flags & NETCONF_DISABLED))
291 netconf_add_fw((netconf_fw_t *) &app);
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/
H A Dfirewall_ex_noipt.c813 netconf_app_t apptarget, *app; local
832 app = &apptarget;
833 memset(app, 0, sizeof(netconf_app_t));
837 app->match.ipproto = IPPROTO_TCP;
839 app->match.ipproto = IPPROTO_UDP;
843 app->match.dst.ports[0] = htons(out_start);
844 app->match.dst.ports[1] = htons(out_end);
848 app->proto = IPPROTO_TCP;
850 app->proto = IPPROTO_UDP;
854 app
1217 netconf_app_t apptarget, *app; local
1379 get_autofw_port_ex(int which, netconf_app_t *app) argument
[all...]
H A Dfirewall_ex.c1266 netconf_app_t apptarget, *app; local
1285 app = &apptarget;
1286 memset(app, 0, sizeof(netconf_app_t));
1290 app->match.ipproto = IPPROTO_TCP;
1292 app->match.ipproto = IPPROTO_UDP;
1296 app->match.dst.ports[0] = htons(out_start);
1297 app->match.dst.ports[1] = htons(out_end);
1301 app->proto = IPPROTO_TCP;
1303 app->proto = IPPROTO_UDP;
1307 app
[all...]
H A Dfirewall.c74 netconf_app_t app; local
310 memset(&app, 0, sizeof(app));
311 if (get_autofw_port(i, &app) && !(app.match.flags & NETCONF_DISABLED))
312 netconf_add_fw((netconf_fw_t *) &app);
H A Dfirewall_noipt.c123 netconf_app_t app; local
282 memset(&app, 0, sizeof(app));
286 get_autofw_port_ex(i, &app)
288 get_autofw_port(i, &app)
290 && !(app.match.flags & NETCONF_DISABLED))
291 netconf_add_fw((netconf_fw_t *) &app);
/asus-wl-520gu-7.0.1.45/src/router/netconf/
H A Dmain.c38 netconf_app_t *app; local
164 app = (netconf_app_t *) fw;
166 if (app->proto == IPPROTO_TCP)
168 else if (app->proto == IPPROTO_UDP)
170 printf("dpt:%hu", ntohs(app->dport[0]));
171 if (ntohs(app->dport[1]) > ntohs(app->dport[0]))
172 printf("-%hu", ntohs(app->dport[1]));
174 printf("to:%hu", ntohs(app->to[0]));
175 if (ntohs(app
[all...]
H A Dnetconf_linux.c172 netconf_app_t *app = NULL; local
195 fw = (netconf_fw_t *) app = calloc(1, sizeof(netconf_app_t));
354 else if (app) {
357 app->proto = info->proto;
358 app->dport[0] = info->dport[0];
359 app->dport[1] = info->dport[1];
360 app->to[0] = info->to[0];
361 app->to[1] = info->to[1];
395 const netconf_app_t *app = NULL; local
418 app
782 netconf_app_t *app = NULL; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Dauth.c1734 struct wordlist *ap, *addr_list, *alist, **app; local
1820 app = &alist;
1830 *app = ap;
1831 app = &ap->next;
1833 *app = NULL;
1850 for (app = &addr_list; (ap = *app) != NULL; app = &ap->next)
1856 free(*app); /* free the "--" word */
1857 *app
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Dauth.c2210 struct wordlist *ap, *addr_list, *alist, **app; local
2305 app = &alist;
2315 *app = ap;
2316 app = &ap->next;
2318 *app = NULL;
2335 for (app = &addr_list; (ap = *app) != NULL; app = &ap->next)
2341 free(*app); /* free the "--" word */
2342 *app
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/
H A Dauth.c2210 struct wordlist *ap, *addr_list, *alist, **app; local
2305 app = &alist;
2315 *app = ap;
2316 app = &ap->next;
2318 *app = NULL;
2335 for (app = &addr_list; (ap = *app) != NULL; app = &ap->next)
2341 free(*app); /* free the "--" word */
2342 *app
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dash.c1384 struct alias *ap, **app; local
1386 app = __lookupalias(name);
1387 ap = *app;
1402 *app = ap;
1410 struct alias **app; local
1412 app = __lookupalias(name);
1414 if (*app) {
1416 *app = freealias(*app);
1427 struct alias *ap, **app; local
1551 struct alias **app = hashalias(name); local
9517 union node *ap, **app; local
9728 union node *args, **app; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/
H A Daudio.c123 * almost every OSS app expects it. It is however impractical to
1567 device --=> app
1595 static unsigned int format_goodness(struct audioformat *afp, unsigned int app, argument
1602 if(AFMT_SIGN(dev) && !AFMT_SIGN(app)) g += 1;
1603 if(!AFMT_SIGN(dev) && AFMT_SIGN(app)) g += 1;
1604 if(AFMT_ENDIAN(dev) && !AFMT_ENDIAN(app)) g += 1;
1605 if(!AFMT_ENDIAN(dev) && AFMT_ENDIAN(app)) g += 1;
1607 switch(AFMT_BYTES(app)+AFMT_BYTES(dev)*10){
1622 if(AFMT_CHANNELS(dev) > AFMT_CHANNELS(app)){
1624 }else if(AFMT_CHANNELS(dev) < AFMT_CHANNELS(app)){
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/avmb1/
H A Dkcapi.c771 static struct capi_ncci *find_ncci(struct capi_appl * app, __u32 ncci) argument
774 for (np = app->nccilist; np; np = np->next) {

Completed in 302 milliseconds