Home
last modified time | relevance | path

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

123

/freebsd/sys/netgraph/
H A Dnetgraph.h95 typedef struct ng_node *node_p; typedef
106 typedef int ng_constructor_t(node_p node);
107 typedef int ng_close_t(node_p node);
108 typedef int ng_shutdown_t(node_p node);
109 typedef int ng_newhook_t(node_p node, hook_p hook, const char *name);
110 typedef hook_p ng_findhook_t(node_p node, const char *name);
112 typedef int ng_rcvmsg_t(node_p node, item_p item, hook_p lasthook);
115 typedef int ng_rcvitem (node_p node, hook_p hook, item_p item);
194 static __inline node_p _ng_hook_node(hook_p hook, char * file, int line);
277 static __inline node_p
[all …]
H A Dng_base.c223 static int ng_add_hook(node_p node, const char *name, hook_p * hookp);
224 static int ng_generic_msg(node_p here, item_p item, hook_p lasthook);
227 static void ng_worklist_add(node_p node);
229 static int ng_apply_item(node_p node, item_p item, int rw);
230 static void ng_flush_input_queue(node_p node);
231 static node_p ng_ID2noderef(ng_ID_t ID);
232 static int ng_con_nodes(item_p item, node_p node, const char *name,
233 node_p node2, const char *name2);
234 static int ng_con_part2(node_p node, item_p item, hook_p hook);
235 static int ng_con_part3(node_p node, item_p item, hook_p hook);
[all …]
H A Dng_ppp.c292 static int ng_ppp_proto_recv(node_p node, item_p item, uint16_t proto,
294 static int ng_ppp_hcomp_xmit(node_p node, item_p item, uint16_t proto);
295 static int ng_ppp_hcomp_recv(node_p node, item_p item, uint16_t proto,
297 static int ng_ppp_comp_xmit(node_p node, item_p item, uint16_t proto);
298 static int ng_ppp_comp_recv(node_p node, item_p item, uint16_t proto,
300 static int ng_ppp_crypt_xmit(node_p node, item_p item, uint16_t proto);
301 static int ng_ppp_crypt_recv(node_p node, item_p item, uint16_t proto,
303 static int ng_ppp_mp_xmit(node_p node, item_p item, uint16_t proto);
304 static int ng_ppp_mp_recv(node_p node, item_p item, uint16_t proto,
306 static int ng_ppp_link_xmit(node_p node, item_p item, uint16_t proto,
[all …]
H A Dng_pred1.c92 static int ng_pred1_compress(node_p node, struct mbuf *m,
94 static int ng_pred1_decompress(node_p node, struct mbuf *m,
96 static void Pred1Init(node_p node);
97 static int Pred1Compress(node_p node, u_char *source, u_char *dest,
99 static int Pred1Decompress(node_p node, u_char *source, u_char *dest,
101 static void Pred1SyncTable(node_p node, u_char *source, int len);
186 ng_pred1_constructor(node_p node) in ng_pred1_constructor()
206 ng_pred1_newhook(node_p node, hook_p hook, const char *name) in ng_pred1_newhook()
227 ng_pred1_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_pred1_rcvmsg()
299 const node_p node = NG_HOOK_NODE(hook); in ng_pred1_rcvdata()
[all …]
H A Dng_gif.c111 static void ng_gif_input2(node_p node, struct mbuf **mp, int af);
113 static int ng_gif_rcv_lower(node_p node, struct mbuf *m);
171 const node_p node = IFP2NG(ifp); in ng_gif_input()
187 const node_p node = IFP2NG(ifp); in ng_gif_input_orphan()
205 ng_gif_input2(node_p node, struct mbuf **mp, int af) in ng_gif_input2()
227 node_p node; in ng_gif_attach()
263 const node_p node = IFP2NG(ifp); in ng_gif_detach()
336 ng_gif_constructor(node_p node) in ng_gif_constructor()
345 ng_gif_newhook(node_p node, hook_p hook, const char *name) in ng_gif_newhook()
391 ng_gif_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_gif_rcvmsg()
[all …]
H A Dng_ipfw.c72 static hook_p ng_ipfw_findhook1(node_p, uint32_t );
76 static node_p fw_node;
146 ng_ipfw_constructor(node_p node) in ng_ipfw_constructor()
152 ng_ipfw_newhook(node_p node, hook_p hook, const char *name) in ng_ipfw_newhook()
199 ng_ipfw_findhook(node_p node, const char *name) in ng_ipfw_findhook()
212 ng_ipfw_findhook1(node_p node, uint32_t cookie) in ng_ipfw_findhook1()
335 ng_ipfw_shutdown(node_p node) in ng_ipfw_shutdown()
H A Dng_deflate.c83 static int ng_deflate_compress(node_p, struct mbuf *, struct mbuf **);
84 static int ng_deflate_decompress(node_p, struct mbuf *, struct mbuf **);
85 static void ng_deflate_reset_req(node_p);
170 ng_deflate_constructor(node_p node) in ng_deflate_constructor()
190 ng_deflate_newhook(node_p node, hook_p hook, const char *name) in ng_deflate_newhook()
211 ng_deflate_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_deflate_rcvmsg()
323 const node_p node = NG_HOOK_NODE(hook); in ng_deflate_rcvdata()
368 ng_deflate_shutdown(node_p node) in ng_deflate_shutdown()
392 const node_p node = NG_HOOK_NODE(hook); in ng_deflate_disconnect()
418 ng_deflate_compress(node_p node, struct mbuf *m, struct mbuf **resultp) in ng_deflate_compress()
[all …]
H A Dng_ether.c247 const node_p node = IFP2NG(ifp); in ng_ether_input()
264 const node_p node = IFP2NG(ifp); in ng_ether_input_orphan()
283 const node_p node = IFP2NG(ifp); in ng_ether_output()
307 node_p node; in ng_ether_attach()
355 const node_p node = IFP2NG(ifp); in ng_ether_detach()
377 const node_p node = IFP2NG(ifp); in ng_ether_link_state()
413 node_p node; in ng_ether_ifnet_arrival_event()
444 ng_ether_constructor(node_p node) in ng_ether_constructor()
453 ng_ether_newhook(node_p node, hook_p hook, const char *name) in ng_ether_newhook()
493 ng_ether_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_ether_rcvmsg()
[all …]
H A Dng_UI.c98 ng_UI_constructor(node_p node) in ng_UI_constructor()
112 ng_UI_newhook(node_p node, hook_p hook, const char *name) in ng_UI_newhook()
133 ng_UI_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_UI_rcvmsg()
167 const node_p node = NG_HOOK_NODE(hook); in ng_UI_rcvdata()
207 ng_UI_shutdown(node_p node) in ng_UI_shutdown()
H A Dng_gif_demux.c118 node_p node; /* Our netgraph node */
231 ng_gif_demux_constructor(node_p node) in ng_gif_demux_constructor()
249 ng_gif_demux_newhook(node_p node, hook_p hook, const char *name) in ng_gif_demux_newhook()
273 ng_gif_demux_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_gif_demux_rcvmsg()
306 const node_p node = NG_HOOK_NODE(hook); in ng_gif_demux_rcvdata()
367 ng_gif_demux_shutdown(node_p node) in ng_gif_demux_shutdown()
H A Dng_split.c70 node_p node; /* Our netgraph node */
82 ng_split_constructor(node_p node) in ng_split_constructor()
101 ng_split_newhook(node_p node, hook_p hook, const char *name) in ng_split_newhook()
149 ng_split_shutdown(node_p node) in ng_split_shutdown()
H A Dng_hub.c83 ng_hub_constructor(node_p node) in ng_hub_constructor()
98 ng_hub_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_hub_rcvmsg()
119 const node_p node = NG_HOOK_NODE(hook); in ng_hub_rcvdata()
152 ng_hub_shutdown(node_p node) in ng_hub_shutdown()
H A 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 …]
H A Dng_tty.c86 node_p node; /* Netgraph node */
152 ngt_constructor(node_p node) in ngt_constructor()
172 ngt_newhook(node_p node, hook_p hook, const char *name) in ngt_newhook()
223 ngt_shutdown(node_p node) in ngt_shutdown()
246 ngt_rcvmsg(node_p node, item_p item, hook_p lasthook) in ngt_rcvmsg()
408 node_p node = sc->node; in ngt_rint_bypass()
456 node_p node = sc->node; in ngt_rint()
H A Dng_sample.c131 node_p node; /* back pointer to node */
149 ng_xxx_constructor(node_p node) in ng_xxx_constructor()
180 ng_xxx_newhook(node_p node, hook_p hook, const char *name) in ng_xxx_newhook()
257 ng_xxx_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_xxx_rcvmsg()
406 ng_xxx_shutdown(node_p node) in ng_xxx_shutdown()
H A Dng_frame_relay.c79 node_p node; /* netgraph node */
133 static int ngfrm_decode(node_p node, item_p item);
211 ngfrm_constructor(node_p node) in ngfrm_constructor()
232 ngfrm_newhook(node_p node, hook_p hook, const char *name) in ngfrm_newhook()
407 ngfrm_decode(node_p node, item_p item) in ngfrm_decode()
465 ngfrm_shutdown(node_p node) in ngfrm_shutdown()
H A Dng_socket.c526 node_p node = pcbp->sockdata->node; in ng_getsockaddr()
552 node_p node; in ng_attach_cntl()
684 node_p node = priv->node; in ng_socket_free_priv()
701 node_p farnode; in ng_connect_data()
783 ngs_constructor(node_p nodep) in ngs_constructor()
789 ngs_rehash(node_p node) in ngs_rehash()
822 ngs_newhook(node_p node, hook_p hook, const char *name) in ngs_newhook()
847 node_p node = NG_HOOK_NODE(hook); in ngs_connect()
861 ngs_findhook(node_p node, const char *name) in ngs_findhook()
896 ngs_rcvmsg(node_p node, item_p item, hook_p lasthook) in ngs_rcvmsg()
[all …]
H A Dng_etf.c147 node_p node; /* back pointer to node */
175 ng_etf_constructor(node_p node) in ng_etf_constructor()
197 ng_etf_newhook(node_p node, hook_p hook, const char *name) in ng_etf_newhook()
245 ng_etf_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_etf_rcvmsg()
432 ng_etf_shutdown(node_p node) in ng_etf_shutdown()
H A Dng_hole.c119 ngh_cons(node_p node) in ngh_cons()
128 ngh_newhook(node_p node, hook_p hook, const char *name) in ngh_newhook()
144 ngh_rcvmsg(node_p node, item_p item, hook_p lasthook) in ngh_rcvmsg()
H A Dng_ksocket.c88 node_p node;
177 static void ng_ksocket_listen_upcall2(node_p node, hook_p hook,
182 static void ng_ksocket_incoming2(node_p node, hook_p hook,
599 ng_ksocket_constructor(node_p node) in ng_ksocket_constructor()
626 ng_ksocket_newhook(node_p node, hook_p hook, const char *name0) in ng_ksocket_newhook()
690 node_p node = NG_HOOK_NODE(hook); in ng_ksocket_connect()
746 ng_ksocket_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_ksocket_rcvmsg()
973 const node_p node = NG_HOOK_NODE(hook); in ng_ksocket_rcvdata()
1020 ng_ksocket_shutdown(node_p node) in ng_ksocket_shutdown()
1096 const node_p node = arg; in ng_ksocket_incoming()
[all …]
H A Dng_cisco.c99 node_p node;
121 static void cisco_keepalive(node_p node, hook_p hook, void *arg1, int arg2);
185 cisco_constructor(node_p node) in cisco_constructor()
208 cisco_newhook(node_p node, hook_p hook, const char *name) in cisco_newhook()
242 cisco_rcvmsg(node_p node, item_p item, hook_p lasthook) in cisco_rcvmsg()
397 cisco_shutdown(node_p node) in cisco_shutdown()
577 cisco_keepalive(node_p node, hook_p hook, void *arg1, int arg2) in cisco_keepalive()
H A Dng_tee.c156 ng_tee_constructor(node_p node) in ng_tee_constructor()
170 ng_tee_newhook(node_p node, hook_p hook, const char *name) in ng_tee_newhook()
212 ng_tee_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_tee_rcvmsg()
342 ng_tee_close(node_p node) in ng_tee_close()
356 ng_tee_shutdown(node_p node) in ng_tee_shutdown()
H A Dng_one2many.c70 node_p node; /* link to node */
183 ng_one2many_constructor(node_p node) in ng_one2many_constructor()
204 ng_one2many_newhook(node_p node, hook_p hook, const char *name) in ng_one2many_newhook()
252 ng_one2many_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_one2many_rcvmsg()
412 const node_p node = NG_HOOK_NODE(hook); in ng_one2many_rcvdata()
498 ng_one2many_shutdown(node_p node) in ng_one2many_shutdown()
H A Dng_echo.c75 nge_cons(node_p node) in nge_cons()
84 nge_rcvmsg(node_p node, item_p item, hook_p lasthook) in nge_rcvmsg()
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_llpi.h49 void ng_l2cap_process_lp_timeout (node_p, hook_p, void *, int);
50 void ng_l2cap_process_discon_timeout (node_p, hook_p, void *, int);

123