/freebsd/contrib/unbound/iterator/ |
H A D | iter_fwd.c | 70 struct iter_forwards* fwd = (struct iter_forwards*)calloc(1, in forwards_create() local 72 if(!fwd) in forwards_create() 74 lock_rw_init(&fwd->lock); in forwards_create() 75 return fwd; in forwards_create() 92 static void fwd_del_tree(struct iter_forwards* fwd) in fwd_del_tree() argument 94 if(fwd->tree) in fwd_del_tree() 95 traverse_postorder(fwd->tree, &delfwdnode, NULL); in fwd_del_tree() 96 free(fwd->tree); in fwd_del_tree() 100 forwards_delete(struct iter_forwards* fwd) in forwards_delete() argument 102 if(!fwd) in forwards_delete() [all …]
|
H A D | iter_fwd.h | 103 void forwards_delete(struct iter_forwards* fwd); 111 int forwards_apply_cfg(struct iter_forwards* fwd, struct config_file* cfg); 126 struct delegpt* forwards_find(struct iter_forwards* fwd, uint8_t* qname, 146 struct delegpt* forwards_lookup(struct iter_forwards* fwd, 156 struct delegpt* forwards_lookup_root(struct iter_forwards* fwd, 168 int forwards_next_root(struct iter_forwards* fwd, uint16_t* qclass, 177 size_t forwards_get_mem(struct iter_forwards* fwd); 194 int forwards_add_zone(struct iter_forwards* fwd, uint16_t c, 207 void forwards_delete_zone(struct iter_forwards* fwd, uint16_t c, 222 int forwards_add_stub_hole(struct iter_forwards* fwd, uint16_t c, [all …]
|
/freebsd/contrib/flex/src/ |
H A D | ecs.c | 78 int cre8ecs (int fwd[], int bck[], int num) in cre8ecs() argument 92 for (j = fwd[i]; j != NIL; j = fwd[j]) in cre8ecs() 115 void mkeccl (unsigned char ccls[], int lenccl, int fwd[], int bck[], int llsiz, int NUL_mapping) in mkeccl() argument 138 …for (i = fwd[cclm]; i != NIL && i <= llsiz; i = fwd[i]) { /* look for the symbol in the character … in mkeccl() 158 fwd[newec] = i; in mkeccl() 176 fwd[oldec] = i; in mkeccl() 185 fwd[oldec] = NIL; in mkeccl() 188 fwd[newec] = NIL; in mkeccl() 202 void mkechar (int tch, int fwd[], int bck[]) in mkechar() argument 208 if (fwd[tch] != NIL) in mkechar() [all …]
|
/freebsd/crypto/openssh/ |
H A D | mux.c | 530 format_forward(u_int ftype, struct Forward *fwd) in format_forward() argument 537 (fwd->listen_path != NULL) ? fwd->listen_path : in format_forward() 538 (fwd->listen_host == NULL) ? in format_forward() 540 fwd->listen_host, fwd->listen_port, in format_forward() 541 (fwd->connect_path != NULL) ? fwd->connect_path : in format_forward() 542 fwd->connect_host, fwd->connect_port); in format_forward() 546 (fwd->listen_host == NULL) ? in format_forward() 548 fwd->listen_host, fwd->listen_port); in format_forward() 552 (fwd->listen_path != NULL) ? fwd->listen_path : in format_forward() 553 (fwd->listen_host == NULL) ? in format_forward() [all …]
|
H A D | readconf.c | 380 struct Forward *fwd; in add_local_forward() local 391 fwd = &options->local_forwards[options->num_local_forwards++]; in add_local_forward() 393 fwd->listen_host = newfwd->listen_host; in add_local_forward() 394 fwd->listen_port = newfwd->listen_port; in add_local_forward() 395 fwd->listen_path = newfwd->listen_path; in add_local_forward() 396 fwd->connect_host = newfwd->connect_host; in add_local_forward() 397 fwd->connect_port = newfwd->connect_port; in add_local_forward() 398 fwd->connect_path = newfwd->connect_path; in add_local_forward() 409 struct Forward *fwd; in add_remote_forward() local 420 fwd = &options->remote_forwards[options->num_remote_forwards++]; in add_remote_forward() [all …]
|
H A D | serverloop.c | 737 struct Forward fwd; in server_input_global_request() local 739 memset(&fwd, 0, sizeof(fwd)); in server_input_global_request() 750 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_host, NULL)) != 0 || in server_input_global_request() 754 fwd.listen_host, port); in server_input_global_request() 756 fwd.listen_port = (int)port; in server_input_global_request() 762 (!want_reply && fwd.listen_port == 0)) { in server_input_global_request() 767 success = channel_setup_remote_fwd_listener(ssh, &fwd, in server_input_global_request() 776 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_host, NULL)) != 0 || in server_input_global_request() 781 fwd.listen_host, port); in server_input_global_request() 783 fwd.listen_port = (int)port; in server_input_global_request() [all …]
|
H A D | channels.c | 3792 struct Forward *fwd, int *allocated_listen_port, in channel_setup_fwd_listener_tcpip() argument 3804 if (is_client && fwd->connect_path != NULL) { in channel_setup_fwd_listener_tcpip() 3805 host = fwd->connect_path; in channel_setup_fwd_listener_tcpip() 3808 fwd->listen_host : fwd->connect_host; in channel_setup_fwd_listener_tcpip() 3820 addr = channel_fwd_bind_addr(ssh, fwd->listen_host, &wildcard, in channel_setup_fwd_listener_tcpip() 3833 snprintf(strport, sizeof strport, "%d", fwd->listen_port); in channel_setup_fwd_listener_tcpip() 3865 fwd->listen_port == 0 && allocated_listen_port != NULL && in channel_setup_fwd_listener_tcpip() 3920 fwd->listen_port == 0 && in channel_setup_fwd_listener_tcpip() 3933 c->host_port = fwd->connect_port; in channel_setup_fwd_listener_tcpip() 3935 if (fwd->listen_port == 0 && allocated_listen_port != NULL && in channel_setup_fwd_listener_tcpip() [all …]
|
H A D | clientloop.c | 989 struct Forward fwd; in process_cmdline() local 991 memset(&fwd, 0, sizeof(fwd)); in process_cmdline() 1053 if (!parse_forward(&fwd, s, 1, 0)) { in process_cmdline() 1058 ok = channel_request_rforward_cancel(ssh, &fwd) == 0; in process_cmdline() 1060 ok = channel_cancel_lport_listener(ssh, &fwd, in process_cmdline() 1063 ok = channel_cancel_lport_listener(ssh, &fwd, in process_cmdline() 1074 if (!parse_forward(&fwd, s, 0, remote) && in process_cmdline() 1075 !parse_forward(&fwd, s, 1, remote)) { in process_cmdline() 1079 } else if (!parse_forward(&fwd, s, dynamic, remote)) { in process_cmdline() 1084 if (!channel_setup_local_fwd_listener(ssh, &fwd, in process_cmdline() [all …]
|
H A D | ssh.c | 679 struct Forward fwd; in main() local 949 if (parse_forward(&fwd, optarg, 1, 0)) { in main() 951 fwd.listen_port == PORT_STREAMLOCAL ? in main() 952 fwd.listen_path : fwd.listen_host; in main() 953 options.stdio_forward_port = fwd.listen_port; in main() 954 free(fwd.connect_host); in main() 1024 if (parse_forward(&fwd, optarg, 0, 0)) in main() 1025 add_local_forward(&options, &fwd); in main() 1035 if (parse_forward(&fwd, optarg, 0, 1) || in main() 1036 parse_forward(&fwd, optarg, 1, 1)) { in main() [all …]
|
/freebsd/tests/sys/netpfil/pf/ |
H A D | proxy.sh | 49 vnet_mkjail fwd ${epair_client}b ${epair_link}a 50 jexec fwd ifconfig ${epair_client}b 192.0.2.1/24 up 51 jexec fwd ifconfig ${epair_link}a 198.51.100.1/24 up 52 jexec fwd ifconfig lo0 127.0.0.1/8 up 53 jexec fwd sysctl net.inet.ip.forwarding=1 65 jexec fwd pfctl -e 66 pft_set_rules fwd \ 73 jexec fwd /usr/sbin/ftp-proxy
|
H A D | syncookie.sh | 150 vnet_mkjail fwd ${epair_in}b ${epair_out}a 153 jexec fwd ifconfig ${epair_in}b 192.0.2.1/24 up 154 jexec fwd ifconfig ${epair_out}a 198.51.100.1/24 up 155 jexec fwd sysctl net.inet.ip.forwarding=1 165 jexec fwd pfctl -e 166 pft_set_rules fwd \ 200 vnet_mkjail fwd ${epair_in}b ${epair_out}a 203 jexec fwd ifconfig ${epair_in}b inet6 2001:db8::1/64 up no_dad 204 jexec fwd ifconfig ${epair_out}a inet6 2001:db8:1::1/64 up no_dad 205 jexec fwd sysctl net.inet6.ip6.forwarding=1 [all …]
|
/freebsd/crypto/openssh/regress/ |
H A D | forwarding.sh | 12 fwd="" 22 fwd="$fwd -L$a:127.0.0.1:$b -R$b:127.0.0.1:$c" 29 ${SSH} -S $CTL -N -M -F $OBJ/ssh_config -f $fwd somehost 121 rm -f $OBJ/unix-[123].fwd 123 ${SSH} -S $CTL -N -M -f -F $OBJ/ssh_config -R${base}01:[$OBJ/unix-1.fwd] somehost 124 ${SSH} -S $CTL.1 -N -M -f -F $OBJ/ssh_config -L[$OBJ/unix-1.fwd]:[$OBJ/unix-2.fwd] somehost 125 ${SSH} -S $CTL.2 -N -M -f -F $OBJ/ssh_config -R[$OBJ/unix-2.fwd]:[$OBJ/unix-3.fwd] somehost 126 ${SSH} -S $CTL.3 -N -M -f -F $OBJ/ssh_config -L[$OBJ/unix-3.fwd]:127.0.0.1:$PORT somehost
|
H A D | multiplex.sh | 97 rm -f ${COPY} $OBJ/unix-[123].fwd 100 $NC -N -Ul $OBJ/unix-1.fwd < ${DATA} > /dev/null & 102 ${SSH} -F $OBJ/ssh_config -S $CTL -Oforward -L$OBJ/unix-2.fwd:$OBJ/unix-1.fwd otherhost >>$TEST_SSH… 103 ${SSH} -F $OBJ/ssh_config -S $CTL -Oforward -R$OBJ/unix-3.fwd:$OBJ/unix-2.fwd otherhost >>$TEST_SSH… 105 $NC -U $OBJ/unix-3.fwd < /dev/null > ${COPY} 108 rm -f ${COPY} $OBJ/unix-[123].fwd
|
H A D | cfgmatchlisten.sh | 9 fwd="-R $fwdport:127.0.0.1:$PORT" 17 ${SSH} -vvv $fwd "$@" somehost true >>$TEST_REGRESS_LOGFILE 2>&1 22 ${SSH} -vvv $fwd "$@" somehost \ 149 fwd="-R ${fwdspec2}:127.0.0.1:$PORT"
|
H A D | cfgmatch.sh | 8 fwd="-L $fwdport:127.0.0.1:$PORT" 16 ${SSH} -q $fwd "$@" somehost \
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | zzz_fw_ports_fwget.sh | 91 fwd=${l%%[[:space:]]*} 95 eval fwd_${hwr}=${fwd} 109 eval fwd=\${fwd_${hwrx}} 112 if test ! -d ${LFWDIR}/${fwd}; then 117 flav=$(echo "${fwd}" | awk -v drv=${DRIVER} '{ 144 lx=$(cd ${LFWDIR} && find ${fwd} -type f \! -name "*sdio*" -a \! -name "*.txt" -print) 164 lx=$(cd ${LFWDIR} && find ${fwd} -type f \! -name "*sdio*" -a -name "*.txt" -print)
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | zzz_fw_ports_fwget.sh | 98 fwd=${l%%[[:space:]]*} 102 eval fwd_${hwr}=${fwd} 116 eval fwd=\${fwd_${hwrx}} 119 if test ! -d ${LFWDIR}/${fwd}; then 124 flav=$(echo "${fwd}" | awk -v drv=${DRIVER} '{ 151 lx=$(cd ${LFWDIR} && find ${fwd} -type f \! -name "*sdio*" -a \! -name "*.txt" -print) 171 lx=$(cd ${LFWDIR} && find ${fwd} -type f \! -name "*sdio*" -a -name "*.txt" -print)
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | zzz_fw_ports_fwget.sh | 75 while read did fwd; do 91 if test ! -d ${LFWDIR}/${fwd}; then 93 printf "Firmware dir %s (for %s) does not exist; skipping\n" ${fwd} ${did} >&2 97 flav=$(echo "${fwd}" | awk -v drv=${DRIVER} '{ 124 lx=$(cd ${LFWDIR} && find ${fwd} -type f \! -name "*sdio*" -a \! -name "*.txt" -print) 143 lx=$(cd ${LFWDIR} && find ${fwd} -type f \! -name "*sdio*" -a -name "*.txt" -print)
|
/freebsd/contrib/tcsh/ |
H A D | tw.init.c | 316 size_t fwd, i; in tw_cmd_sort() local 323 for (i = 0, fwd = 0; i + 1 < tw_cmd.nlist; i++) { in tw_cmd_sort() 325 fwd++; /* increase the forward ref. count */ in tw_cmd_sort() 326 else if (fwd) in tw_cmd_sort() 327 tw_cmd.list[i - fwd] = tw_cmd.list[i]; in tw_cmd_sort() 330 if (fwd) in tw_cmd_sort() 331 tw_cmd.list[i - fwd] = tw_cmd.list[i]; in tw_cmd_sort() 332 tw_cmd.nlist -= fwd; in tw_cmd_sort()
|
/freebsd/usr.bin/ul/ |
H A D | ul.c | 83 static void fwd(void); 232 fwd(); in filter() 428 fwd(void) in fwd() function 443 fwd(); in reverse()
|
/freebsd/contrib/unbound/daemon/ |
H A D | remote.c | 2256 struct iter_forwards* fwd = worker->env.fwds; in do_forward() local 2259 if(!fwd) { in do_forward() 2264 (void)print_root_fwds(ssl, fwd, root); in do_forward() 2272 forwards_delete_zone(fwd, LDNS_RR_CLASS_IN, root, nolock); in do_forward() 2277 if(!forwards_add_zone(fwd, LDNS_RR_CLASS_IN, dp, nolock)) { in do_forward() 2335 struct iter_forwards* fwd = worker->env.fwds; in do_forward_add() local 2345 lock_rw_wrlock(&fwd->lock); in do_forward_add() 2349 lock_rw_unlock(&fwd->lock); in do_forward_add() 2356 if(!forwards_add_zone(fwd, LDNS_RR_CLASS_IN, dp, nolock)) { in do_forward_add() 2357 lock_rw_unlock(&fwd->lock); in do_forward_add() [all …]
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | dwarf.c | 917 tdesc_t *fwd = arg1, *sou = arg2; in die_fwd_map() local 919 debug(3, "tdp %u: mapped forward %s to sou %u\n", fwd->t_id, in die_fwd_map() 920 tdesc_name(fwd), sou->t_id); in die_fwd_map() 921 fwd->t_tdesc = sou; in die_fwd_map() 1678 die_fwd_resolve(tdesc_t *fwd, tdesc_t **fwdp, void *private __unused) in die_fwd_resolve() argument 1680 if (fwd->t_flags & TDESC_F_RESOLVED) in die_fwd_resolve() 1683 if (fwd->t_tdesc != NULL) { in die_fwd_resolve() 1684 debug(3, "tdp %u: unforwarded %s\n", fwd->t_id, in die_fwd_resolve() 1685 tdesc_name(fwd)); in die_fwd_resolve() 1686 *fwdp = fwd->t_tdesc; in die_fwd_resolve() [all …]
|
/freebsd/tests/sys/netpfil/ipfw/ |
H A D | Makefile | 5 ATF_TESTS_SH+= fwd \
|
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
H A D | brcm,bcm7120-l2-intc.txt | 71 - brcm,int-fwd-mask: if present, a bit mask to configure the interrupts which 87 brcm,int-fwd-mask = <0x7>;
|
/freebsd/tools/regression/ipfw/fwd/ |
H A D | vimage-fwd.sh | 133 jexec ${mjid} /sbin/ipfw add 100 fwd ${_fip}${_fport} ${_p} from ${_sip} to ${_dip} 176 jexec ${mjid} /sbin/ipfw add 100 fwd ${_fip} ${_p} from ${_sip} to ${_dip}
|