Ramakrishnan Meenakshi Sundaram writes:
> I'm a implementing a STREAMS module that acts as a filter between IP and the
> DLPI provider. I want the information about which range of IP addresses, I
> should filter from the configuration file. I'm looking at the pfil module as
> part of solaris. 
> 
> I'll filter only those packets. I may not have a user process to which I can
> communicate.

In that case, it sounds like all you need is static configuration.
Create a user utility (just like /usr/sbin/ipf) that opens your module
or driver and uses ioctls to set the filters needed.

There should be no need to do raw file I/O from inside the kernel in
the case you're describing.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to