arp_rcv send problem
hey all. i'm kind of new to kernel programming. i'm doing pretty well though. right now i'm messing with the networking stack. whenever an arp_rcv happens i want the kernel to send some packets out. so i can get that to work just fine...send an arp packet or an icmp packet inside of the arp_rcv function. but if i try to send more than one packet only the first packet gets sent. anyone know what's going on? for example it could be something like:
arp_rcv(...)
{
old stuff here
arp_send(...)
arp_send(...)
arp_send(...)
old stuff here
}
and that'd be all i'd add. just those sends. but only one packet is sent. same thing for icmp or any type basically. i have no clue why it only sends once. any help would be appreciated. thanks.
bassdemon
|