Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.embedded > #371
| From | Rainer Weikusat <rweikusat@mssgmbh.com> |
|---|---|
| Newsgroups | comp.os.linux.embedded, comp.unix.programmer |
| Subject | Re: path of packets through network stack |
| Date | 2012-11-12 16:32 +0000 |
| Message-ID | <87sj8e234t.fsf@sapphire.mobileactivedefense.com> (permalink) |
| References | <k7m2i1$7ul$1@speranza.aioe.org> |
Cross-posted to 2 groups.
"Mark" <mark_cruzNOTFORSPAM@hotmail.com> writes: [...] > I placed printk in inet_sendmsg() at net/ipv4/af_inet.c to print > out the socket protocol name (RAW, UDP etc.) and the address of > protocol specific sendmsg function which correctly appears to be > raw_sendmsg() from net/ipv4/raw.c > > Now, I'm sending a single packet and observe that I'm getting printk form > inet_sendmsg() twice.This puzzles me -- is it normal (has something to do > with interrupts etc. ?) or there's something broken in the kernel? Presumably, the phenomenon you observed is 'normal' and it is certainly not related to 'interrupts'. Interrupts are used for controlling/ driving devices. This happens 'below' the network stack. sendmsg is something which happens at the top of the latter.
Back to comp.os.linux.embedded | Previous | Next — Previous in thread | Next in thread | Find similar
path of packets through network stack "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2012-11-10 12:23 -0500
Re: path of packets through network stack Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-11-12 16:32 +0000
Re: path of packets through network stack "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2012-11-13 08:31 -0500
Re: path of packets through network stack Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-11-13 14:29 +0000
Re: path of packets through network stack "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2012-11-14 09:41 -0500
Re: path of packets through network stack Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-11-15 16:12 +0000
Re: path of packets through network stack Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2012-11-12 20:22 +0200
Re: path of packets through network stack "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2012-11-13 08:34 -0500
Re: path of packets through network stack Rick Jones <rick.jones2@hp.com> - 2012-11-13 01:34 +0000
csiph-web