Lines Matching refs:proxy_entry
93 struct proxy_entry { struct
112 struct proxy_entry *next; argument
113 struct proxy_entry *last; argument
145 static void RuleAdd(struct libalias *la, struct proxy_entry *);
146 static void RuleDelete(struct proxy_entry *);
207 RuleAdd(struct libalias *la, struct proxy_entry *entry) in RuleAdd()
210 struct proxy_entry *ptr; in RuleAdd()
211 struct proxy_entry *ptr_last; in RuleAdd()
251 RuleDelete(struct proxy_entry *entry) in RuleDelete()
272 struct proxy_entry *ptr; in RuleNumberDelete()
278 struct proxy_entry *ptr_next; in RuleNumberDelete()
470 struct proxy_entry *ptr; in ProxyCheck()
570 struct proxy_entry *proxy_entry; in LibAliasProxyRule() local
851 proxy_entry = malloc(sizeof(struct proxy_entry)); in LibAliasProxyRule()
852 if (proxy_entry == NULL) { in LibAliasProxyRule()
857 proxy_entry->proxy_type = proxy_type; in LibAliasProxyRule()
858 proxy_entry->rule_index = rule_index; in LibAliasProxyRule()
859 proxy_entry->proto = proto; in LibAliasProxyRule()
860 proxy_entry->proxy_port = htons(proxy_port); in LibAliasProxyRule()
861 proxy_entry->server_port = htons(server_port); in LibAliasProxyRule()
862 proxy_entry->server_addr = server_addr; in LibAliasProxyRule()
863 proxy_entry->src_addr.s_addr = src_addr.s_addr & src_mask.s_addr; in LibAliasProxyRule()
864 proxy_entry->dst_addr.s_addr = dst_addr.s_addr & dst_mask.s_addr; in LibAliasProxyRule()
865 proxy_entry->src_mask = src_mask; in LibAliasProxyRule()
866 proxy_entry->dst_mask = dst_mask; in LibAliasProxyRule()
868 RuleAdd(la, proxy_entry); in LibAliasProxyRule()