linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "will fitzgerald" <linux_learning@yahoo.co.uk>
To: linux-c-programming@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: expanding on t these functions do!
Date: Tue, 1 Oct 2002 20:30:14 +0100 (BST)	[thread overview]
Message-ID: <20021001193014.6899.qmail@web13107.mail.yahoo.com> (raw)

hi all,


 i was hoping someone could explain what is it exactly
that each of these functions actually do.i have
supplied what i think they do under each of them.i'm
using kernel 2.4.14 (old i know!!!!)

skb_bond() in dev.c
net_rx_action() calls it, it returns and then
net_rx_action calls ip_rcv() but what is skb_bond
doing?

 skb_shared() in skbuff.h
  ip_rcv() calls it befoe doing a NF_HOOK to call
ip_rcv_finish() again i'm not sure of what it does.

skb_cloned() in skbuff.h
it seems to be linked to skb_shared() according to the
comments.  ip_forwad() calls  calling
rt_tos2priority() and skb_cow() and skb_cow calls
skb_cloned().
what is skb cloned used for?

rt_tos2priority in route.h
  does it give security priority information? even
though i don't have a firewall set on my linux router
(experimenting with networks, hobbie) , it gets called
  as i have inserted printk's to test if it gets
called.

ip_decrease_ttl() in net/ip.h
 whats the purpose of this?

ip_send() in net/ip.h
ip_forward_finish() calls this function. what does
this line "skb->len > skb->dst->pmtu" do in order to
make the decision of calling one of two functions?

neigh_resolve_output() in neighbour.c
this calls the next two functions below. its called
from ip_finish_output2(). does this lookup fib tables
or cahces etc?

neigh_event_send() in neighbour.h

what does this function check in order to call the
next function:   __neigh_event_send(neigh, skb)
   
__neigh_event_send() in neighbour.c
what exactly is going on here? after the above
function has returned its result this one gets
executed.


thank you for your time,
regards.






__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

                 reply	other threads:[~2002-10-01 19:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021001193014.6899.qmail@web13107.mail.yahoo.com \
    --to=linux_learning@yahoo.co.uk \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).