| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | array.c | 15 a = calloc(1, sizeof(*a)); in array_init() 49 if (a->data[i]) a->data[i]->free(a->data[i]); in array_free() 53 if (a->data) free(a->data); in array_free() 78 du = a->data[a->used]; in array_pop() 79 a->data[a->used] = NULL; in array_pop() 140 a->data[i] = a->data[a->used]; in array_get_unused_element() 141 a->data[a->used] = NULL; in array_get_unused_element() 212 a->data = malloc(sizeof(*a->data) * a->size); in array_insert_unique() 219 a->data = realloc(a->data, sizeof(*a->data) * a->size); in array_insert_unique() 220 a->sorted = realloc(a->sorted, sizeof(*a->sorted) * a->size); in array_insert_unique() [all …]
|
| H A D | md5.c | 90 #define FF(a, b, c, d, x, s, ac) { \ argument 92 (a) = ROTATE_LEFT ((a), (s)); \ 93 (a) += (b); \ 95 #define GG(a, b, c, d, x, s, ac) { \ argument 97 (a) = ROTATE_LEFT ((a), (s)); \ 98 (a) += (b); \ 102 (a) = ROTATE_LEFT ((a), (s)); \ 103 (a) += (b); \ 107 (a) = ROTATE_LEFT ((a), (s)); \ 108 (a) += (b); \ [all …]
|
| H A D | array.h | 163 array *array_init_array(array *a); 164 void array_free(array *a); 165 void array_reset(array *a); 166 int array_insert_unique(array *a, data_unset *str); 167 data_unset *array_pop(array *a); 168 int array_print(array *a, int depth); 169 data_unset *array_get_unused_element(array *a, data_type_t t); 170 data_unset *array_get_element(array *a, const char *key); 172 data_unset *array_replace(array *a, data_unset *du); 173 int array_strcasecmp(const char *a, size_t a_len, const char *b, size_t b_len); [all …]
|
| H A D | mod_alias.c | 90 const array *a = s->alias; in SETDEFAULTS_FUNC() local 93 for (j = 0; j < a->used; j ++) { in SETDEFAULTS_FUNC() 94 const buffer *prefix = a->data[a->sorted[j]]->key; in SETDEFAULTS_FUNC() 95 for (k = j + 1; k < a->used; k ++) { in SETDEFAULTS_FUNC() 96 const buffer *key = a->data[a->sorted[k]]->key; in SETDEFAULTS_FUNC() 105 if (a->sorted[j] < a->sorted[k]) { in SETDEFAULTS_FUNC()
|
| /mOS-networking-stack/core/src/include/ |
| H A D | mtcp.h | 95 #define MTCP_SET(a, x) (a |= x) argument 96 #define MTCP_ISSET(a, x) (a & x) argument 97 #define MTCP_CLR(a) (a = 0) argument 99 #define CB_SET(a, x) MTCP_SET(a, x) argument 100 #define CB_ISSET(a, x) MTCP_ISSET(a, x) argument 101 #define CB_CLR(a) MTCP_CLR(a) argument 103 #define ACTION_SET(a,x) MTCP_SET(a, x) argument 104 #define ACTION_ISSET(a, x) MTCP_ISSET(a, x) argument 105 #define ACTION_CLR(a) MTCP_CLR(a) argument
|
| H A D | tcp_in.h | 44 #define TCP_SEQ_LT(a,b) ((int32_t)((a)-(b)) < 0) argument 45 #define TCP_SEQ_LEQ(a,b) ((int32_t)((a)-(b)) <= 0) argument 46 #define TCP_SEQ_GT(a,b) ((int32_t)((a)-(b)) > 0) argument 47 #define TCP_SEQ_GEQ(a,b) ((int32_t)((a)-(b)) >= 0) argument 48 #define TCP_SEQ_BETWEEN(a,b,c) (TCP_SEQ_GEQ(a,b) && TCP_SEQ_LEQ(a,c)) argument
|
| H A D | timer.h | 10 #define TIMEVAL_ADD(a, b) \ argument 11 do { (a)->tv_sec += (b)->tv_sec; \ 12 if (((a)->tv_usec += (b)->tv_usec) > 1000000) { \ 13 (a)->tv_sec++; (a)->tv_usec -= 1000000; } \ 16 #define TIMEVAL_LT(a, b) \ argument 17 timercmp(a, b, <)
|
| /mOS-networking-stack/samples/common/ |
| H A D | applib.h | 11 #define MAX(a, b) ((a)>(b)?(a):(b)) argument 12 #define MIN(a, b) ((a)<(b)?(a):(b)) argument 28 #define TS_GT(a,b) ((int64_t)((a)-(b)) > 0) argument
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/doc/outdated/ |
| H A D | cml.txt | 14 …CML is a Meta language to describe the dependencies of a page at one side and building a page from… 36 jan.kneschke.de has a very simple design: 39 * the menu is generated from a menu.csv file 43 is affecting all pages, a change of menu.csv too, a change of content-x file only affects the 86 Now let take a look at the numbers: 88 * 150 req/s for a Cache-Hit 89 * 100 req/s for a Cache-Miss 95 to start PHP for a cache-hit. 166 We want to display a maintainance page by putting a file in a specified 227 a cml file that is executed for each request [all …]
|
| H A D | features.txt | 21 The document was inspired by a mail from David Phillips: 29 > considering installing and testing the latest version. From a 39 make up for a complete manual. 55 a FastCGI program can get run through the SSI interpreter. SSI can also do 61 access logging, plus a binary version of CLF that save space. 77 authorization information in a central database. 82 correctly (i.e. unlike past versions of thttpd) and can throttle on a 89 an open source web server, it nice to have a documented, consistent API, 94 There is no web based interface. Zeus has a complete web based interface 98 That is something that should be a special feature of Zeus. :) :: [all …]
|
| H A D | fastcgi.txt | 28 defined by http://www.fastcgi.com/ and is a 30 a web-application and a webserver. 56 lighttpd takes it a little bit further by providing a internal 61 than a e.g. load-balancer+apache+mod_php solution. 197 a PATH_INFO instead of part of SCRIPT_NAME. 283 for a new request before it kills itself. 334 Preparing PHP as a FastCGI program 343 If you already have a working installation of PHP on a 369 Starting a FastCGI-PHP 434 ``PATH_INFO`` `--enable-discard-path` needs a SCRIPT_FILENAME which is against the CGI spec, a [all …]
|
| H A D | authentication.txt | 35 in security problems if not used in conjunction with a crypted 41 The Digest method only transfers a hashed value over the 42 network which performs a lot of work to harden the 68 seperated by a colon. Each entry is terminated by a single 79 seperated by a colon. Each entry is terminated by a single 95 password seperated by a colon. Each entry is terminated 96 by a single newline. :: 128 to authenticate a user 167 # if enabled, startTLS needs a valid (base64-encoded) CA 181 # <realm> is a string to display in the dialog [all …]
|
| H A D | magnet.txt | 4 a power-magnet 24 mod_magnet is a module to control the request handling in lighty. 61 order. If one of them a returning a status-code, the following scripts will not be executed. 121 If you want to set a response header for your request, you can add a field to the lighty.header[] t… 183 This is a bit simplistic, but it illustrates the idea: Take a text-file and cover it in a <pre> tag. 200 users, you can just send a maintainance page. 237 -- send te FLV header + a seek into the file 247 selecting a random file from a directory 250 Say, you want to send a random file (ad-content) from a directory. 256 * a special index-file names the highest number [all …]
|
| H A D | secdownload.txt | 14 authenticated file requests and a countermeasure against 67 mod_secdownload removes this problem by introducing a way to 68 authenticate a URL for a specified time. The application has 69 to generate a token and a timestamp which are checked by the 79 1. a secret string (user supplied) 86 invalidate the URL after a given timeout (secdownload.timeout). 89 Be sure to choose a another secret than the one used in the 95 If the user tries to fake the URL by choosing a random token, 131 printf('<a href="%s%s/%s%s">%s</a>',
|
| H A D | cgi.txt | 14 The cgi module provides a CGI-conforming interface. 24 CGI programs allow you to enhance the functionality of the server in a very 32 file-extensions that are handled by a CGI program 42 To setup a executable which doesn't need the help of a external program you 43 just don't specify a handler for the extension. ::
|
| H A D | plugins.txt | 15 provides a flexible way to add specific functionality to lighttpd. 45 called once a second 47 called when the server received a SIGHUP 58 called after uri.path (a clean URI without .. and %20) is set 60 called at the end of the logical path handle to get a docroot 107 a pointer to the internal plugin data. 124 pass a list of options to ``config_insert_values`` and check if 146 called once a second 156 called if a SIGHUP is received (cycling logfiles, ...) 188 called when a docroot is needed [all …]
|
| H A D | traffic-shaping.txt | 25 a single connection or config context like a virtual host or a URL. 40 if you want to specify a limit for a special virtual server 54 Keep in mind that a limit below 32kb/s might actually limit the traffic to 32kb/s. This
|
| H A D | performance.txt | 29 a deliver its best performance. 34 Disabling keep-alive might help your server if you suffer from a large 44 handling 128 keep-alive requests in a row on a single connection, waiting 30 seconds 53 would release the connections earlier and would free file descriptors without a 98 If you want to send out a file from the webserver, it doesn't make any sense 99 to copy the file into the webserver just to write() it back into a socket 102 sendfile() minimizes the work in the application and pushes a file directly 131 As lighttpd is a single-threaded server, its main resource limit is the 145 a simple request for a PHP page might result in using 3 file descriptors: 176 Instead of using stat() every time to check for the existence of a file [all …]
|
| H A D | accesslog.txt | 38 if the name starts with a '|' the rest of the name is taken 39 as the name of a process which will be spawn and will get the 58 %% a percent sign 67 %a remote address 104 The accesslog module provides a special way to log content from the 105 application in a accesslog file. It can be used to log the session id into a 109 a %{...}o like ::
|
| H A D | rrdtool.txt | 24 RRD_ is a system to store and display time-series data (i.e. network 90 $RRDTOOL graph $OUTDIR/$OUTPRE-hour.png -a PNG --start -14400 $DISP 91 $RRDTOOL graph $OUTDIR/$OUTPRE-day.png -a PNG --start -86400 $DISP 92 $RRDTOOL graph $OUTDIR/$OUTPRE-month.png -a PNG --start -2592000 $DISP 108 $RRDTOOL graph $OUTDIR/$OUTPRE-hour.png -a PNG --start -14400 $DISP 109 $RRDTOOL graph $OUTDIR/$OUTPRE-day.png -a PNG --start -86400 $DISP 110 $RRDTOOL graph $OUTDIR/$OUTPRE-month.png -a PNG --start -2592000 $DISP
|
| H A D | configuration.txt | 62 # read configuration from output of a command 105 match on the remote IP or a remote Network 110 address and port a port number. Only equal match (==) is supported. 125 and <value> is either a quoted ("") literal string or regular expression. 140 # map all domains of a top-level-domain to a single document-root 223 difficulty setting server wide configuration inside a included-file from 257 without a Host: header and for all with a know hostname which you 326 list of files to search for if a directory is requested 332 if a name starts with slash this file will be used a index generator 411 maximum number of request within a keep-alive session before the server [all …]
|
| /mOS-networking-stack/core/src/ |
| H A D | eth_out.c | 37 #define MAX(a, b) ((a)>(b)?(a):(b)) argument 38 #define MIN(a, b) ((a)<(b)?(a):(b)) argument
|
| H A D | tcp_send_buffer.c | 8 #define MAX(a, b) ((a)>(b)?(a):(b)) argument 9 #define MIN(a, b) ((a)<(b)?(a):(b)) argument
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/doc/ |
| H A D | newstyle.css | 4 a, a:active { selector 8 a:visited { 11 a:hover, a:focus {
|
| /mOS-networking-stack/core/src/bpf/ |
| H A D | sf_grammar.c | 570 struct arth *a; member 2907 { (yyval.a) = gen_arth(SFBPF_ADD, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse() 2913 { (yyval.a) = gen_arth(SFBPF_SUB, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse() 2919 { (yyval.a) = gen_arth(SFBPF_MUL, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse() 2925 { (yyval.a) = gen_arth(SFBPF_DIV, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse() 2931 { (yyval.a) = gen_arth(SFBPF_AND, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse() 2937 { (yyval.a) = gen_arth(SFBPF_OR, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse() 2943 { (yyval.a) = gen_arth(SFBPF_LSH, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse() 2949 { (yyval.a) = gen_arth(SFBPF_RSH, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse() 2955 { (yyval.a) = gen_neg((yyvsp[0].a)); } in yyparse() [all …]
|