From owner-freebsd-questions@FreeBSD.ORG Tue Apr 10 11:00:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E94B16A401 for ; Tue, 10 Apr 2007 11:00:27 +0000 (UTC) (envelope-from bsenthil@adventnet.com) Received: from alps.manageengine.org (alps.manageengine.org [203.193.155.110]) by mx1.freebsd.org (Postfix) with ESMTP id 850B813C48C for ; Tue, 10 Apr 2007 11:00:26 +0000 (UTC) (envelope-from bsenthil@adventnet.com) Received: from smtp.india.adventnet.com (smtp.india.adventnet.com [192.168.4.41]) by alps.manageengine.org (8.13.4/8.13.4/Debian-3) with ESMTP id l3AAWscJ011592 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Apr 2007 16:02:54 +0530 Received: from [192.168.111.121] (bsenthil.india.adventnet.com [192.168.111.121]) by smtp.india.adventnet.com (8.13.4/8.13.4/Debian-3) with ESMTP id l3AAWn8O011364 for ; Tue, 10 Apr 2007 16:02:50 +0530 Message-ID: <461B66F9.1060309@adventnet.com> Date: Tue, 10 Apr 2007 15:59:13 +0530 From: bsenthil User-Agent: Mozilla Thunderbird 1.0.6-6mdk (X11/20050322) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on mail-hub.india.adventnet.com X-Virus-Status: Clean Subject: get/set ifconfig details X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 11:00:27 -0000 Is there any 'C' method API to get/ set ip address of the interface card. Is there any 'C' method API to get ifconfig details of the interface card. Is there any 'C' method API to set ifconfig details of the interface card. I try to get through "sysctl()" ... Is there any c sample code to get ifconfig details ....