Home
last modified time | relevance | path

Searched defs:hook (Results 1 – 25 of 130) sorted by relevance

123456

/dflybsd-src/sys/netgraph7/
H A Dnetgraph.h141 #define _NG_HOOK_REF(hook) atomic_add_int(&(hook)->hk_refs, 1) argument
142 #define _NG_HOOK_NAME(hook) ((hook)->hk_name) argument
143 #define _NG_HOOK_UNREF(hook) ng_unref_hook(hook) argument
144 #define _NG_HOOK_SET_PRIVATE(hook, val) do {(hook)->hk_private = val;} while (0) argument
145 #define _NG_HOOK_SET_RCVMSG(hook, val) do {(hook)->hk_rcvmsg = val;} while (0) argument
146 #define _NG_HOOK_SET_RCVDATA(hook, val) do {(hook)->hk_rcvdata = val;} while (0) argument
147 #define _NG_HOOK_PRIVATE(hook) ((hook)->hk_private) argument
148 #define _NG_HOOK_NOT_VALID(hook) ((hook)->hk_flags & HK_INVALID) argument
149 #define _NG_HOOK_IS_VALID(hook) (!((hook)->hk_flags & HK_INVALID)) argument
150 #define _NG_HOOK_NODE(hook) ((hook)->hk_node) /* only rvalue! */ argument
[all …]
H A Dng_ipfw.c87 hook_p hook; member
143 ng_ipfw_newhook(node_p node, hook_p hook, const char *name) in ng_ipfw_newhook()
183 ng_ipfw_connect(hook_p hook) in ng_ipfw_connect()
206 hook_p hook; in ng_ipfw_findhook1() local
220 ng_ipfw_rcvdata(hook_p hook, item_p item) in ng_ipfw_rcvdata()
264 hook_p hook; in ng_ipfw_input() local
326 ng_ipfw_disconnect(hook_p hook) in ng_ipfw_disconnect()
H A Dng_tag.c300 ng_tag_newhook(node_p node, hook_p hook, const char *name) in ng_tag_newhook()
360 hook_p hook; in ng_tag_rcvmsg() local
382 hook_p hook; in ng_tag_rcvmsg() local
403 hook_p hook; in ng_tag_rcvmsg() local
427 hook_p hook; in ng_tag_rcvmsg() local
454 hook_p hook; in ng_tag_rcvmsg() local
502 ng_tag_rcvdata(hook_p hook, item_p item) in ng_tag_rcvdata()
607 ng_tag_disconnect(hook_p hook) in ng_tag_disconnect()
643 ng_tag_setdata_in(hook_p hook, const struct ng_tag_hookin *hp0) in ng_tag_setdata_in()
693 ng_tag_setdata_out(hook_p hook, const struct ng_tag_hookout *hp0) in ng_tag_setdata_out()
H A Dng_sample.c127 hook_p hook; member
186 ng_xxx_newhook(node_p node, hook_p hook, const char *name) in ng_xxx_newhook()
329 ng_xxx_rcvdata(hook_p hook, item_p item ) in ng_xxx_rcvdata()
451 ng_xxx_connect(hook_p hook)
491 ng_xxx_disconnect(hook_p hook)
H A Dng_vlan.c132 hook_p hook; member
175 ng_vlan_newhook(node_p node, hook_p hook, const char *name) in ng_vlan_newhook()
201 hook_p hook; in ng_vlan_rcvmsg() local
342 ng_vlan_rcvdata(hook_p hook, item_p item) in ng_vlan_rcvdata()
448 ng_vlan_disconnect(hook_p hook) in ng_vlan_disconnect()
H A Dng_split.c103 ng_split_newhook(node_p node, hook_p hook, const char *name) in ng_split_newhook()
129 ng_split_rcvdata(hook_p hook, item_p item) in ng_split_rcvdata()
166 ng_split_disconnect(hook_p hook) in ng_split_disconnect()
/dflybsd-src/sys/netgraph7/bpf/
H A Dng_bpf.c84 hook_p hook; member
237 ng_bpf_addrefs(hook_p hook, void* arg) in ng_bpf_addrefs()
250 ng_bpf_remrefs(hook_p hook, void* arg) in ng_bpf_remrefs()
266 ng_bpf_newhook(node_p node, hook_p hook, const char *name) in ng_bpf_newhook()
313 hook_p hook; in ng_bpf_rcvmsg() local
334 hook_p hook; in ng_bpf_rcvmsg() local
361 hook_p hook; in ng_bpf_rcvmsg() local
409 ng_bpf_rcvdata(hook_p hook, item_p item) in ng_bpf_rcvdata()
518 ng_bpf_disconnect(hook_p hook) in ng_bpf_disconnect()
550 ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp0) in ng_bpf_setprog()
/dflybsd-src/sys/netgraph/
H A Dnetgraph.h83 #define NG_HOOK_REF(hook) atomic_add_int(&(hook)->refs, 1) argument
84 #define NG_HOOK_NAME(hook) ((hook)->name) argument
85 #define NG_HOOK_UNREF(hook) ng_unref_hook(hook) argument
86 #define NG_HOOK_SET_PRIVATE(hook, val) do {(hook)->private = val;} while (0) argument
87 #define NG_HOOK_SET_RCVMSG(hook, val) do {(hook)->rcvmsg = val;} while (0) argument
88 #define NG_HOOK_SET_RCVDATA(hook, val) do {(hook)->rcvdata = val;} while (0) argument
89 #define NG_HOOK_PRIVATE(hook) ((hook)->private) argument
90 #define NG_HOOK_NOT_VALID(hook) ((hook)->flags & HK_INVALID) argument
91 #define NG_HOOK_IS_VALID(hook) (!((hook)->flags & HK_INVALID)) argument
92 #define NG_HOOK_NODE(hook) ((hook)->node) /* only rvalue! */ argument
[all …]
H A Dng_sample.c120 hook_p hook; member
188 ng_xxx_newhook(node_p node, hook_p hook, const char *name) in ng_xxx_newhook()
323 ng_xxx_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ng_xxx_rcvdata()
345 ng_xxx_rcvdataq(hook_p hook, struct mbuf *m, meta_p meta) in ng_xxx_rcvdataq()
448 ng_xxx_connect(hook_p hook) in ng_xxx_connect()
460 ng_xxx_disconnect(hook_p hook) in ng_xxx_disconnect()
/dflybsd-src/sys/netgraph7/netgraph/
H A Dng_base.c249 #define _NG_ALLOC_HOOK(hook) \ argument
268 hook_p hook; in ng_alloc_hook() local
319 #define NG_ALLOC_HOOK(hook) do { (hook) = ng_alloc_hook(); } while (0) argument
323 #define NG_FREE_HOOK(hook) \ argument
341 #define NG_ALLOC_HOOK(hook) _NG_ALLOC_HOOK(hook) argument
344 #define NG_FREE_HOOK(hook) do { kfree((hook), M_NETGRAPH_HOOK); } while (0) argument
688 hook_p hook; in ng_rmnode() local
1012 ng_unref_hook(hook_p hook) in ng_unref_hook()
1036 hook_p hook; in ng_add_hook() local
1097 hook_p hook; in ng_findhook() local
[all …]
/dflybsd-src/sys/netgraph/bpf/
H A Dng_bpf.c75 hook_p hook; member
230 ng_bpf_newhook(node_p node, hook_p hook, const char *name) in ng_bpf_newhook()
273 hook_p hook; in ng_bpf_rcvmsg() local
294 hook_p hook; in ng_bpf_rcvmsg() local
321 hook_p hook; in ng_bpf_rcvmsg() local
373 ng_bpf_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ng_bpf_rcvdata()
452 ng_bpf_disconnect(hook_p hook) in ng_bpf_disconnect()
474 ng_bpf_setprog(hook_p hook, const struct ng_bpf_hookprog *hp0) in ng_bpf_setprog()
/dflybsd-src/sys/netgraph7/bluetooth/hci/
H A Dng_hci_main.c187 ng_hci_newhook(node_p node, hook_p hook, char const *name) in ng_hci_newhook()
216 ng_hci_connect(hook_p hook) in ng_hci_connect()
244 ng_hci_disconnect(hook_p hook) in ng_hci_disconnect()
691 ng_hci_drv_rcvdata(hook_p hook, item_p item) in ng_hci_drv_rcvdata()
774 ng_hci_acl_rcvdata(hook_p hook, item_p item) in ng_hci_acl_rcvdata()
894 ng_hci_sco_rcvdata(hook_p hook, item_p item) in ng_hci_sco_rcvdata()
1014 ng_hci_raw_rcvdata(hook_p hook, item_p item) in ng_hci_raw_rcvdata()
H A Dng_hci_ulpi.c65 ng_hci_lp_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_con_req()
109 ng_hci_lp_acl_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_acl_con_req()
309 ng_hci_lp_sco_con_req(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_sco_con_req()
477 ng_hci_lp_discon_req(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_discon_req()
641 hook_p hook = NULL; in ng_hci_lp_con_ind() local
682 ng_hci_lp_con_rsp(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_con_rsp()
934 ng_hci_lp_qos_req(ng_hci_unit_p unit, item_p item, hook_p hook) in ng_hci_lp_qos_req()
1152 ng_hci_process_con_timeout(node_p node, hook_p hook, void *arg1, int con_handle) in ng_hci_process_con_timeout()
/dflybsd-src/sys/netgraph/netgraph/
H A Dng_base.c456 hook_p hook; in ng_cutlinks() local
688 ng_unref_hook(hook_p hook) in ng_unref_hook()
702 hook_p hook; in ng_add_hook() local
794 hook_p hook; in ng_findhook() local
815 ng_destroy_hook(hook_p hook) in ng_destroy_hook()
837 ng_disconnect_hook(hook_p hook) in ng_disconnect_hook()
935 hook_p hook; in ng_mkpeer() local
978 hook_p hook; in ng_con_nodes() local
1009 char *node, *path, *hook; in ng_path_parse() local
1118 hook_p hook; in ng_path2node() local
[all …]
/dflybsd-src/sys/netgraph7/hole/
H A Dng_hole.c131 ngh_newhook(node_p node, hook_p hook, const char *name) in ngh_newhook()
153 hook_p hook; in ngh_rcvmsg() local
206 ngh_rcvdata(hook_p hook, item_p item) in ngh_rcvdata()
220 ngh_disconnect(hook_p hook) in ngh_disconnect()
/dflybsd-src/sys/netgraph/etf/
H A Dng_etf.c133 hook_p hook; member
210 ng_etf_newhook(node_p node, hook_p hook, const char *name) in ng_etf_newhook()
294 hook_p hook; in ng_etf_rcvmsg() local
373 ng_etf_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ng_etf_rcvdata()
455 ng_etf_connect(hook_p hook) in ng_etf_connect()
466 ng_etf_disconnect(hook_p hook) in ng_etf_disconnect()
/dflybsd-src/sys/netgraph/pppoe/
H A Dng_pppoe.c144 hook_p hook; member
237 hook_p hook; in get_new_sid() local
406 hook_p hook; in pppoe_match_svc() local
450 hook_p hook = NULL; in pppoe_findsession() local
480 hook_p hook = NULL; in pppoe_finduniq() local
545 ng_pppoe_newhook(node_p node, hook_p hook, const char *name) in ng_pppoe_newhook()
587 hook_p hook = NULL; in ng_pppoe_rcvmsg() local
881 ng_pppoe_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ng_pppoe_rcvdata()
1405 ng_pppoe_connect(hook_p hook) in ng_pppoe_connect()
1418 ng_pppoe_disconnect(hook_p hook) in ng_pppoe_disconnect()
[all …]
/dflybsd-src/sys/netgraph/one2many/
H A Dng_one2many.c65 hook_p hook; /* netgraph hook */ member
92 #define LINK_NUM(hook) (*(int16_t *)(&(hook)->private)) argument
216 ng_one2many_newhook(node_p node, hook_p hook, const char *name) in ng_one2many_newhook()
385 ng_one2many_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ng_one2many_rcvdata()
451 ng_one2many_disconnect(hook_p hook) in ng_one2many_disconnect()
/dflybsd-src/sys/netgraph7/etf/
H A Dng_etf.c131 hook_p hook; member
203 ng_etf_newhook(node_p node, hook_p hook, const char *name) in ng_etf_newhook()
288 hook_p hook; in ng_etf_rcvmsg() local
368 ng_etf_rcvdata(hook_p hook, item_p item ) in ng_etf_rcvdata()
454 ng_etf_disconnect(hook_p hook) in ng_etf_disconnect()
/dflybsd-src/sys/netgraph7/bluetooth/drivers/h4/
H A Dng_h4.c673 ng_h4_newhook(node_p node, hook_p hook, const char *name)
698 ng_h4_connect(hook_p hook)
716 ng_h4_disconnect(hook_p hook)
788 ng_h4_rcvdata(hook_p hook, item_p item)
979 ng_h4_process_timeout(node_p node, hook_p hook, void *arg1, int arg2)
/dflybsd-src/sys/netgraph/tee/
H A Dng_tee.c65 hook_p hook; member
173 ngt_newhook(node_p node, hook_p hook, const char *name) in ngt_newhook()
277 ngt_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ngt_rcvdata()
374 ngt_disconnect(hook_p hook) in ngt_disconnect()
/dflybsd-src/sys/netgraph7/bluetooth/drivers/bt3c/
H A Dng_bt3c_pccard.c294 ng_bt3c_newhook(node_p node, hook_p hook, char const *name) in ng_bt3c_newhook()
314 ng_bt3c_connect(hook_p hook) in ng_bt3c_connect()
334 ng_bt3c_disconnect(hook_p hook) in ng_bt3c_disconnect()
539 ng_bt3c_rcvdata(hook_p hook, item_p item) in ng_bt3c_rcvdata()
1006 bt3c_forward(node_p node, hook_p hook, void *arg1, int arg2) in bt3c_forward()
1042 bt3c_send(node_p node, hook_p hook, void *arg, int completed) in bt3c_send()
/dflybsd-src/sys/netgraph7/tty/
H A Dng_tty.c89 hook_p hook; /* Netgraph hook */ member
464 ngt_timeout(node_p node, hook_p hook, void *arg1, int arg2) in ngt_timeout()
494 ngt_newhook(node_p node, hook_p hook, const char *name) in ngt_newhook()
517 ngt_connect(hook_p hook) in ngt_connect()
533 ngt_disconnect(hook_p hook) in ngt_disconnect()
578 ngt_rcvdata(hook_p hook, item_p item) in ngt_rcvdata()
/dflybsd-src/sys/netgraph/hole/
H A Dng_hole.c81 ngh_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ngh_rcvdata()
91 ngh_disconnect(hook_p hook) in ngh_disconnect()
/dflybsd-src/sys/netgraph7/bluetooth/socket/
H A Dng_btsocket_l2cap_raw.c223 ng_btsocket_l2cap_raw_node_newhook(node_p node, hook_p hook, char const *name) in ng_btsocket_l2cap_raw_node_newhook()
233 ng_btsocket_l2cap_raw_node_connect(hook_p hook) in ng_btsocket_l2cap_raw_node_connect()
246 ng_btsocket_l2cap_raw_node_disconnect(hook_p hook) in ng_btsocket_l2cap_raw_node_disconnect()
269 ng_btsocket_l2cap_raw_node_rcvmsg(node_p node, item_p item, hook_p hook) in ng_btsocket_l2cap_raw_node_rcvmsg()
322 ng_btsocket_l2cap_raw_node_rcvdata(hook_p hook, item_p item) in ng_btsocket_l2cap_raw_node_rcvdata()
343 hook_p hook = NULL; in ng_btsocket_l2cap_raw_input() local
1333 ng_btsocket_l2cap_raw_send_ngmsg(hook_p hook, int cmd, void *arg, int arglen) in ng_btsocket_l2cap_raw_send_ngmsg()

123456