ng_base.c (168137) | ng_base.c (170035) |
---|---|
1/* 2 * ng_base.c 3 */ 4 5/*- 6 * Copyright (c) 1996-1999 Whistle Communications, Inc. 7 * All rights reserved. 8 * --- 24 unchanged lines hidden (view full) --- 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY 36 * OF SUCH DAMAGE. 37 * 38 * Authors: Julian Elischer <julian@freebsd.org> 39 * Archie Cobbs <archie@freebsd.org> 40 * | 1/* 2 * ng_base.c 3 */ 4 5/*- 6 * Copyright (c) 1996-1999 Whistle Communications, Inc. 7 * All rights reserved. 8 * --- 24 unchanged lines hidden (view full) --- 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY 36 * OF SUCH DAMAGE. 37 * 38 * Authors: Julian Elischer <julian@freebsd.org> 39 * Archie Cobbs <archie@freebsd.org> 40 * |
41 * $FreeBSD: head/sys/netgraph/ng_base.c 168137 2007-03-31 15:43:06Z wkoszek $ | 41 * $FreeBSD: head/sys/netgraph/ng_base.c 170035 2007-05-27 20:50:23Z rwatson $ |
42 * $Whistle: ng_base.c,v 1.39 1999/01/28 23:54:53 julian Exp $ 43 */ 44 45/* 46 * This file implements the base netgraph code. 47 */ 48 49#include <sys/param.h> --- 793 unchanged lines hidden (view full) --- 843 844/* 845 * Find a node by absolute name. The name should NOT end with ':' 846 * The name "." means "this node" and "[xxx]" means "the node 847 * with ID (ie, at address) xxx". 848 * 849 * Returns the node if found, else NULL. 850 * Eventually should add something faster than a sequential search. | 42 * $Whistle: ng_base.c,v 1.39 1999/01/28 23:54:53 julian Exp $ 43 */ 44 45/* 46 * This file implements the base netgraph code. 47 */ 48 49#include <sys/param.h> --- 793 unchanged lines hidden (view full) --- 843 844/* 845 * Find a node by absolute name. The name should NOT end with ':' 846 * The name "." means "this node" and "[xxx]" means "the node 847 * with ID (ie, at address) xxx". 848 * 849 * Returns the node if found, else NULL. 850 * Eventually should add something faster than a sequential search. |
851 * Note it aquires a reference on the node so you can be sure it's still there. | 851 * Note it acquires a reference on the node so you can be sure it's still 852 * there. |
852 */ 853node_p 854ng_name2noderef(node_p here, const char *name) 855{ 856 node_p node; 857 ng_ID_t temp; 858 859 /* "." means "this node" */ --- 2918 unchanged lines hidden --- | 853 */ 854node_p 855ng_name2noderef(node_p here, const char *name) 856{ 857 node_p node; 858 ng_ID_t temp; 859 860 /* "." means "this node" */ --- 2918 unchanged lines hidden --- |