multiple questions regarging squid code

From: atit_ldce <atit_ldce@dont-contact.us>
Date: Mon, 17 Mar 2003 17:39:35 +0530 (GMT+05:30)

why ps_state struct is passed as callback data in call of aclNBCheck (in peer_select.c)
what acl.c will do with this callback data.(i gone through acl.c but things are not clear).

what cbdatalock() function will do?

what is PSC that i found at many places in code
sample
void
peerSelect(request_t * request,
    StoreEntry * entry,
    PSC * callback,
    void *callback_data)

what following constant (defined in enums.h enum icp_opcode) will indicate?

        "ICP_SEND",
        "ICP_SENDA",
        "ICP_DATABEG",
        "ICP_DATA",
        "ICP_DATAEND",
        "ICP_NOTIFY",
        "ICP_INVALIDATE",
        "ICP_DELETE",
        "ICP_END"

what is purpose of delay variable in icpUdpSend in icp_v2.c
if delay is o then squid will Queue the message.why this is done?
what is purpose of queueing ICP messages?

what is significance for INCOMING_ICP_MAX constant?
(in defines.h it is mentioned that
max number of ICP messages to receive per call to icpHandleUdp())
but thing is not clear...
why we want restriction of this kind

what is purpose of incoming_sockets_accepted?

regards

atit jariwala

_____________________________________________________________________
Get your internet connection from the fastest growing digital network.
ICENET
visit our site www.icenet.net
Received on Sun Mar 16 2003 - 23:44:12 MST

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