Date: Sat, 14 Aug 2010 21:18:20 GMT From: Ilya Bakulin <kibab@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 182407 for review Message-ID: <201008142118.o7ELIKFi000767@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@182407?ac=10 Change 182407 by kibab@kibab_kibab-nb on 2010/08/14 21:17:55 Features related to network protocols, ALTQ and Netgraph. Affected files ... .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_cbq.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_cdnr.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_hfsc.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_priq.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_red.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_rio.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/kern_pmc.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/subr_mchain.c#3 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/subr_stack.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/net/if.c#4 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netatalk/aarp.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netgraph/ng_base.c#3 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netinet/libalias/alias.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netinet/sctp_sysctl.c#3 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netipsec/ipsec.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netipx/ipx.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netncp/ncp_ncp.c#2 edit .. //depot/projects/soc2010/kibab_sysctlreg/src_sys/netsmb/smb_smb.c#2 edit Differences ... ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_cbq.c#2 (text+ko) ==== @@ -47,6 +47,7 @@ #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/systm.h> +#include <sys/sysctl.h> #include <sys/proc.h> #include <sys/errno.h> #include <sys/time.h> @@ -65,6 +66,8 @@ #include <altq/altq_conf.h> #endif +FEATURE(altq_cbq, "ALTQ Class Based Queueing discipline"); + #ifdef ALTQ3_COMPAT /* * Local Data structures. ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_cdnr.c#2 (text+ko) ==== @@ -43,6 +43,7 @@ #include <sys/socket.h> #include <sys/sockio.h> #include <sys/systm.h> +#include <sys/sysctl.h> #include <sys/proc.h> #include <sys/errno.h> #include <sys/kernel.h> @@ -73,6 +74,8 @@ /* traffic conditioner is enabled by ALTQ_CDNR option in opt_altq.h */ #ifdef ALTQ_CDNR +FEATURE(altq_cdnr, "ALTQ traffic Conditioner"); + /* cdnr_list keeps all cdnr's allocated. */ static LIST_HEAD(, top_cdnr) tcb_list; ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_hfsc.c#2 (text+ko) ==== @@ -59,6 +59,7 @@ #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/systm.h> +#include <sys/sysctl.h> #include <sys/errno.h> #include <sys/queue.h> #if 1 /* ALTQ3_COMPAT */ @@ -77,6 +78,8 @@ #include <altq/altq_conf.h> #endif +FEATURE(altq_hfsc, "ALTQ Hierarchical Packet Scheduler discipline"); + /* * function prototypes */ ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_priq.c#2 (text+ko) ==== @@ -47,6 +47,7 @@ #include <sys/socket.h> #include <sys/sockio.h> #include <sys/systm.h> +#include <sys/sysctl.h> #include <sys/proc.h> #include <sys/errno.h> #include <sys/kernel.h> @@ -62,6 +63,8 @@ #endif #include <altq/altq_priq.h> +FEATURE(altq_priq, "ALTQ Priority Queueing discipline"); + /* * function prototypes */ ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_red.c#2 (text+ko) ==== @@ -76,6 +76,7 @@ #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/systm.h> +#include <sys/sysctl.h> #include <sys/errno.h> #if 1 /* ALTQ3_COMPAT */ #include <sys/sockio.h> @@ -106,6 +107,7 @@ #endif #endif +FEATURE(altq_red, "ALTQ Random Early Detection extension"); /* * ALTQ/RED (Random Early Detection) implementation using 32-bit * fixed-point calculation. ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/contrib/altq/altq/altq_rio.c#2 (text+ko) ==== @@ -75,6 +75,7 @@ #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/systm.h> +#include <sys/sysctl.h> #include <sys/errno.h> #if 1 /* ALTQ3_COMPAT */ #include <sys/proc.h> @@ -100,6 +101,7 @@ #include <altq/altq_conf.h> #endif +FEATURE(altq_rio, "ALTQ Random Early Drop for input and output"); /* * RIO: RED with IN/OUT bit * described in ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/kern_pmc.c#2 (text+ko) ==== @@ -37,8 +37,10 @@ #include <sys/pmc.h> #include <sys/pmckern.h> #include <sys/smp.h> +#include <sys/sysctl.h> #ifdef HWPMC_HOOKS +FEATURE(hwpmc_hooks, "Kernel support for HW PMC"); #define PMC_KERNEL_VERSION PMC_VERSION #else #define PMC_KERNEL_VERSION 0 ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/subr_mchain.c#3 (text+ko) ==== @@ -32,6 +32,7 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/sysctl.h> #include <sys/endian.h> #include <sys/errno.h> #include <sys/mbuf.h> @@ -40,6 +41,8 @@ #include <sys/mchain.h> +FEATURE(libmchain, "mchain library"); + MODULE_VERSION(libmchain, 1); #define MBERROR(format, ...) printf("%s(%d): "format, __func__ , \ ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/kern/subr_stack.c#2 (text+ko) ==== @@ -39,6 +39,9 @@ #include <sys/sbuf.h> #include <sys/stack.h> #include <sys/systm.h> +#include <sys/sysctl.h> + +FEATURE(stack, "Support for capturing kernel stack"); static MALLOC_DEFINE(M_STACK, "stack", "Stack Traces"); ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/net/if.c#4 (text+ko) ==== @@ -97,6 +97,10 @@ #include <security/mac/mac_framework.h> +#ifdef ALTQ +FEATURE(altq, "ALTQ basic hooks"); +#endif + struct ifindex_entry { struct ifnet *ife_ifnet; }; ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netatalk/aarp.c#2 (text+ko) ==== @@ -54,6 +54,7 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/sysctl.h> #include <sys/mbuf.h> #include <sys/kernel.h> #include <sys/socket.h> @@ -74,6 +75,8 @@ #include <security/mac/mac_framework.h> +FEATURE(netatalk, "AppleTalk communication protocols"); + static void aarptfree(struct aarptab *aat); static void at_aarpinput(struct ifnet *ifp, struct mbuf *m); ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netgraph/ng_base.c#3 (text+ko) ==== @@ -73,6 +73,8 @@ #include <netgraph/netgraph.h> #include <netgraph/ng_parse.h> +FEATURE(netgraph, "Netgraph framework support"); + MODULE_VERSION(netgraph, NG_ABI_VERSION); /* Mutex to protect topology events. */ ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netinet/libalias/alias.c#2 (text+ko) ==== @@ -116,6 +116,7 @@ #include <sys/systm.h> #include <sys/mbuf.h> #include <sys/sysctl.h> +FEATURE(libalias, "libalias library"); #else #include <sys/types.h> #include <stdlib.h> ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netinet/sctp_sysctl.c#3 (text+ko) ==== @@ -40,6 +40,7 @@ #include <netinet/sctp_output.h> #include <sys/smp.h> +FEATURE(sctp, "SCTP protocol support"); /* * sysctl tunable variables */ ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netipsec/ipsec.c#2 (text+ko) ==== @@ -97,6 +97,8 @@ #include <opencrypto/cryptodev.h> +FEATURE(ipsec, "IPsec support"); + #ifdef IPSEC_DEBUG VNET_DEFINE(int, ipsec_debug) = 1; #else ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netipx/ipx.c#2 (text+ko) ==== @@ -67,6 +67,7 @@ #include <sys/param.h> #include <sys/kernel.h> #include <sys/systm.h> +#include <sys/sysctl.h> #include <sys/lock.h> #include <sys/malloc.h> #include <sys/priv.h> @@ -81,6 +82,8 @@ #include <netipx/ipx_if.h> #include <netipx/ipx_var.h> +FEATURE(ipx, "IPX/SPX communication protocols support"); + /* * The IPX-layer address list is protected by ipx_ifaddr_rw. */ ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netncp/ncp_ncp.c#2 (text+ko) ==== @@ -51,6 +51,8 @@ #include <netncp/ncp_rq.h> #include <netncp/nwerror.h> +FEATURE(ncp, "NetWare Core Protocol support"); + #ifdef NCP_DATA_DEBUG static void m_dumpm(struct mbuf *m) { ==== //depot/projects/soc2010/kibab_sysctlreg/src_sys/netsmb/smb_smb.c#2 (text+ko) ==== @@ -51,6 +51,8 @@ #include "opt_netsmb.h" +FEATURE(netsmb, "SMB/CIFS requester"); + struct smb_dialect { int d_id; const char * d_name;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008142118.o7ELIKFi000767>