| /mOS-networking-stack/core/src/include/ |
| H A D | debug.h | 84 #define TRACE_CONFIG(f, m...) fprintf(stderr, f, ##m) argument 87 #define TRACE_LOG(f, m...) TRACE_INFO(f, ##m) argument 105 #define TRACE_STATE(f, m...) TRACE_FUNC("STATE", f, ##m) argument 129 #define TRACE_LOSS(f, m...) TRACE_FUNC("LOSS", f, ##m) argument 135 #define TRACE_SACK(f, m...) TRACE_FUNC("SACK", f, ##m) argument 147 #define TRACE_RTT(f, m...) TRACE_FUNC("RTT", f, ##m) argument 153 #define TRACE_RTO(f, m...) TRACE_FUNC("RTO", f, ##m) argument 159 #define TRACE_CONG(f, m...) TRACE_FUNC("CONG", f, ##m) argument 177 #define TRACE_APP(f, m...) TRACE_FUNC("APP", f, ##m) argument 183 #define TRACE_FIN(f, m...) TRACE_FUNC("FIN", f, ##m) argument [all …]
|
| H A D | scalable_event.h | 12 #define gprintf(f, args...) do { \ argument 13 printf("%-15s:%-4d:%-10.10s: " f, \
|
| /mOS-networking-stack/util/include/ |
| H A D | debug.h | 8 #define TRACE_CONFIG(f, m...) fprintf(stdout, f, ##m) argument 12 #define TRACE_ERROR(f, m...) { \ argument 18 #define TRACE_ERROR(f, m...) (void)0 argument 24 #define TRACE_DBG(f, m...) {\ argument 26 f, __FUNCTION__, __LINE__, ##m); \ 31 #define TRACE_DBG(f, m...) (void)0 argument 43 #define TRACE_INFO(f, m...) (void)0 argument 48 #define TRACE_EPOLL(f, m...) TRACE_FUNC("EPOLL", f, ##m) argument 54 #define TRACE_APP(f, m...) TRACE_FUNC("APP", f, ##m) argument 56 #define TRACE_APP(f, m...) (void)0 argument [all …]
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | stream.c | 15 int stream_open(stream *f, buffer *fn) { in stream_open() argument 24 f->start = NULL; in stream_open() 30 f->size = st.st_size; in stream_open() 37 f->start = mmap(NULL, f->size, PROT_READ, MAP_SHARED, fd, 0); in stream_open() 41 if (MAP_FAILED == f->start) { in stream_open() 60 f->size & 0xffffffff, in stream_open() 86 f->start = p; in stream_open() 94 int stream_close(stream *f) { in stream_close() argument 96 if (f->start) munmap(f->start, f->size); in stream_close() 98 if (f->start) UnmapViewOfFile(f->start); in stream_close() [all …]
|
| H A D | http_auth.c | 154 stream f; in http_auth_get_password() local 165 f_line = f.start; in http_auth_get_password() 167 while (f_line - f.start != f.size) { in http_auth_get_password() 205 if (NULL != (e = memchr(f_pwd, '\n', f.size - (f_pwd - f.start)))) { in http_auth_get_password() 208 pwd_len = f.size - (f_pwd - f.start); in http_auth_get_password() 229 stream_close(&f); in http_auth_get_password() 232 stream f; in http_auth_get_password() local 247 f_line = f.start; in http_auth_get_password() 249 while (f_line - f.start != f.size) { in http_auth_get_password() 278 pwd_len = f.size - (f_pwd - f.start); in http_auth_get_password() [all …]
|
| H A D | stream.h | 11 int stream_open(stream *f, buffer *fn); 12 int stream_close(stream *f);
|
| H A D | mod_scgi.c | 392 scgi_proc *f; in scgi_process_init() local 394 f = calloc(1, sizeof(*f)); in scgi_process_init() 400 return f; in scgi_process_init() 410 free(f); in scgi_process_free() 416 f = calloc(1, sizeof(*f)); in scgi_host_init() 425 return f; in scgi_host_init() 446 scgi_exts *f; in scgi_extensions_init() local 448 f = calloc(1, sizeof(*f)); in scgi_extensions_init() 450 return f; in scgi_extensions_init() 478 free(f->exts); in scgi_extensions_free() [all …]
|
| H A D | mod_fastcgi.c | 525 fcgi_proc *f; in fastcgi_process_init() local 527 f = calloc(1, sizeof(*f)); in fastcgi_process_init() 534 return f; in fastcgi_process_init() 545 free(f); in fastcgi_process_free() 551 f = calloc(1, sizeof(*f)); in fastcgi_host_init() 562 return f; in fastcgi_host_init() 585 fcgi_exts *f; in fastcgi_extensions_init() local 587 f = calloc(1, sizeof(*f)); in fastcgi_extensions_init() 589 return f; in fastcgi_extensions_init() 617 free(f->exts); in fastcgi_extensions_free() [all …]
|
| H A D | sys-mmap.h | 11 #define mmap(a, b, c, d, e, f) (-1) argument
|
| /mOS-networking-stack/core/src/ |
| H A D | tcp_rb.c | 22 #define PRINTF(f, args...) printf("%s:%d: " f, __FILE__, __LINE__, ##args) argument 47 free(f); in frags_del() 233 if (f->head >= eh && f->tail <= et) { in buf_try_resize() 615 if (off >= f->head && off < f->tail) { in tcprb_ppeek() 616 if (f->empty) in tcprb_ppeek() 617 f = NULL; in tcprb_ppeek() 669 while (f) { in tcprb_pwrite() 675 f = fnext; in tcprb_pwrite() 737 f = NULL; in tcprb_pwrite() 741 f = fnext; in tcprb_pwrite() [all …]
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/tests/ |
| H A D | mod-secdownload.t | 21 my $f = "/index.html"; 23 my $m = md5_hex($secret.$f.$thex); 26 GET /sec/$m/$thex$f HTTP/1.0 35 $m = md5_hex($secret.$f.$thex); 38 GET /sec/$m/$thex$f HTTP/1.0 47 GET /sec$f HTTP/1.0 56 GET $f HTTP/1.0 65 $f = "/noexists"; 67 $m = md5_hex($secret.$f.$thex); 70 GET /sec/$m/$thex$f HTTP/1.0
|
| H A D | run-tests.pl | 12 my (@fs, $f); 13 while ($f = readdir(DIR)) { 14 if ($f =~ /^(.*)\.t$/) { 16 push @fs, $srcdir.'/'.$f;
|
| H A D | symlink.t | 20 my $f = "$docroot/index.html"; 24 return 0 unless symlink($f,$l); 26 $f = "$docroot/expire"; 30 return 0 unless symlink($f,$l);
|
| H A D | Makefile.in | 220 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 221 *) f=$$p;; \ 223 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; 351 if test -f "./$$f"; then dir=./; \ 352 elif test -f "$$f"; then dir=; \ 354 tst=$$dir$$f; log='$@'; \ 361 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ 972 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ 979 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ 986 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ [all …]
|
| /mOS-networking-stack/core/src/bpf/ |
| H A D | sfbpf-int.c | 139 static inline int skip_space(f) in skip_space() argument 140 FILE *f; in skip_space() 146 c = getc(f); 152 static inline int skip_line(f) in skip_line() argument 153 FILE *f; in skip_line() 158 c = getc(f);
|
| H A D | sf_bpf_filter.c | 549 DAQ_SO_PUBLIC int bpf_validate(f, len) in bpf_validate() argument 550 const struct bpf_insn *f; in bpf_validate() 568 p = &f[i]; 692 return BPF_CLASS(f[len - 1].code) == BPF_RET;
|
| /mOS-networking-stack/ |
| H A D | .travis.yml | 47 - make -f scripts/Makefile.test 49 - make -f scripts/Makefile.test 51 - make -f scripts/Makefile.test
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/doc/systemd/ |
| H A D | lighttpd.service | 6 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf 7 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
|
| /mOS-networking-stack/dpdk-iface-kmod/ |
| H A D | dpdk_iface_main.c | 149 FILE *f; in fetch_major_no() local 159 f = fopen(DEV_PROC_PATH, "r"); in fetch_major_no() 160 if (f == NULL) { in fetch_major_no() 165 while (getline(&line, &len, f) != -1) { in fetch_major_no() 178 fclose(f); in fetch_major_no()
|
| /mOS-networking-stack/core/test/tcprb/ |
| H A D | test.c | 12 #define PRINTF(f, args...) printf("%s:%d: " f, __FILE__, __LINE__, ##args) argument
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/doc/outdated/ |
| H A D | secdownload.txt | 122 $f = "/secret-file.txt"; 128 $m = md5($secret.$f.$t_hex); 132 $uri_prefix, $m, $t_hex, $f, $f);
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/ |
| H A D | INSTALL | 94 $ sudo ./lighttpd -D -f ${PATH_TO_CONFIG_FILE} -n ${NO_OF_CORES} 95 (e.g., $ sudo ./lighttpd -D -f ../docs/config/m-lighttpd.conf -n 8) 118 $ sudo ./src/lighttpd -D -f ${PATH_OF_CONFIG_FILE} -n ${NO_OF_CORES} 148 $ sudo ./src/lighttpd -D -f ${PATH_OF_CONFIG_FILE} -n ${NO_OF_CORES}
|
| H A D | Makefile.am | 7 distcleancheck_listfiles = find -type f -exec sh -c 'test -f $(srcdir)/{} || echo {}' ';'
|
| /mOS-networking-stack/scripts/ |
| H A D | aclocal.m4 | 40 && test -f conftest2.$ac_objext; then 47 rm -f core conftest*
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/src/config/ |
| H A D | arp.conf | 2 10.0.0.10/32 90:e2:ba:7c:1f:a4
|