Hello:
Today I find a strange function calling like this:
Function Definition: (rtnet/stack/ipv4/ip_output.c)
int rt_ip_build_xmit_slow(struct rtsocket *sk,
int getfrag(const void *, char *, unsigned int, unsigned int),
const void *frag, unsigned length, struct dest_route *rt,
int msg_flags, unsigned int mtu, unsigned int prio)
Function calling:(rtnet/stack/ipv4/ip_output.c)
return rt_ip_build_xmit_slow(sk, getfrag, frag,
length - sizeof(struct iphdr),
rt, msg_flags, mtu, prio);
It seems as the getfrag could be regarded as getfrag function. But
I have never seen any getfrag definition.
Is there any trick in the function getfrag? Does anybody give me an
explaination?
Thanks.
Regards.
Cheng Guanghui
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
RTnet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users