/dragonfly/sys/netgraph7/ |
H A D | ng_source.c | 295 sc->input = hook; in ng_source_newhook() 297 sc->output = hook; in ng_source_newhook() 310 ng_source_connect(hook_p hook) in ng_source_connect() argument 312 sc_p sc = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); in ng_source_connect() 320 if (hook == sc->output) { in ng_source_connect() 546 ng_source_rcvdata(hook_p hook, item_p item) in ng_source_rcvdata() argument 556 if (hook == sc->output) { in ng_source_rcvdata() 593 ng_source_disconnect(hook_p hook) in ng_source_disconnect() argument 597 sc = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); in ng_source_disconnect() 599 if (NG_NODE_NUMHOOKS(NG_HOOK_NODE(hook)) == 0 || hook == sc->output) in ng_source_disconnect() [all …]
|
H A D | ng_nat.c | 310 ng_nat_newhook(node_p node, hook_p hook, const char *name) in ng_nat_newhook() argument 315 priv->in = hook; in ng_nat_newhook() 317 priv->out = hook; in ng_nat_newhook() 672 ng_nat_rcvdata(hook_p hook, item_p item ) in ng_nat_rcvdata() argument 706 if (hook == priv->in) { in ng_nat_rcvdata() 713 } else if (hook == priv->out) { in ng_nat_rcvdata() 766 if (hook == priv->in) in ng_nat_rcvdata() 797 ng_nat_disconnect(hook_p hook) in ng_nat_disconnect() argument 803 if (hook == priv->out) in ng_nat_disconnect() 805 if (hook == priv->in) in ng_nat_disconnect() [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | continuations.c | 111 add_inferior_continuation (continuation_ftype *hook, void *args, in add_inferior_continuation() argument 116 make_continuation (&inf->continuations, hook, args, free_arg); in add_inferior_continuation() 141 continuation_ftype *hook, void *args, in add_continuation() argument 144 make_continuation (&thread->continuations, hook, args, free_arg); in add_continuation() 254 continuation_ftype *hook, in add_intermediate_continuation() argument 258 make_continuation (&thread->intermediate_continuations, hook, in add_intermediate_continuation()
|
/dragonfly/sys/netgraph/ether/ |
H A D | ng_ether.c | 389 *hookptr = hook; in ng_ether_newhook() 503 ng_ether_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ng_ether_rcvdata() argument 505 const node_p node = hook->node; in ng_ether_rcvdata() 508 if (hook == priv->lower) in ng_ether_rcvdata() 510 if (hook == priv->upper) in ng_ether_rcvdata() 611 ng_ether_disconnect(hook_p hook) in ng_ether_disconnect() argument 613 const priv_p priv = hook->node->private; in ng_ether_disconnect() 615 if (hook == priv->upper) { in ng_ether_disconnect() 618 } else if (hook == priv->lower) { in ng_ether_disconnect() 623 if (hook->node->numhooks == 0) in ng_ether_disconnect() [all …]
|
/dragonfly/etc/rc.d/ |
H A D | wg | 384 local hook=$1 387 case ${hook} in 389 eval 'count="${_wg_interface_'${hook}'_count:-0}"' 392 err 1 "unknown hook: ${hook}" 396 debug "executing [${hook}] hook (${count} actions) ..." 400 eval 'cmd="${_wg_interface_'${hook}${i}'}"'
|
/dragonfly/sys/netgraph7/ksocket/ |
H A D | ng_ksocket.c | 86 hook_p hook; member 552 if (priv->hook != NULL) in ng_ksocket_newhook() 593 priv->hook = hook; in ng_ksocket_newhook() 600 NG_HOOK_FORCE_QUEUE(hook); in ng_ksocket_newhook() 606 ng_ksocket_connect(hook_p hook) in ng_ksocket_connect() argument 608 node_p node = NG_HOOK_NODE(hook); in ng_ksocket_connect() 887 const node_p node = NG_HOOK_NODE(hook); in ng_ksocket_rcvdata() 960 ng_ksocket_disconnect(hook_p hook) in ng_ksocket_disconnect() argument 965 if (NG_NODE_IS_VALID(NG_HOOK_NODE(hook))) in ng_ksocket_disconnect() 966 ng_rmnode_self(NG_HOOK_NODE(hook)); in ng_ksocket_disconnect() [all …]
|
/dragonfly/sys/netgraph7/bluetooth/hci/ |
H A D | ng_hci_misc.c | 84 ng_hci_node_is_up(node_p node, hook_p hook, void *arg1, int arg2) in ng_hci_node_is_up() argument 92 hook == NULL || NG_HOOK_NOT_VALID(hook)) in ng_hci_node_is_up() 99 if (hook != unit->acl && hook != unit->sco) in ng_hci_node_is_up() 106 if (hook == unit->acl) { in ng_hci_node_is_up() 116 NG_SEND_MSG_HOOK(error, node, msg, hook, 0); in ng_hci_node_is_up() 124 NG_HOOK_NAME(hook), error); in ng_hci_node_is_up()
|
/dragonfly/contrib/gcc-4.7/gcc/doc/ |
H A D | tm.texi.in | 1576 hook and should be defined if that hook is overriden to be true. It 4522 target hook. 6359 @hook TARGET_RTX_COSTS 6564 The hook can be used to initialize data used by the previous hook. 7124 @hook TARGET_HAVE_TLS 7247 need to do other things in that hook, have your hook function call 7404 hook. 7410 hook. 8891 @hook TARGET_ASM_TTYPE 10121 hook is the same as the @code{TARGET_VALID_POINTER_MODE} target hook, [all …]
|
/dragonfly/lib/libnetgraph/ |
H A D | sock.c | 212 NgRecvData(int ds, u_char * buf, size_t len, char *hook) in NgRecvData() argument 230 if (hook != NULL) in NgRecvData() 231 snprintf(hook, NG_HOOKSIZ, "%s", from->sg_data); in NgRecvData() 251 NgSendData(int ds, const char *hook, const u_char * buf, size_t len) in NgSendData() argument 259 snprintf(sg->sg_data, NG_HOOKSIZ, "%s", hook); in NgSendData() 264 NGLOGX("WRITE PACKET to hook \"%s\" (%d bytes)", hook, len); in NgSendData()
|
/dragonfly/usr.sbin/ppp/ |
H A D | netgraph.c | 101 char hook[NG_HOOKSIZ]; /* Our socket node hook */ member 237 return NgSendData(p->fd, dev->hook, v, n) == -1 ? -1 : (ssize_t)n; in ng_Write() 243 char hook[NG_HOOKSIZ]; in ng_Read() local 252 return NgRecvData(p->fd, v, n, hook); in ng_Read() 474 char hook[NG_HOOKSIZ]; in ng_Create() local 516 if (!GETSEGMENT(hook, devp, ".[", &endp)) in ng_Create() 532 strcpy(hook, lasthook); in ng_Create() 618 if (strcmp(nlink->peerhook, hook) || in ng_Create() 698 snprintf(dev->hook, sizeof dev->hook, "%s", lasthook); in ng_Create() 702 snprintf(ngc.ourhook, sizeof ngc.ourhook, "%s", dev->hook); in ng_Create() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/c-family/ |
H A D | c-target.def | 1 /* Target hook definitions for C-family front ends. 53 If a target implements string objects then this hook should return a\ 56 At present, the hook is used by Objective-C only, to obtain a\ 77 "If a target implements string objects then this hook should return\ 84 "If a target implements string objects then this hook should should\ 93 "Define this hook to return the name of a header file to be included at\ 95 @code{#include <@var{file}>}. If this hook returns @code{NULL}, or is\ 99 This hook can be used together with a header provided by the system C\ 108 "Define this hook to add target-specific C++ implicit extern C functions.\
|
/dragonfly/sys/netgraph7/iface/ |
H A D | ng_iface.c | 140 static iffam_p get_iffam_from_hook(priv_p priv, hook_p hook); 240 get_iffam_from_hook(priv_p priv, hook_p hook) in get_iffam_from_hook() argument 245 if (priv->hooks[k] == hook) in get_iffam_from_hook() 645 *hookptr = hook; in ng_iface_newhook() 646 NG_HOOK_HI_STACK(hook); in ng_iface_newhook() 772 ng_iface_rcvdata(hook_p hook, item_p item) in ng_iface_rcvdata() argument 774 const priv_p priv = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); in ng_iface_rcvdata() 775 const iffam_p iffam = get_iffam_from_hook(priv, hook); in ng_iface_rcvdata() 850 ng_iface_disconnect(hook_p hook) in ng_iface_disconnect() argument 852 const priv_p priv = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); in ng_iface_disconnect() [all …]
|
/dragonfly/sys/netgraph/eiface/ |
H A D | ng_eiface.c | 366 ng_eiface_newhook(node_p node, hook_p hook, const char *name) in ng_eiface_newhook() argument 374 priv->ether = hook; in ng_eiface_newhook() 375 hook->private = &priv->ether; in ng_eiface_newhook() 500 ng_eiface_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ng_eiface_rcvdata() argument 502 const priv_p priv = hook->node->private; in ng_eiface_rcvdata() 558 ng_eiface_connect(hook_p hook) in ng_eiface_connect() argument 568 ng_eiface_disconnect(hook_p hook) in ng_eiface_disconnect() argument 570 const priv_p priv = hook->node->private; in ng_eiface_disconnect()
|
/dragonfly/sys/netgraph7/eiface/ |
H A D | ng_eiface.c | 210 ng_eiface_start2(node_p node, hook_p hook, void *arg1, int arg2) in ng_eiface_start2() argument 394 ng_eiface_newhook(node_p node, hook_p hook, const char *name) in ng_eiface_newhook() argument 403 priv->ether = hook; in ng_eiface_newhook() 404 NG_HOOK_SET_PRIVATE(hook, &priv->ether); in ng_eiface_newhook() 528 ng_eiface_rcvdata(hook_p hook, item_p item) in ng_eiface_rcvdata() argument 530 const priv_p priv = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); in ng_eiface_rcvdata() 582 ng_eiface_disconnect(hook_p hook) in ng_eiface_disconnect() argument 584 const priv_p priv = NG_NODE_PRIVATE(NG_HOOK_NODE(hook)); in ng_eiface_disconnect()
|
/dragonfly/sys/netgraph/iface/ |
H A D | ng_iface.c | 130 static iffam_p get_iffam_from_hook(priv_p priv, hook_p hook); 234 get_iffam_from_hook(priv_p priv, hook_p hook) in get_iffam_from_hook() argument 239 if (priv->hooks[k] == hook) in get_iffam_from_hook() 616 ng_iface_newhook(node_p node, hook_p hook, const char *name) in ng_iface_newhook() argument 626 *hookptr = hook; in ng_iface_newhook() 740 ng_iface_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ng_iface_rcvdata() argument 742 const priv_p priv = hook->node->private; in ng_iface_rcvdata() 743 const iffam_p iffam = get_iffam_from_hook(priv, hook); in ng_iface_rcvdata() 816 ng_iface_disconnect(hook_p hook) in ng_iface_disconnect() argument 818 const priv_p priv = hook->node->private; in ng_iface_disconnect() [all …]
|
/dragonfly/sys/netgraph7/socket/ |
H A D | ng_socket.c | 421 hook_p hook = NULL; in ngd_send() local 451 hook = LIST_FIRST(&pcbp->sockdata->node->nd_hooks); in ngd_send() 467 if (hook == NULL) { in ngd_send() 474 NG_SEND_DATA_FLAGS(error, hook, m, NG_WAITOK); in ngd_send() 851 NG_HOOK_SET_PRIVATE(hook, NG_NODE_PRIVATE(node)); in ngs_newhook() 859 ngs_connect(hook_p hook) in ngs_connect() argument 861 node_p node = NG_HOOK_NODE(hook); in ngs_connect() 975 ngs_rcvdata(hook_p hook, item_p item) in ngs_rcvdata() argument 1000 bcopy(NG_HOOK_NAME(hook), addr->sg_data, addrlen); in ngs_rcvdata() 1023 ngs_disconnect(hook_p hook) in ngs_disconnect() argument [all …]
|
/dragonfly/libexec/pppoed/ |
H A D | pppoed.c | 228 snprintf(data->hook, sizeof data->hook, "%s", ngc->peerhook); in ConfigureNode() 322 snprintf(data->hook, sizeof data->hook, "%s", ngc.ourhook); in Spawn() 341 snprintf(data->hook, sizeof data->hook, "%s", ngc.ourhook); in Spawn() 412 if (setenv("ACNAME", sts->hook, 1) != 0) in Spawn() 414 sts->hook); in Spawn() 433 msg, sts->hook); in Spawn() 437 syslog(LOG_INFO, "Received NGM_PPPOE_%s (hook \"%s\")", msg, sts->hook); in Spawn()
|
/dragonfly/sys/netgraph7/bluetooth/drivers/ubt/ |
H A D | ng_ubt.c | 1281 hook_p hook; in ubt_fwd_mbuf_up() local 1301 if ((hook = sc->sc_hook) != NULL) in ubt_fwd_mbuf_up() 1302 NG_HOOK_REF(hook); in ubt_fwd_mbuf_up() 1305 if (hook == NULL) { in ubt_fwd_mbuf_up() 1310 NG_SEND_DATA_ONLY(error, hook, *m); in ubt_fwd_mbuf_up() 1311 NG_HOOK_UNREF(hook); in ubt_fwd_mbuf_up() 1496 sc->sc_hook = hook; in ng_ubt_newhook() 1508 ng_ubt_connect(hook_p hook) in ng_ubt_connect() argument 1527 ng_ubt_disconnect(hook_p hook) in ng_ubt_disconnect() argument 1533 if (hook != sc->sc_hook) { in ng_ubt_disconnect() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | varpool.c | 45 varpool_node_hook hook; member 52 symbol_table::add_varpool_removal_hook (varpool_node_hook hook, void *data) in add_varpool_removal_hook() argument 58 entry->hook = hook; in add_varpool_removal_hook() 86 entry->hook (node, entry->data); in call_varpool_removal_hooks() 93 symbol_table::add_varpool_insertion_hook (varpool_node_hook hook, void *data) in add_varpool_insertion_hook() argument 99 entry->hook = hook; in add_varpool_insertion_hook() 127 entry->hook (node, entry->data); in call_varpool_insertion_hooks()
|
/dragonfly/sys/netgraph/ |
H A D | ng_device.c | 264 ng_device_newhook(node_p node, hook_p hook, const char *name) in ng_device_newhook() argument 307 new_connection->active_hook = hook; in ng_device_newhook() 319 ng_device_connect(hook_p hook) in ng_device_connect() argument 334 ng_device_rcvdata(hook_p hook, struct mbuf *m, meta_p meta) in ng_device_rcvdata() argument 346 if(tmp->active_hook == hook) { in ng_device_rcvdata() 386 ng_device_disconnect(hook_p hook) in ng_device_disconnect() argument 397 if(tmp->active_hook == hook) { in ng_device_disconnect()
|
/dragonfly/sys/netgraph/ksocket/ |
H A D | ng_ksocket.c | 80 hook_p hook; member 566 if (priv->hook != NULL) in ng_ksocket_newhook() 612 priv->hook = hook; in ng_ksocket_newhook() 881 const node_p node = hook->node; in ng_ksocket_rcvdata() 965 ng_ksocket_disconnect(hook_p hook) in ng_ksocket_disconnect() argument 967 KASSERT(hook->node->numhooks == 0, in ng_ksocket_disconnect() 968 ("%s: numhooks=%d?", __func__, hook->node->numhooks)); in ng_ksocket_disconnect() 969 ng_rmnode(hook->node); in ng_ksocket_disconnect() 1038 if (priv->hook == NULL) { in ng_ksocket_incoming() 1097 NG_SEND_DATA(error, priv->hook, sio.sb_mb, meta); in ng_ksocket_incoming() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | target.def | 1 /* Target hook definitions. 444 /* Emit the trampoline template. This hook may be NULL. */ 485 not this hook, and uses different argument names. */ 493 `print_operand' hook. */ 495 not this hook. */ 661 /* This hook prepares the target for a new round of multipass 1168 before switching completely to the target hook. */ 1461 The default version of this hook use the target macro\n\ 1734 hook should return NULL_RTX. */ 2101 which is the default value for this hook. You can define this hook to\n\ [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/c-family/ |
H A D | c-target.def | 1 /* Target hook definitions for C-family front ends. 55 If a target implements string objects then this hook should return a\ 58 At present, the hook is used by Objective-C only, to obtain a\ 79 "If a target implements string objects then this hook should return\ 86 "If a target implements string objects then this hook should should\
|
/dragonfly/lib/libc/resolv/ |
H A D | res_data.c | 198 res_send_setqhook(res_send_qhook hook) { in res_send_setqhook() argument 199 _res.qhook = hook; in res_send_setqhook() 203 res_send_setrhook(res_send_rhook hook) { in res_send_setrhook() argument 204 _res.rhook = hook; in res_send_setrhook()
|
/dragonfly/sys/sys/ |
H A D | camlib.h | 176 int (*arg_get)(void *hook, char *field_name), 181 int (*arg_get)(void *hook, char *field_name), 184 int (*arg_get)(void *hook, char *field_name),
|