Default Gateway Thorough A Programme

Robert Canary phantom at ohiocounty.net
Fri Mar 25 21:56:15 UTC 2005


You would have to create a virtual ethernet driver 
that really dosen't look at a physical device but 
rather a FIFO file.

Sort of like null modem driver...

kanhu rauta wrote:
>   
> Hi all,
> 
> How can i get the default gateway of a linux machine through a C programme. Can i get it through IOCTL call.
> 
> Any idea to Proceed with is welcome.
> 
> With Regards,
> Kanhu
> 
> Kanhu Charan Rauta
> 
> Innomedia Techonologies Pvt. Ltd
> 
> #3278,12Th Main,
> 
> HAL 2nd stage.
> 
> Banglore-560008.

-- 
   robert canary
  system services
    OCDirect.Net
(270)298-9331 (o)




More information about the redhat-list mailing list