Lines Matching defs:proxy_entry
87 * A linked list of arbitrary length, based on struct proxy_entry is
90 struct proxy_entry {
109 struct proxy_entry *next;
110 struct proxy_entry *last;
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)
203 struct proxy_entry *ptr;
204 struct proxy_entry *ptr_last;
244 RuleDelete(struct proxy_entry *entry)
265 struct proxy_entry *ptr;
271 struct proxy_entry *ptr_next;
459 struct proxy_entry *ptr;
557 struct proxy_entry *proxy_entry;
838 proxy_entry = malloc(sizeof(struct proxy_entry));
839 if (proxy_entry == NULL) {
844 proxy_entry->proxy_type = proxy_type;
845 proxy_entry->rule_index = rule_index;
846 proxy_entry->proto = proto;
847 proxy_entry->proxy_port = htons(proxy_port);
848 proxy_entry->server_port = htons(server_port);
849 proxy_entry->server_addr = server_addr;
850 proxy_entry->src_addr.s_addr = src_addr.s_addr & src_mask.s_addr;
851 proxy_entry->dst_addr.s_addr = dst_addr.s_addr & dst_mask.s_addr;
852 proxy_entry->src_mask = src_mask;
853 proxy_entry->dst_mask = dst_mask;
855 RuleAdd(la, proxy_entry);