Searched refs:subunit (Results 1 - 3 of 3) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Dshutils.c508 * Parse the unit and subunit from an interface string such as wlXX or wlXX.YY
512 * @param subunit pointer to return the subunit number, may pass NULL
516 * in just digits, unit is set to the value, and subunit is set
517 * to -1. On error both unit and subunit are -1. NULL may be passed
521 get_ifname_unit(const char* ifname, int *unit, int *subunit) argument
532 if (subunit)
533 *subunit = -1;
560 if (subunit)
561 *subunit
[all...]
H A Dshutils.h117 * Parse the unit and subunit from an interface string such as wlXX or wlXX.YY
121 * @param subunit pointer to return the subunit number, may pass NULL
125 * in just digits, unit is set to the value, and subunit is set
126 * to -1. On error both unit and subunit are -1. NULL may be passed
129 extern int get_ifname_unit(const char* ifname, int *unit, int *subunit);
H A Dbroadcom.c1774 int unit=-1,subunit=-1, ret = 0; local
1831 if (get_ifname_unit(wl_name,&unit,&subunit) < 0) {
1832 websError(wp, 400, "Error extracting unit and subunit name from %s\n",wl_name);
1843 if ((subunit > 0 ) && (virtual) )
1844 snprintf(unit_str,sizeof(unit_str),"%d.%d",unit,subunit);
2075 websError(wp, 400, "Error getting unit/subunit\n");
2451 char *subunit=NULL,unit[]="0000"; local
2472 subunit = v->argv[0];
2486 snprintf(wl_ssid,sizeof(wl_ssid),"wl%s.%s_ssid",unit,subunit);
2488 snprintf(wl_guest,sizeof(wl_guest),"wl%s.%s_guest",unit,subunit);
4893 int unit=-1,subunit=-1; local
5764 int unit=-1,subunit=-1; local
[all...]

Completed in 203 milliseconds