Lines Matching refs:proxy_entry

87 struct proxy_entry  struct
106 struct proxy_entry *next; argument
107 struct proxy_entry *last; argument
116 static struct proxy_entry *proxyList;
141 static void RuleAdd(struct proxy_entry *);
142 static void RuleDelete(struct proxy_entry *);
200 RuleAdd(struct proxy_entry *entry) in RuleAdd()
203 struct proxy_entry *ptr; in RuleAdd()
204 struct proxy_entry *ptr_last; in RuleAdd()
246 RuleDelete(struct proxy_entry *entry) in RuleDelete()
263 struct proxy_entry *ptr; in RuleNumberDelete()
269 struct proxy_entry *ptr_next; in RuleNumberDelete()
457 struct proxy_entry *ptr; in ProxyCheck()
560 struct proxy_entry *proxy_entry; in PacketAliasProxyRule() local
819 proxy_entry = malloc(sizeof(struct proxy_entry)); in PacketAliasProxyRule()
820 if (proxy_entry == NULL) in PacketAliasProxyRule()
823 proxy_entry->proxy_type = proxy_type; in PacketAliasProxyRule()
824 proxy_entry->rule_index = rule_index; in PacketAliasProxyRule()
825 proxy_entry->proto = proto; in PacketAliasProxyRule()
826 proxy_entry->proxy_port = htons(proxy_port); in PacketAliasProxyRule()
827 proxy_entry->server_port = htons(server_port); in PacketAliasProxyRule()
828 proxy_entry->server_addr = server_addr; in PacketAliasProxyRule()
829 proxy_entry->src_addr.s_addr = src_addr.s_addr & src_mask.s_addr; in PacketAliasProxyRule()
830 proxy_entry->dst_addr.s_addr = dst_addr.s_addr & dst_mask.s_addr; in PacketAliasProxyRule()
831 proxy_entry->src_mask = src_mask; in PacketAliasProxyRule()
832 proxy_entry->dst_mask = dst_mask; in PacketAliasProxyRule()
834 RuleAdd(proxy_entry); in PacketAliasProxyRule()