Date: Sun, 27 Oct 2013 16:41:42 +0400 (MSK) From: Gleb Smirnoff <glebius@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/183357: [exp-run] NET_RT_IFLIST Message-ID: <201310271241.r9RCfgNq046513@cell.glebius.int.ru> Resent-Message-ID: <201310271250.r9RCo0F2079936@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183357 >Category: kern >Synopsis: [exp-run] NET_RT_IFLIST >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 27 12:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Gleb Smirnoff >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD >Description: I'd like to estimate number of ports that use our NET_RT sysctls. Can you please patch /usr/include/sys/socket.h with attached patch and run exp-run? >How-To-Repeat: Index: socket.h =================================================================== --- socket.h (revision 257208) +++ socket.h (working copy) @@ -370,21 +370,6 @@ */ #define NET_MAXID AF_MAX -/* - * PF_ROUTE - Routing table - * - * Three additional levels are defined: - * Fourth: address family, 0 is wildcard - * Fifth: type of info, defined below - * Sixth: flag(s) to mask with for NET_RT_FLAGS - */ -#define NET_RT_DUMP 1 /* dump; may limit to a.f. */ -#define NET_RT_FLAGS 2 /* by flags, e.g. RESOLVING */ -#define NET_RT_IFLIST 3 /* survey interface list */ -#define NET_RT_IFMALIST 4 /* return multicast address list */ -#define NET_RT_IFLISTL 5 /* Survey interface list, using 'l'en - * versions of msghdr structs. */ -#define NET_RT_MAXID 6 #endif /* __BSD_VISIBLE */ >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310271241.r9RCfgNq046513>