[comp.unix.internals] kernel mod. for ethernet output

drc@konkord.uucp (Dave Carhart) (10/22/90)

I need help in modifing my kernel objects or having someone modify the source
code and send me the object file so that I can link it in to my kernel.

The part of the kernel that I need modified is in if_le.c

The part I need modified is that:
I am trying to write a traffic generator that will look like many different
stations are transmitting not just the one that I am really using.

The problem that I am having is that something in the kernel (I'm pretty sure 
that it is in the above module in a function called le_output
) is 
reading the lance ethernet chip's register and overwriting the source address
that I put in the buffer.  I currently have a work around in that before I 
send a packet I change the spurce address in the chip's address.  This works 
fine but is slow as h**l.  I can only get about 1,000 to 3,000 packets per 
this way and I need much much more through put.

I am using a Sparc station 1+ with SunOS 4.1.  It has the lance ethernet chip 
installed.  I can use either the NIT driver or a driver that I DL'd from 
annonymous FTP called enet.

Thanks,		Dave.


Dave Carhart		Phone	508-460-4646    FAX 508-481-9772 
Concord Communications, Inc.		 	Telex  910-240-1986	
753 Forest St. 			uucp     -->	uunet!konkord!drc
Marlboro, MA 01572 USA	        internet -->    drc%konkord@uunet.uu.net


-- 
Dave Carhart		Phone	508-460-4646    FAX 508-481-9772 
Concord Communications, Inc.		 	Telex  910-240-1986	
753 Forest St. 			uucp     -->	uunet!konkord!drc
Marlboro, MA 01572 USA	        internet -->    drc%konkord@uunet.uu.net