expanding on t these functions do!

From: will fitzgerald (linux_learning@yahoo.co.uk)
Date: Tue Oct 01 2002 - 14:30:14 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:28 EST