| /mOS-networking-stack/util/ |
| H A D | ring_buffer.c | 130 u_char* ip; in CopyData() local 142 ip = GetInputPoint(dest_buff); in CopyData() 152 u_char* ip; in MoveToREPData() local 171 ip = GetInputPoint(dest_buff); in MoveToREPData() 178 memcpy(ip, &rep, sizeof(rephdr)); in MoveToREPData() 179 ip += sizeof(rephdr); in MoveToREPData() 198 u_char* ip; in MoveData() local 211 ip = GetInputPoint(dest_buff); in MoveData() 244 u_char* ip; in MtcpReadFromBuffer() local 247 ip = GetInputPoint(r_buff); in MtcpReadFromBuffer() [all …]
|
| /mOS-networking-stack/core/src/ |
| H A D | arp.c | 46 uint32_t ip; member 74 GetHWaddr(uint32_t ip) in GetHWaddr() argument 79 if (ip == g_config.mos->netdev_table->ent[i]->ip_addr) { in GetHWaddr() 103 if (g_config.mos->arp_table->ent[i]->ip == dip) { in GetDestinationHWaddr() 164 RegisterARPEntry(uint32_t ip, const unsigned char *haddr) in RegisterARPEntry() argument 171 g_config.mos->arp_table->ent[idx]->ip = ip; in RegisterARPEntry() 174 g_config.mos->arp_table->ent[idx]->masked_ip = ip; in RegisterARPEntry() 194 if (ent->ip == ip) { in RequestARP() 205 ent->ip = ip; in RequestARP() 214 ARPOutput(mtcp, nif, arp_op_request, ip, haddr, taddr); in RequestARP() [all …]
|
| H A D | config.c | 314 ent->ip = inet_addr(address); in FeedArpConfLine() 317 ent->masked_ip = ent->mask & ent->ip; in FeedArpConfLine() 345 ent->ip = inet_addr(address); in FeedRouteConfLine() 347 ent->masked_ip = ent->mask & ent->ip; in FeedRouteConfLine() 477 ntohl(walk->ip), ntohl(walk->mask), in ArpConfPrint() 656 char ip[ENTRY_LEN]; in FetchARPKernelEntries() local 676 ip, &type, &flags, hwa, mask, dev); in FetchARPKernelEntries() 699 ent->ip = inet_addr(ip); in FetchARPKernelEntries() 702 ent->masked_ip = ent->mask & ent->ip; in FetchARPKernelEntries() 763 ent->ip = dest; in FetchRouteKernelEntries() [all …]
|
| H A D | tcp.c | 27 uint32_t ip, uint16_t port) in DetectStreamType() argument 69 if (ip == addr->sin_addr.s_addr) { in DetectStreamType() 76 if (ip == g_config.mos->netdev_table->ent[i]->ip_addr) { in DetectStreamType()
|
| H A D | tcp_in.c | 27 FilterSYNPacket(mtcp_manager_t mtcp, uint32_t ip, uint16_t port) in FilterSYNPacket() argument 42 if (ip == addr->sin_addr.s_addr) { in FilterSYNPacket() 50 if (ip == g_config.mos->netdev_table->ent[i]->ip_addr) { in FilterSYNPacket()
|
| /mOS-networking-stack/ |
| H A D | setup.sh | 47 local ip=$1 50 if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then 53 ip=($ip) 55 [[ ${ip[0]} -le 255 && ${ip[1]} -le 255 \ 56 && ${ip[2]} -le 255 && ${ip[3]} -le 255 ]]
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/doc/outdated/ |
| H A D | extforward.txt | 15 Apache. This module will extract the client's "real" ip from 55 …will translate ip addresses coming from 10.0.0.232 to real ip addresses extracted from "X-Forwarde… 69 The effect of this module is variable on $HTTP["remotip"] directives and other module's remote ip d… 81 In order to see the "real" ip address in access log ,
|
| H A D | configuration.txt | 104 $HTTP["remote-ip"] 109 match on socket. Value must be on the format "ip:port" where ip is an IP
|
| H A D | proxy.txt | 67 :"host": is ip of the proxy server
|
| H A D | fastcgi.txt | 121 :"host": is hostname/ip of the FastCGI process
|
| /mOS-networking-stack/core/src/include/ |
| H A D | arp.h | 14 GetHWaddr(uint32_t ip); 20 RequestARP(mtcp_manager_t mtcp, uint32_t ip, int nif, uint32_t cur_ts);
|
| H A D | config.h | 77 uint32_t ip; member 93 uint32_t ip; member
|
| H A D | mtcp.h | 168 uint32_t ip; member
|
| /mOS-networking-stack/samples/simple_firewall/ |
| H A D | simple_firewall.c | 292 MatchAddr(in_addr_t ip, in_addr_t fw_ip, int netmask) in MatchAddr() argument 294 ip = IP_NETMASK(ip, netmask); in MatchAddr() 297 return (fw_ip == 0 || ip == fw_ip); in MatchAddr()
|
| /mOS-networking-stack/samples/nat/ |
| H A D | nat.c | 92 set_addr(mctx_t mctx, int sock, uint32_t ip, uint16_t port, int part) in set_addr() argument 105 (uint8_t *)&ip, sizeof(in_addr_t), in set_addr()
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | mod_extforward.c | 297 const char *ip = ds->value->ptr; in last_not_in_array() local 299 if (!array_get_element(forwarder, ip)) { in last_not_in_array() 300 return ip; in last_not_in_array()
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/ |
| H A D | NEWS | 202 * mod_magnet: Add env["request.remote-ip"] (fixes #1740) 381 * log the ip of failed auth tries in error.log (enhancement #1544) 556 * added ability to specify which ip address spawn-fci listens on 677 * fixed caching for remote-ip conditionals with keep-alive 739 * added remote-ip to $HTTP
|