Subject: Re: Your proposed changes to route flush/route flushall
To: Bill Sommerfeld <sommerfeld@orchard.medford.ma.us>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-net
Date: 02/20/1997 11:14:04
On Thu, 20 Feb 1997 15:37:01 GMT 
 Bill Sommerfeld <sommerfeld@orchard.medford.ma.us> wrote:

 > 	3) have the kernel ioctl(x, SIOCDIFADDR, a) 
 > 	   delete the matching RTM_LLINFO entries..

This gets my vote.

 > I like #3 best, though I'm not quite sure yet where to put the code;
 > perhaps in rtrequest() in sys/net/route.c.. when deleting a route with
 > RTM_CLONING set, also clobber any other routes which were cloned from
 > it.
 > 
 > Anyone have any advice?    Thanks in advance..
 > 
 > 						- Bill

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939