OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Claudio Jeker (claudiocvs.openbsd.org)
Date: Wed Apr 21 2010 - 06:52:46 CDT


CVSROOT: /cvs
Module name: src
Changes by: claudiocvs.openbsd.org 2010/04/21 05:52:46

Modified files:
        sys/net : route.h rtsock.c
        sys/sys : socket.h

Log message:
Implement a way to get information about a rtable. Currently only the rtableid
and rdomainid are returned. This is necessary to know where L2 information
of a table is stored (which will be needed soon by bgpd).
Also while there change the errno for non-existing routing tables to ENOENT.
'Fine' deraadt