Пример #1
0
static int response_ftp_process_request(struct http_state *http, const char *method, const char *url) {
    if (strcmp(method, "GET"))
        return 0;

    if (strcmp(url, "/tftp"))
        return 0;

    boot_tftp_url("192.168.1.98:/tftpboot/xenon");
    
    
    return 0;
}
Пример #2
0
void ActionBootTFTP(void * unused) {
    int d = boot_tftp_url("192.168.1.98:/tftpboot/xenon");
}