| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | mod_expire.c | 125 int num; in mod_expire_get_offset() local 159 num *= 60 * 60 * 24; in mod_expire_get_offset() 162 num *= 60 * 60; in mod_expire_get_offset() 165 num *= 60; in mod_expire_get_offset() 168 num *= 1; in mod_expire_get_offset() 175 retts += num; in mod_expire_get_offset() 186 num *= 60 * 60 * 24; in mod_expire_get_offset() 188 num *= 60 * 60; in mod_expire_get_offset() 190 num *= 60; in mod_expire_get_offset() 192 num *= 1; in mod_expire_get_offset() [all …]
|
| H A D | mod_redirect.c | 225 size_t num = pattern[k + 1] - '0'; in mod_redirect_uri_handler() local 234 if (num < (size_t)n) { in mod_redirect_uri_handler() 235 buffer_append_string(p->location, list[num]); in mod_redirect_uri_handler() 243 config_append_cond_match_buffer(con, p->conf.context, p->location, num); in mod_redirect_uri_handler()
|
| H A D | mod_rewrite.c | 401 size_t num = pattern[k + 1] - '0'; in process_rewrite_rules() local 410 if (num < (size_t)n) { in process_rewrite_rules() 411 buffer_append_string(con->request.uri, list[num]); in process_rewrite_rules() 420 config_append_cond_match_buffer(con, p->conf.context, con->request.uri, num); in process_rewrite_rules()
|
| H A D | mod_webdav.c | 1637 const char *num = ds_range->value->ptr; in URIHANDLER_FUNC() local 1641 if (0 != strncmp(num, "bytes ", 6)) { in URIHANDLER_FUNC() 1649 num += 6; in URIHANDLER_FUNC() 1652 while (*num == ' ' || *num == '\t') num++; in URIHANDLER_FUNC() 1654 if (*num == '\0') { in URIHANDLER_FUNC() 1660 offset = strtoll(num, &err, 10); in URIHANDLER_FUNC()
|
| H A D | mod_dirlisting.c | 414 static void http_dirls_sort(dirls_entry_t **ent, int num) { in http_dirls_sort() argument 415 int gap = num; in http_dirls_sort() 428 for (i = 0; i < num - gap; i++) { in http_dirls_sort()
|
| /mOS-networking-stack/core/src/ |
| H A D | netmap_module.c | 59 for (j = 0; j < g_config.mos->netdev_table->num; j++) { in netmap_init_handle() 220 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in netmap_select() 227 rc = poll(pfd, g_config.mos->netdev_table->num, IDLE_POLL_WAIT); in netmap_select() 231 rc = poll(pfd, g_config.mos->netdev_table->num, 0); in netmap_select() 236 for (i = 0; rc > 0 && i < g_config.mos->netdev_table->num; i++) in netmap_select() 248 for (i = 0; i < g_config.mos->netdev_table->num; i++) in netmap_get_nif() 270 for (i = 0; i < g_config.mos->netdev_table->num; i++) in netmap_destroy_handle() 282 num_dev = g_config.mos->netdev_table->num; in netmap_load_module_upper_half() 339 for (j = 0; j < g_config.mos->netdev_table->num; j++) { in netmap_load_module_lower_half()
|
| H A D | config.c | 287 conf->num++; in FeedNetdevConfLine() 321 conf->num++; in FeedArpConfLine() 354 conf->num++; in FeedRouteConfLine() 381 conf->num++; in FeedNICFwdConfLine() 452 conf->num); in NetdevConfPrint() 471 conf->num); in ArpConfPrint() 490 conf->num); in RouteConfPrint() 507 conf->num); in NICFwdConfPrint() 677 if (num < 6) in FetchARPKernelEntries() 750 if (num < 11) in FetchRouteKernelEntries() [all …]
|
| H A D | arp.c | 78 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in GetHWaddr() 101 for (i = 0; i < g_config.mos->arp_table->num; i++) { in GetDestinationHWaddr() 166 int idx = g_config.mos->arp_table->num; in RegisterARPEntry() 176 g_config.mos->arp_table->num = idx + 1; in RegisterARPEntry() 270 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in ProcessARPPacket() 304 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in PublishARP() 337 for (i = 0; i < g_config.mos->arp_table->num; i++) { in PrintARPTable() 351 if (g_config.mos->arp_table->num == 0) in PrintARPTable()
|
| H A D | pcap_module.c | 96 for (i = 0; i < g_config.mos->netdev_table->num; i++) in pcap_get_nif() 117 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in pcap_destroy_handle() 131 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in pcap_load_module_upper_half()
|
| H A D | dpdk_module.c | 194 for (j = 0; j < g_config.mos->netdev_table->num; j++) { in dpdk_init_handle() 466 for (i = 0; i < g_config.mos->netdev_table->num; i++) in dpdk_destroy_handle() 685 for (portid = 0; portid < g_config.mos->netdev_table->num; portid++) { in dpdk_load_module_lower_half() 687 for (eth_idx = 0; eth_idx < g_config.mos->netdev_table->num; eth_idx++) in dpdk_load_module_lower_half() 690 if (eth_idx == g_config.mos->netdev_table->num) in dpdk_load_module_lower_half() 785 check_all_ports_link_status(g_config.mos->netdev_table->num, 0xFFFFFFFF); in dpdk_load_module_lower_half() 796 for (portid = 0; portid < g_config.mos->netdev_table->num; portid++) in dpdk_load_module_lower_half()
|
| H A D | core.c | 189 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in PrintThreadNetworkStats() 323 for (j = 0; j < g_config.mos->netdev_table->num; j++) { in PrintNetworkStats() 335 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in PrintNetworkStats() 780 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in WritePacketsToChunks() 897 for (rx_inf = 0; rx_inf < g_config.mos->netdev_table->num; rx_inf++) { in RunMainLoop() 1003 int num_dev = g_config.mos->netdev_table->num; in RunMainLoop() 1266 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in InitializeMTCPManager() 1591 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in mtcp_free_context() 1742 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in mtcp_init() 1793 for (i = 0; i < g_config.mos->netdev_table->num; i++) in mtcp_destroy()
|
| H A D | icmp.c | 194 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in ProcessICMPPacket()
|
| H A D | ip_out.c | 19 for (i = 0; i < g_config.mos->route_table->num; i++) { in GetOutputInterface()
|
| H A D | tcp.c | 75 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in DetectStreamType()
|
| H A D | tcp_out.c | 829 } else if (cur_stream->sndvar->nif_out >= g_config.mos->netdev_table->num) { in GetSender()
|
| H A D | tcp_in.c | 49 for (i = 0; i < g_config.mos->netdev_table->num; i++) { in FilterSYNPacket()
|
| /mOS-networking-stack/core/src/include/ |
| H A D | config.h | 70 int num; member 86 int num; member 103 int num; member 115 int num; member
|
| H A D | netmap_user.h | 619 long num; in nm_open() local 682 num = strtol(port, (char **)&port, 10); in nm_open() 683 if (num < 0 || num >= NETMAP_RING_MASK) { in nm_open() 685 num, NETMAP_RING_MASK); in nm_open() 688 nr_ringid = num & NETMAP_RING_MASK; in nm_open()
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/tests/ |
| H A D | var-include-sub.conf | 15 num = 1
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/ |
| H A D | ltmain.sh | 5655 void *xmalloc (size_t num); 5929 xmalloc (size_t num) 5931 void *p = (void *) malloc (num);
|