netgraph.h (186060) | netgraph.h (191510) |
---|---|
1/* 2 * netgraph.h 3 */ 4 5/*- 6 * Copyright (c) 1996-1999 Whistle Communications, Inc. 7 * All rights reserved. 8 * --- 23 unchanged lines hidden (view full) --- 32 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY 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 * Author: Julian Elischer <julian@freebsd.org> 39 * | 1/* 2 * netgraph.h 3 */ 4 5/*- 6 * Copyright (c) 1996-1999 Whistle Communications, Inc. 7 * All rights reserved. 8 * --- 23 unchanged lines hidden (view full) --- 32 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY 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 * Author: Julian Elischer <julian@freebsd.org> 39 * |
40 * $FreeBSD: head/sys/netgraph/netgraph.h 186060 2008-12-13 22:26:24Z mav $ | 40 * $FreeBSD: head/sys/netgraph/netgraph.h 191510 2009-04-26 07:14:50Z zec $ |
41 * $Whistle: netgraph.h,v 1.29 1999/11/01 07:56:13 julian Exp $ 42 */ 43 44#ifndef _NETGRAPH_NETGRAPH_H_ 45#define _NETGRAPH_NETGRAPH_H_ 46 47#ifndef _KERNEL 48#error "This file should not be included in user level programs" --- 1069 unchanged lines hidden (view full) --- 1118int ng_address_ID(node_p here, item_p item, ng_ID_t ID, ng_ID_t retaddr); 1119int ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr); 1120int ng_address_path(node_p here, item_p item, char *address, ng_ID_t raddr); 1121int ng_bypass(hook_p hook1, hook_p hook2); 1122hook_p ng_findhook(node_p node, const char *name); 1123struct ng_type *ng_findtype(const char *type); 1124int ng_make_node_common(struct ng_type *typep, node_p *nodep); 1125int ng_name_node(node_p node, const char *name); | 41 * $Whistle: netgraph.h,v 1.29 1999/11/01 07:56:13 julian Exp $ 42 */ 43 44#ifndef _NETGRAPH_NETGRAPH_H_ 45#define _NETGRAPH_NETGRAPH_H_ 46 47#ifndef _KERNEL 48#error "This file should not be included in user level programs" --- 1069 unchanged lines hidden (view full) --- 1118int ng_address_ID(node_p here, item_p item, ng_ID_t ID, ng_ID_t retaddr); 1119int ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr); 1120int ng_address_path(node_p here, item_p item, char *address, ng_ID_t raddr); 1121int ng_bypass(hook_p hook1, hook_p hook2); 1122hook_p ng_findhook(node_p node, const char *name); 1123struct ng_type *ng_findtype(const char *type); 1124int ng_make_node_common(struct ng_type *typep, node_p *nodep); 1125int ng_name_node(node_p node, const char *name); |
1126node_p ng_name2noderef(node_p node, const char *name); |
|
1126int ng_newtype(struct ng_type *tp); 1127ng_ID_t ng_node2ID(node_p node); 1128item_p ng_package_data(struct mbuf *m, int flags); 1129item_p ng_package_msg(struct ng_mesg *msg, int flags); 1130item_p ng_package_msg_self(node_p here, hook_p hook, struct ng_mesg *msg); 1131void ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr); 1132int ng_rmhook_self(hook_p hook); /* if a node wants to kill a hook */ 1133int ng_rmnode_self(node_p here); /* if a node wants to suicide */ --- 89 unchanged lines hidden --- | 1127int ng_newtype(struct ng_type *tp); 1128ng_ID_t ng_node2ID(node_p node); 1129item_p ng_package_data(struct mbuf *m, int flags); 1130item_p ng_package_msg(struct ng_mesg *msg, int flags); 1131item_p ng_package_msg_self(node_p here, hook_p hook, struct ng_mesg *msg); 1132void ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr); 1133int ng_rmhook_self(hook_p hook); /* if a node wants to kill a hook */ 1134int ng_rmnode_self(node_p here); /* if a node wants to suicide */ --- 89 unchanged lines hidden --- |