how parsing works?

From: atit_ldce <atit_ldce@dont-contact.us>
Date: Mon, 17 Feb 2003 16:01:24 +0530 (GMT+05:30)

can u explain how pasring in squid works?

for e.g.

i have following line in squid.conf

acl normal_service_net src 10.0.0.0/255.255.255.0
       acl good_service_net src 10.0.1.0/255.255.255.0
       tcp_outgoing_address 10.0.0.1 normal_service_net
       tcp_outgoing_address 10.0.0.2 good_service_net
       tcp_outgoing_address 10.0.0.3

for this how Config.accessList is manipulated
and how Config.accesslist.outgoing_address is intialized.

also need explanation abt

struct _acl {
    char name[ACL_NAME_SZ];
    squid_acl type;
    void *data;
    char *cfgline;
    acl *next;
};

what is purpose of data and cfgline in this struct.

how this is related to struct _acl_ip_data struct
thanks

_____________________________________________________________________
Get your internet connection from the fastest growing digital network.
ICENET
visit our site www.icenet.net
Received on Sun Feb 16 2003 - 22:05:17 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:15 MST