System Call

1999-11-13 Thread Parthasarathy M. Aji
Dear Sir, How do I set up a system call of my own in the FreeBSD kernel? 1) Do I just change the syscalls.master and my new function and rebuild the entire kernel?. If so where do I put my implementation files? in the same directory as syscalls.master exists? I am new to writing custom system call

Ip _ fw.c

1999-11-16 Thread Parthasarathy M. Aji
Hey, i want to do packet filtering and redirection through the kernel. Specifically, My application will be on an intermediate node, through which, I want to redirect every packet that comes through me to a different server. Would you know what files I might want to look into this( like ip_fw.c fo

Re: Ip _ fw.c

1999-11-21 Thread Parthasarathy M. Aji
do that > but I've not done it. > julian > > (p.s. tell more about your set-up and maybe I can be more specific) > > > On Wed, 17 Nov 1999, Parthasarathy M. Aji wrote: > > > Hey, > > i want to do packet filtering and redirection through the > > kern

ip checksum

1999-11-22 Thread Parthasarathy M. Aji
Hey, I am trying to recompute the checksum of an IP packet. I use netinet/in_chksum.c to do this. The values returned are not correct. I've reset the ip_sum field to 0 before doing the sum. Is there something missing? thanks To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Redirection

1999-11-24 Thread Parthasarathy M. Aji
Hey, We are doing packet redirection. The client sends packets through our node to a given server. The server contents are replicated in 2 other servers. We want to redirect new syn packets from the client to a specific server in a round robin fashion. Here 's typical scenarion, let the client's

kernel file I/O

2000-04-14 Thread Parthasarathy M. Aji
Hey All, I know how to read and write to a text file in the user level , but I am assigned the task of reading data from a file while writing a kernel level C program. I don't know what functions to use, can any of you help me. If you can point me to some web links or some code it would be reall