[squid-users] Squid Source Code: What files/functions receive/send packets from/to hardware
Amos Jeffries
squid3 at treenet.co.nz
Sat Feb 7 08:45:37 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/02/2015 7:51 p.m., Priya Agarwal wrote:
> Actually I am unable to mail to squid-dev. Thus asking here.
> How/where does squid open the network interface and starts
> listening on them.
>
I already went over how Squid only goes down to the TCP socket
interfaces layer. Nowhere near the "network interfaces".
Assuming you mean sockets, the answer is the same as before. In
src/fd.cc where the other OSI layer 4 API operations are.
... unless you mean something higher level such as specific types of
sockets. In which case there are comm (OSI layer 5) APIs in src/comm/*
(C++), src/comm.h and src/comm.cc (the old C ones we have not updated
fully yet)
Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
iQEcBAEBAgAGBQJU1dCwAAoJELJo5wb/XPRj/NgH/1sRmo2saNz+IkL8Dzmeq2/o
RgIteRCgMaFeeEVVVPfAopUgHKGOcoFed/UoV2MXyHpi6byq8Hb5YOrQ0nxAKKfF
L9uJsOuqQqCqxDTQkYYWZFpaEGoK0N8xb4XhOZntCUIdIg2GssFPBwCXZU17v5In
hxxd5gUKUOlwzyJtkGM0wKG6XpPU7CRtOGLPQAtBRG7Ywmbm3aufKFOFfZb105Gp
QlvuQgGwsf0TpACy1SFP3Amwb1yZVYGZ22AAYnP3xWYIXMzLnZNPiZ8s/ftLG2Nz
O+SsKHdOCOYsvygWOoU+mfyT2paHlV+K++IZvYCqwGJzd/TNhQIR5pwc9+zYL34=
=FDHi
-----END PGP SIGNATURE-----
More information about the squid-users
mailing list