Lines Matching refs:proxy_entry
90 struct proxy_entry { struct
109 struct proxy_entry *next; argument
110 struct proxy_entry *last; argument
138 static void RuleAdd(struct libalias *la, struct proxy_entry *);
139 static void RuleDelete(struct proxy_entry *);
200 RuleAdd(struct libalias *la, struct proxy_entry *entry) in RuleAdd()
203 struct proxy_entry *ptr; in RuleAdd()
204 struct proxy_entry *ptr_last; in RuleAdd()
244 RuleDelete(struct proxy_entry *entry) in RuleDelete()
265 struct proxy_entry *ptr; in RuleNumberDelete()
271 struct proxy_entry *ptr_next; in RuleNumberDelete()
459 struct proxy_entry *ptr; in ProxyCheck()
557 struct proxy_entry *proxy_entry; in LibAliasProxyRule() local
838 proxy_entry = malloc(sizeof(struct proxy_entry)); in LibAliasProxyRule()
839 if (proxy_entry == NULL) { in LibAliasProxyRule()
844 proxy_entry->proxy_type = proxy_type; in LibAliasProxyRule()
845 proxy_entry->rule_index = rule_index; in LibAliasProxyRule()
846 proxy_entry->proto = proto; in LibAliasProxyRule()
847 proxy_entry->proxy_port = htons(proxy_port); in LibAliasProxyRule()
848 proxy_entry->server_port = htons(server_port); in LibAliasProxyRule()
849 proxy_entry->server_addr = server_addr; in LibAliasProxyRule()
850 proxy_entry->src_addr.s_addr = src_addr.s_addr & src_mask.s_addr; in LibAliasProxyRule()
851 proxy_entry->dst_addr.s_addr = dst_addr.s_addr & dst_mask.s_addr; in LibAliasProxyRule()
852 proxy_entry->src_mask = src_mask; in LibAliasProxyRule()
853 proxy_entry->dst_mask = dst_mask; in LibAliasProxyRule()
855 RuleAdd(la, proxy_entry); in LibAliasProxyRule()