Lines Matching defs:proxy_entry
88 * A linked list of arbitrary length, based on struct proxy_entry is
91 struct proxy_entry {
110 struct proxy_entry *next;
111 struct proxy_entry *last;
143 static void RuleAdd(struct libalias *la, struct proxy_entry *);
144 static void RuleDelete(struct proxy_entry *);
205 RuleAdd(struct libalias *la, struct proxy_entry *entry)
208 struct proxy_entry *ptr;
209 struct proxy_entry *ptr_last;
249 RuleDelete(struct proxy_entry *entry)
270 struct proxy_entry *ptr;
276 struct proxy_entry *ptr_next;
466 struct proxy_entry *ptr;
566 struct proxy_entry *proxy_entry;
846 proxy_entry = malloc(sizeof(struct proxy_entry));
847 if (proxy_entry == NULL) {
852 proxy_entry->proxy_type = proxy_type;
853 proxy_entry->rule_index = rule_index;
854 proxy_entry->proto = proto;
855 proxy_entry->proxy_port = htons(proxy_port);
856 proxy_entry->server_port = htons(server_port);
857 proxy_entry->server_addr = server_addr;
858 proxy_entry->src_addr.s_addr = src_addr.s_addr & src_mask.s_addr;
859 proxy_entry->dst_addr.s_addr = dst_addr.s_addr & dst_mask.s_addr;
860 proxy_entry->src_mask = src_mask;
861 proxy_entry->dst_mask = dst_mask;
863 RuleAdd(la, proxy_entry);