Search squid archive

Re: Squid Source Code: What files/functions receive/send packets from/to hardware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/01/2015 2:27 a.m., Priya Agarwal wrote:
> Hi.
> 
> I am Priya. I want to modify the squid code only in places where it
> is actually communicating with the hardware to send or receive
> packets. I do not intent to change its functionality or how it
> works.
> 

Squid does not communicate with the hardware. Squid communicates with
the OS networking stack. The OS does the packeting/unpacketing.


> I am facing some difficulty in understanding the full code. If I
> could get some hints on for e.g. which functions/files are involved
> receiving and storing the packet data, or which structures hold the
> received/sent data etc., my work would become more streamlined.

:-) nobody knows the full code anymore. Not even me, the current
Project maintainer. Though if you would explain what you are trying to
achieve I can point you in the right direction. Or maybe somebody in
squid-dev mailing list (where the dev team hang out and discuss code).

> 
> My purpose is to add some extra code wherever the application wants
> to send or receive the packets.

What exactly are you wanting to make Squid do?
 "some extra code" is kind of weak on detail.

Cheers
Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUqrpSAAoJELJo5wb/XPRjxZMIAJR8aMSP9Uzts8Jh318jtzhM
SaCUakiRwqYUttm+bua9+QcPc43AH8pcE+Bm5M95gWg7LjPli8zE9AJlCfzDV7ZW
KZu8fCqfEjgEEgwrWLHpT4jOLsdQSxKcZ9ftwgRIxlxaKPiUa2Hrap/BgUWEmaQh
X1Fi3wxrnPIek/gJQsYRgvQzJyx/S04EX8088dXz7xjyu+16fnDj0H0KdzQxgJZ4
KthXx3PZ6S741pvrY7F4Sb9ozydfg+8tSXb9X0Bzxyl5cK4Mde95rGwfts+x/QEj
fk+EGHGUZjjNtcfo473QugPB5YepLH0uh3dxssNQjxhLykuSoFiATpKDRH5IcMw=
=tu2O
-----END PGP SIGNATURE-----
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux