/openwrt/package/network/services/ead/src/tinysrp/ |
H A D | t_getconf.c | 103 t_getpreparam(idx) 104 int idx; 106 if(pre_params[idx].state == 0) { 108 pre_params[idx].preconf.modulus.data = pre_params[idx].modbuf; 109 pre_params[idx].preconf.generator.data = pre_params[idx].genbuf; 112 pre_params[idx].preconf.modulus.len = t_fromb64(pre_params[idx].preconf.modulus.data, pre_params[idx] [all...] |
/openwrt/package/boot/uboot-envtools/files/ |
H A D | lantiq | 30 idx="$(find_mtd_index ubootconfig)" 31 [ -n "$idx" ] && \ 32 ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x2000" "0x1000" "2"
|
/openwrt/package/network/ipv6/map/src/ |
H A D | mapcalc.c | 234 int idx = getsubopt(&rule, token, &value); local 237 if (idx == OPT_TYPE) { 239 } else if (idx == OPT_FMR) { 241 } else if (idx == OPT_EALEN && (intval = strtoul(value, NULL, 0)) <= 48 && !errno) { 243 } else if (idx == OPT_PREFIX4LEN && (intval = strtoul(value, NULL, 0)) <= 32 && !errno) { 245 } else if (idx == OPT_PREFIX6LEN && (intval = strtoul(value, NULL, 0)) <= 128 && !errno) { 247 } else if (idx == OPT_IPV4PREFIX && inet_pton(AF_INET, value, &ipv4prefix) == 1) { 249 } else if (idx == OPT_IPV6PREFIX && inet_pton(AF_INET6, value, &ipv6prefix) == 1) { 251 } else if (idx == OPT_PD && inet_pton(AF_INET6, value, &pd) == 1) { 253 } else if (idx [all...] |
/openwrt/scripts/ |
H A D | kconfig.pl | 17 my $idx = shift; 21 if (!defined($config->{$idx}) or !$mod_plus or 22 $config->{$idx} eq '#undef' or $newval eq 'y') { 23 $config->{$idx} = $newval;
|
H A D | metadata.pl | 738 my $idx = ""; 741 $idx = $pkg_dep->{subdir}.$pkg_dep->{src}; 743 $idx = $subdir{$dep}.$dep; 747 my $depstr = "\$(curdir)/$idx$suffix/compile"; 762 my $idx; 788 ($pkg->{src} ne $pkg_dep->{src}.$suffix) and $idx = $pkg_dep->{subdir}.$pkg_dep->{src}; 790 $idx = $subdir{$dep}.$dep; 792 undef $idx if $idx eq 'base-files'; 793 if ($idx) { [all...] |
/openwrt/package/kernel/lantiq/ltq-adsl-mei/src/ |
H A D | lantiq_mei.c | 1287 int nSize = 0, idx = 0; local 1309 for (idx = 0; idx < MAX_BAR_REGISTERS; idx++) { 1310 nSize += DSL_DEV_PRIVATE(pDev)->adsl_mem_info[idx].nCopy; 1397 u32 idx, offset, nBar = 0; local 1422 idx = i / SDRAM_SEGMENT_SIZE; 1424 p = (u32 *) ((u8 *) DSL_DEV_PRIVATE(pDev)->adsl_mem_info[idx].address + offset); 1428 idx++; 1430 p = (u32 *) ((u8 *) KSEG1ADDR ((u32)DSL_DEV_PRIVATE(pDev)->adsl_mem_info[idx] 1455 int idx = 0; local 1491 int idx = 0; local 1570 int idx = 0; local 1614 int idx = 0; local 2182 int idx; local [all...] |
/openwrt/package/kernel/mac80211/files/lib/netifd/wireless/ |
H A D | mac80211.sh | 172 idx="$channel" 177 1) idx=$(($channel + 2));; 178 0) idx=$(($channel - 2));; 182 append base_cfg "vht_oper_centr_freq_seg0_idx=$idx" "$N" 186 1) idx=$(($channel + 6));; 187 2) idx=$(($channel + 2));; 188 3) idx=$(($channel - 2));; 189 0) idx=$(($channel - 6));; 193 append base_cfg "vht_oper_centr_freq_seg0_idx=$idx" "$N" 197 36|40|44|48|52|56|60|64) idx [all...] |
/openwrt/package/network/utils/owipcalc/src/ |
H A D | owipcalc.c | 398 uint8_t idx = 15, carry = 0, overflow = 0; local 408 overflow = !!((x->s6_addr[idx] + y->s6_addr[idx] + carry) >= 256); 409 x->s6_addr[idx] += y->s6_addr[idx] + carry; 412 while (idx-- > 0); 425 uint8_t idx = 15, carry = 0, underflow = 0; local 435 underflow = !!((x->s6_addr[idx] - y->s6_addr[idx] - carry) < 0); 436 x->s6_addr[idx] 452 uint8_t idx, carry = 1, underflow = 0; local 484 uint8_t idx, carry = 1, overflow = 0; local [all...] |
/openwrt/package/boot/uboot-oxnas/files/arch/arm/include/asm/arch-nas782x/ |
H A D | clock.h | 82 int plla_set_config(int idx);
|
/openwrt/tools/firmware-utils/src/ |
H A D | nand_ecc.c | 70 uint8_t idx, reg1, reg2, reg3, tmp1, tmp2; local 79 idx = nand_ecc_precalc_table[*dat++]; 80 reg1 ^= (idx & 0x3f); 83 if (idx & 0x40) {
|
/openwrt/package/network/services/hostapd/files/ |
H A D | wpa_supplicant.sh | 45 for idx in 1 2 3 4; do 47 zidx=$(($idx - 1)) 48 config_get ckey "$vif" "key${idx}"
|
H A D | hostapd.sh | 149 for idx in 1 2 3 4; do 151 zidx=$(($idx - 1)) 152 config_get ckey "$vif" "key${idx}"
|
H A D | netifd.sh | 24 for idx in 1 2 3 4; do 26 zidx=$(($idx - 1)) 27 json_get_var ckey "key${idx}"
|
/openwrt/package/network/services/ead/src/ |
H A D | pw_encrypt_md5.c | 187 unsigned int i, idx, partLen; local 190 idx = (context->count[0] >> 3) & 0x3F; 198 partLen = 64 - idx; 202 memcpy(&context->buffer[idx], input, partLen); 208 idx = 0; 213 memcpy(&context->buffer[idx], &input[i], inputLen - i); 222 unsigned int idx, padLen; local 232 idx = (context->count[0] >> 3) & 0x3f; 233 padLen = (idx < 56) ? (56 - idx) [all...] |
/openwrt/package/kernel/hostap-driver/files/lib/wifi/ |
H A D | hostap.sh | 175 for idx in 1 2 3 4; do 176 config_get key "$vif" "key${idx}" 177 iwconfig "$ifname" enc "[$idx]" "${key:-off}"
|
/openwrt/target/linux/generic/files/drivers/net/phy/ |
H A D | rtl8306.c | 535 int idx = attr->id + (val->port_vlan * attr->ofs); local 547 (rtl_regs[idx].reg == 22) && 548 (rtl_regs[idx].page == 0)) { 551 rtl_set(dev, idx, val->value.i); 554 rtl_set(dev, idx, val->value.i); 563 int idx = attr->id + (val->port_vlan * attr->ofs); local 565 if (idx >= ARRAY_SIZE(rtl_regs)) 568 val->value.i = rtl_get(dev, idx);
|
H A D | swconfig.c | 972 int idx = 0; local 976 if (++idx <= start) 984 cb->args[0] = idx;
|
/openwrt/package/network/config/swconfig/src/ |
H A D | swlib.c | 708 int err = 0, idx = 0; local 719 if (idx >= dev->ports) 728 dev->maps[idx].segment = strdup(nla_get_string(tb[SWITCH_PORTMAP_SEGMENT])); 729 dev->maps[idx].virt = nla_get_u32(tb[SWITCH_PORTMAP_VIRT]); 731 idx++;
|
/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ |
H A D | ag71xx.h | 208 ag71xx_ring_desc(struct ag71xx_ring *ring, int idx) argument 210 return (struct ag71xx_desc *) &ring->descs_cpu[idx * AG71XX_DESC_SIZE];
|