LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-28-2004, 10:04 PM   #1
bassdemon
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: gentoo
Posts: 16

Rep: Reputation: 0
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
 
Old 09-28-2004, 10:04 PM   #2
bassdemon
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: gentoo
Posts: 16

Original Poster
Rep: Reputation: 0
oh btw i'm working on a linux 2.4.2 kernel on a linksys wrt54g. thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem to send email... os2 Linux - Software 1 09-10-2004 03:15 PM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
LICQ: send through server OR send directly mikeshn Linux - Software 0 06-09-2003 06:14 PM
Send Mail Problem mallikarjun Linux - Networking 4 05-17-2002 09:22 AM
using Send Page or Send Link in Netscape blistfix General 1 08-28-2001 05:37 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration