Some kernel source questions...

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

 



Hello,
       I have some questions...
1)When data is copied to ICMP/UDP packets? 
when i trace kernel code in 2.4.26 kernel version is
that in case of ICMP and UDP packets the packet gets
its space allocated in ip_build_xmit function and then
ip header is built.
2) What getfrag does? Does it copies actual data in
packet?
3)Also can anybody explain me function 
int ip_build_xmit(struct sock *sk,int getfrag (const
void *,char *,unsigned int, unsigned int),const void
*frag,
		  unsigned length,
		  struct ipcm_cookie *ipc,
		  struct rtable *rt,
		  int flags)
and its parameter usage???

regards,
linux_lover


	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux