Re: route library call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Viestissä Perjantai 20. Joulukuuta 2002 22:21, Stephen Mah kirjoitti:
> Do any of you know a library call to get the current route table in
> linux (in any language)?  I need to get the "default gateway" in the
> client application.

The interface to routing tables is through the /proc filesystem (AFAIK). See 
/proc/net/route and /proc/net/rt_*

-- 
	Markku Kolkka
	markku.kolkka@koti.soon.fi



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux