From owner-freebsd-current@FreeBSD.ORG Mon Nov 25 11:50:38 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F2455AE for ; Mon, 25 Nov 2013 11:50:38 +0000 (UTC) Received: from CMEXEDGE2.ext.emulex.com (cmexedge2.ext.emulex.com [138.239.224.100]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 819C22368 for ; Mon, 25 Nov 2013 11:50:38 +0000 (UTC) Received: from CMEXHTCAS1.ad.emulex.com (138.239.115.217) by CMEXEDGE2.ext.emulex.com (138.239.224.100) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 25 Nov 2013 03:35:35 -0800 Received: from CMEXMB1.ad.emulex.com ([169.254.1.137]) by CMEXHTCAS1.ad.emulex.com ([2002:8aef:73d9::8aef:73d9]) with mapi id 14.03.0146.002; Mon, 25 Nov 2013 03:35:31 -0800 From: Venkata Duvvuru To: "freebsd-current@freebsd.org" Subject: sysctl add macros Thread-Topic: sysctl add macros Thread-Index: Ac7py2Eb3GYul2HXQGupi09t7TvnXQ== Date: Mon, 25 Nov 2013 11:35:29 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [138.239.141.36] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 11:50:38 -0000 Hi, I'm unable to figure out how to add an unsigned short or an unsigned char v= alues to a sysctl node. SYSCTL_ADD_INT, SYSCTL_ADD_UINT, etc., are present but to add a char or a s= hort values I couldn't find any macros. Could you please let me know how to add them? /Venkat.