Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2007 03:03:39 +0400
From:      Michael Bushkov <bushman@freebsd.org>
To:        freebsd-net@freebsd.org
Cc:        Brooks Davis <brooks@freebsd.org>, freebsd-arch@freebsd.org
Subject:   [PATCH] getipnodebyXXX() via gethostbyXXX() patch
Message-ID:  <4643A4CB.4070801@freebsd.org>

next in thread | raw e-mail | index | archive | help
Hi,
During my Summer Of Code 2006 work I've done a lot of refactoring in 
libc's nsswitch, which was basically needed to separate libc and 
nsswitch modules. One part of that refactoring was reimplementation of 
getipnodebyXXX() family of functions through gethostbyXXX() family of 
functions. Actually both of these groups of functions had a lot of 
duplicated (or very similar) code, so such reimplementation seems to be 
quite logic to me.

The patch is here:
http://rsu.ru/~bushman/name6.patch

It would be great to have it tested (maybe with nsswitch regression 
tests - /tools/regresion/lib/libc/nss) and to hear comments about it.

-- 
With best regards,
Michael Bushkov
Southern Federal University



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4643A4CB.4070801>