看板 FB_bugs 關於我們 聯絡資訊
>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: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"