Home
last modified time | relevance | path

Searched refs:node_p (Results 1 – 25 of 101) sorted by relevance

12345

/freebsd-12-stable/sys/netgraph/
Dnetgraph.h89 typedef struct ng_node *node_p; typedef
100 typedef int ng_constructor_t(node_p node);
101 typedef int ng_close_t(node_p node);
102 typedef int ng_shutdown_t(node_p node);
103 typedef int ng_newhook_t(node_p node, hook_p hook, const char *name);
104 typedef hook_p ng_findhook_t(node_p node, const char *name);
106 typedef int ng_rcvmsg_t(node_p node, item_p item, hook_p lasthook);
109 typedef int ng_rcvitem (node_p node, hook_p hook, item_p item);
188 static __inline node_p _ng_hook_node(hook_p hook, char * file, int line);
271 static __inline node_p
[all …]
Dng_base.c222 static int ng_add_hook(node_p node, const char *name, hook_p * hookp);
223 static int ng_generic_msg(node_p here, item_p item, hook_p lasthook);
226 static void ng_worklist_add(node_p node);
228 static int ng_apply_item(node_p node, item_p item, int rw);
229 static void ng_flush_input_queue(node_p node);
230 static node_p ng_ID2noderef(ng_ID_t ID);
231 static int ng_con_nodes(item_p item, node_p node, const char *name,
232 node_p node2, const char *name2);
233 static int ng_con_part2(node_p node, item_p item, hook_p hook);
234 static int ng_con_part3(node_p node, item_p item, hook_p hook);
[all …]
Dng_ppp.c294 static int ng_ppp_proto_recv(node_p node, item_p item, uint16_t proto,
296 static int ng_ppp_hcomp_xmit(node_p node, item_p item, uint16_t proto);
297 static int ng_ppp_hcomp_recv(node_p node, item_p item, uint16_t proto,
299 static int ng_ppp_comp_xmit(node_p node, item_p item, uint16_t proto);
300 static int ng_ppp_comp_recv(node_p node, item_p item, uint16_t proto,
302 static int ng_ppp_crypt_xmit(node_p node, item_p item, uint16_t proto);
303 static int ng_ppp_crypt_recv(node_p node, item_p item, uint16_t proto,
305 static int ng_ppp_mp_xmit(node_p node, item_p item, uint16_t proto);
306 static int ng_ppp_mp_recv(node_p node, item_p item, uint16_t proto,
308 static int ng_ppp_link_xmit(node_p node, item_p item, uint16_t proto,
[all …]
Dng_pred1.c94 static int ng_pred1_compress(node_p node, struct mbuf *m,
96 static int ng_pred1_decompress(node_p node, struct mbuf *m,
98 static void Pred1Init(node_p node);
99 static int Pred1Compress(node_p node, u_char *source, u_char *dest,
101 static int Pred1Decompress(node_p node, u_char *source, u_char *dest,
103 static void Pred1SyncTable(node_p node, u_char *source, int len);
188 ng_pred1_constructor(node_p node) in ng_pred1_constructor()
208 ng_pred1_newhook(node_p node, hook_p hook, const char *name) in ng_pred1_newhook()
229 ng_pred1_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_pred1_rcvmsg()
301 const node_p node = NG_HOOK_NODE(hook); in ng_pred1_rcvdata()
[all …]
Dng_gif.c112 static void ng_gif_input2(node_p node, struct mbuf **mp, int af);
114 static int ng_gif_rcv_lower(node_p node, struct mbuf *m);
172 const node_p node = IFP2NG(ifp); in ng_gif_input()
188 const node_p node = IFP2NG(ifp); in ng_gif_input_orphan()
206 ng_gif_input2(node_p node, struct mbuf **mp, int af) in ng_gif_input2()
228 node_p node; in ng_gif_attach()
264 const node_p node = IFP2NG(ifp); in ng_gif_detach()
337 ng_gif_constructor(node_p node) in ng_gif_constructor()
346 ng_gif_newhook(node_p node, hook_p hook, const char *name) in ng_gif_newhook()
392 ng_gif_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_gif_rcvmsg()
[all …]
Dng_ipfw.c74 static hook_p ng_ipfw_findhook1(node_p, uint32_t );
79 static node_p fw_node;
149 ng_ipfw_constructor(node_p node) in ng_ipfw_constructor()
155 ng_ipfw_newhook(node_p node, hook_p hook, const char *name) in ng_ipfw_newhook()
202 ng_ipfw_findhook(node_p node, const char *name) in ng_ipfw_findhook()
215 ng_ipfw_findhook1(node_p node, uint32_t cookie) in ng_ipfw_findhook1()
341 ng_ipfw_shutdown(node_p node) in ng_ipfw_shutdown()
Dng_deflate.c85 static int ng_deflate_compress(node_p, struct mbuf *, struct mbuf **);
86 static int ng_deflate_decompress(node_p, struct mbuf *, struct mbuf **);
87 static void ng_deflate_reset_req(node_p);
172 ng_deflate_constructor(node_p node) in ng_deflate_constructor()
192 ng_deflate_newhook(node_p node, hook_p hook, const char *name) in ng_deflate_newhook()
213 ng_deflate_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_deflate_rcvmsg()
325 const node_p node = NG_HOOK_NODE(hook); in ng_deflate_rcvdata()
370 ng_deflate_shutdown(node_p node) in ng_deflate_shutdown()
394 const node_p node = NG_HOOK_NODE(hook); in ng_deflate_disconnect()
420 ng_deflate_compress(node_p node, struct mbuf *m, struct mbuf **resultp) in ng_deflate_compress()
[all …]
Dng_ether.c248 const node_p node = IFP2NG(ifp); in ng_ether_input()
265 const node_p node = IFP2NG(ifp); in ng_ether_input_orphan()
284 const node_p node = IFP2NG(ifp); in ng_ether_output()
308 node_p node; in ng_ether_attach()
356 const node_p node = IFP2NG(ifp); in ng_ether_detach()
378 const node_p node = IFP2NG(ifp); in ng_ether_link_state()
414 node_p node; in ng_ether_ifnet_arrival_event()
445 ng_ether_constructor(node_p node) in ng_ether_constructor()
454 ng_ether_newhook(node_p node, hook_p hook, const char *name) in ng_ether_newhook()
494 ng_ether_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_ether_rcvmsg()
[all …]
Dng_UI.c101 ng_UI_constructor(node_p node) in ng_UI_constructor()
115 ng_UI_newhook(node_p node, hook_p hook, const char *name) in ng_UI_newhook()
136 ng_UI_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_UI_rcvmsg()
170 const node_p node = NG_HOOK_NODE(hook); in ng_UI_rcvdata()
210 ng_UI_shutdown(node_p node) in ng_UI_shutdown()
Dng_gif_demux.c120 node_p node; /* Our netgraph node */
233 ng_gif_demux_constructor(node_p node) in ng_gif_demux_constructor()
251 ng_gif_demux_newhook(node_p node, hook_p hook, const char *name) in ng_gif_demux_newhook()
275 ng_gif_demux_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_gif_demux_rcvmsg()
308 const node_p node = NG_HOOK_NODE(hook); in ng_gif_demux_rcvdata()
369 ng_gif_demux_shutdown(node_p node) in ng_gif_demux_shutdown()
Dng_split.c72 node_p node; /* Our netgraph node */
84 ng_split_constructor(node_p node) in ng_split_constructor()
103 ng_split_newhook(node_p node, hook_p hook, const char *name) in ng_split_newhook()
151 ng_split_shutdown(node_p node) in ng_split_shutdown()
Dng_hub.c86 ng_hub_constructor(node_p node) in ng_hub_constructor()
101 ng_hub_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_hub_rcvmsg()
122 const node_p node = NG_HOOK_NODE(hook); in ng_hub_rcvdata()
155 ng_hub_shutdown(node_p node) in ng_hub_shutdown()
Dng_mppc.c171 static int ng_mppc_compress(node_p node,
173 static int ng_mppc_decompress(node_p node,
180 static void ng_mppc_reset_req(node_p node);
213 ng_mppc_constructor(node_p node) in ng_mppc_constructor()
233 ng_mppc_newhook(node_p node, hook_p hook, const char *name) in ng_mppc_newhook()
259 ng_mppc_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_mppc_rcvmsg()
372 const node_p node = NG_HOOK_NODE(hook); in ng_mppc_rcvdata()
427 ng_mppc_shutdown(node_p node) in ng_mppc_shutdown()
451 const node_p node = NG_HOOK_NODE(hook); in ng_mppc_disconnect()
476 ng_mppc_compress(node_p node, struct mbuf **datap) in ng_mppc_compress()
[all …]
Dng_tty.c88 node_p node; /* Netgraph node */
154 ngt_constructor(node_p node) in ngt_constructor()
174 ngt_newhook(node_p node, hook_p hook, const char *name) in ngt_newhook()
225 ngt_shutdown(node_p node) in ngt_shutdown()
248 ngt_rcvmsg(node_p node, item_p item, hook_p lasthook) in ngt_rcvmsg()
410 node_p node = sc->node; in ngt_rint_bypass()
459 node_p node = sc->node; in ngt_rint()
Dng_atmllc.c92 ng_atmllc_constructor(node_p node) in ng_atmllc_constructor()
105 ng_atmllc_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_atmllc_rcvmsg()
118 ng_atmllc_shutdown(node_p node) in ng_atmllc_shutdown()
132 ng_atmllc_newhook(node_p node, hook_p hook, const char *name) in ng_atmllc_newhook()
267 node_p node; in ng_atmllc_disconnect()
Dng_sample.c133 node_p node; /* back pointer to node */
151 ng_xxx_constructor(node_p node) in ng_xxx_constructor()
182 ng_xxx_newhook(node_p node, hook_p hook, const char *name) in ng_xxx_newhook()
259 ng_xxx_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_xxx_rcvmsg()
417 ng_xxx_shutdown(node_p node) in ng_xxx_shutdown()
Dng_frame_relay.c81 node_p node; /* netgraph node */
135 static int ngfrm_decode(node_p node, item_p item);
213 ngfrm_constructor(node_p node) in ngfrm_constructor()
234 ngfrm_newhook(node_p node, hook_p hook, const char *name) in ngfrm_newhook()
410 ngfrm_decode(node_p node, item_p item) in ngfrm_decode()
468 ngfrm_shutdown(node_p node) in ngfrm_shutdown()
Dng_sppp.c57 node_p node; /* Our netgraph node */
241 ng_sppp_constructor (node_p node) in ng_sppp_constructor()
292 ng_sppp_newhook (node_p node, hook_p hook, const char *name) in ng_sppp_newhook()
312 ng_sppp_rcvmsg (node_p node, item_p item, hook_p lasthook) in ng_sppp_rcvmsg()
384 ng_sppp_shutdown (node_p node) in ng_sppp_shutdown()
Dng_socket.c504 node_p node = pcbp->sockdata->node; in ng_getsockaddr()
534 node_p node; in ng_attach_cntl()
666 node_p node = priv->node; in ng_socket_free_priv()
683 node_p farnode; in ng_connect_data()
765 ngs_constructor(node_p nodep) in ngs_constructor()
771 ngs_rehash(node_p node) in ngs_rehash()
804 ngs_newhook(node_p node, hook_p hook, const char *name) in ngs_newhook()
829 node_p node = NG_HOOK_NODE(hook); in ngs_connect()
843 ngs_findhook(node_p node, const char *name) in ngs_findhook()
878 ngs_rcvmsg(node_p node, item_p item, hook_p lasthook) in ngs_rcvmsg()
[all …]
Dng_etf.c149 node_p node; /* back pointer to node */
179 ng_etf_constructor(node_p node) in ng_etf_constructor()
201 ng_etf_newhook(node_p node, hook_p hook, const char *name) in ng_etf_newhook()
249 ng_etf_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_etf_rcvmsg()
436 ng_etf_shutdown(node_p node) in ng_etf_shutdown()
Dng_hole.c121 ngh_cons(node_p node) in ngh_cons()
130 ngh_newhook(node_p node, hook_p hook, const char *name) in ngh_newhook()
146 ngh_rcvmsg(node_p node, item_p item, hook_p lasthook) in ngh_rcvmsg()
/freebsd-12-stable/contrib/subversion/subversion/libsvn_fs_x/
Ddag_cache.c483 try_match_last_node(dag_node_t **node_p, in try_match_last_node() argument
521 *node_p = node; in try_match_last_node()
527 *node_p = NULL; in try_match_last_node()
616 get_root_node(dag_node_t **node_p, in get_root_node() argument
637 *node_p = bucket->node; in get_root_node()
649 walk_dag_path(dag_node_t **node_p, in walk_dag_path() argument
665 return svn_error_trace(get_root_node(node_p, root, change_set, in walk_dag_path()
684 SVN_ERR(try_match_last_node(node_p, root, path)); in walk_dag_path()
687 if (*node_p) in walk_dag_path()
702 return svn_error_trace(dag_step(node_p, root, here, in walk_dag_path()
[all …]
/freebsd-12-stable/sys/netgraph/atm/sscfu/
Dng_sscfu.c186 text_status(node_p node, struct priv *priv, char *arg, u_int len) in text_status()
217 ng_sscfu_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_sscfu_rcvmsg()
351 ng_sscfu_newhook(node_p node, hook_p hook, const char *name) in ng_sscfu_newhook()
368 node_p node = NG_HOOK_NODE(hook); in ng_sscfu_disconnect()
403 node_p node = NG_HOOK_NODE(hook); in ng_sscfu_rcvupper()
432 node_p node = (node_p)p; in sscfu_send_upper()
462 node_p node = NG_HOOK_NODE(hook); in ng_sscfu_rcvlower()
498 node_p node = (node_p)p; in sscfu_send_lower()
539 ng_sscfu_constructor(node_p node) in ng_sscfu_constructor()
558 ng_sscfu_shutdown(node_p node) in ng_sscfu_shutdown()
/freebsd-12-stable/sys/netgraph/atm/uni/
Dng_uni.c224 ng_uni_constructor(node_p node) in ng_uni_constructor()
244 ng_uni_shutdown(node_p node) in ng_uni_shutdown()
273 text_status(node_p node, struct priv *priv, char *buf, u_int len) in text_status()
309 ng_uni_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_uni_rcvmsg()
479 ng_uni_newhook(node_p node, hook_p hook, const char *name) in ng_uni_newhook()
497 node_p node = NG_HOOK_NODE(hook); in ng_uni_disconnect()
527 node_p node = NG_HOOK_NODE(hook); in ng_uni_rcvupper()
576 node_p node = (node_p)varg; in uni_uni_output()
623 dump_saal_signal(node_p node, enum saal_sig sig, struct uni_msg *msg, int to) in dump_saal_signal()
666 node_p node = NG_HOOK_NODE(hook); in ng_uni_rcvlower()
[all …]
/freebsd-12-stable/sys/netgraph/atm/sscop/
Dng_sscop.c245 ng_sscop_constructor(node_p node) in ng_sscop_constructor()
266 ng_sscop_shutdown(node_p node) in ng_sscop_shutdown()
296 flow_upper(node_p node, struct ng_mesg *msg) in flow_upper()
352 flow_lower(node_p node, struct ng_mesg *msg) in flow_lower()
379 text_status(node_p node, struct priv *priv, char *arg, u_int len) in text_status()
445 ng_sscop_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_sscop_rcvmsg()
613 ng_sscop_newhook(node_p node, hook_p hook, const char *name) in ng_sscop_newhook()
633 node_p node = NG_HOOK_NODE(hook); in ng_sscop_disconnect()
695 node_p node = (node_p)p; in sscop_send_lower()
746 node_p node = (node_p)p; in sscop_send_upper()
[all …]

12345