/freebsd-current/lib/libypclnt/ |
H A D | ypclnt_passwd.c | 67 struct netconfig *nc = NULL; local 85 while ((nc = getnetconfig(localhandle)) != NULL) { 86 if (nc->nc_protofmly != NULL && 87 strcmp(nc->nc_protofmly, NC_LOOPBACK) == 0) 90 if (nc == NULL) { 97 MASTER_YPPASSWDVERS, nc)) == NULL) { 141 struct netconfig *nc = NULL; local 168 while ((nc = getnetconfig(localhandle)) != NULL) { 169 if (nc->nc_protofmly != NULL && 170 strcmp(nc [all...] |
/freebsd-current/tests/sys/netpfil/pf/ |
H A D | nat.sh | 64 atf_check -s exit:0 -o match:foo* echo "foo" | nc -N 198.51.100.2 7 65 atf_check -s exit:0 -o match:foo* echo "foo" | nc -N 198.51.100.2 7 68 echo "foo" | nc -N 198.51.100.2 7 &
|
H A D | tcp.sh | 79 echo "bar" | jexec srv nc -l 1234 & 83 echo "foo" | jexec cl nc -p 4321 192.0.2.1 1234 &
|
H A D | synproxy.sh | 68 reply=$(echo ping | nc -N 198.51.100.2 7) 109 reply=$(echo ping | nc -N -w 5 192.0.2.1 7) 149 reply=$(echo ping | nc -N -w 5 2001:db8:42::2 7)
|
H A D | map_e.sh | 74 echo "foo ${i}" | timeout 2 nc -N 198.51.100.2 7 76 atf_fail "nc failed (${i})"
|
H A D | syncookie.sh | 68 reply=$(echo foo | nc -N -w 5 192.0.2.1 7) 117 reply=$(echo foo | nc -N -w 5 2001:db8::1 7) 175 reply=$(echo foo | nc -N -w 5 198.51.100.2 7) 226 reply=$(echo foo | nc -N -w 5 2001:db8:1::2 7) 458 reply=$(echo foo | nc -p 1234 -N -w 5 192.0.2.1 7) 471 reply=$(echo bar | jexec singsing nc -p 1234 -N -w 5 192.0.2.1 7)
|
/freebsd-current/tests/sys/netpfil/common/ |
H A D | rdr.sh | 60 echo "foo" | jexec alcatraz nc -N -l 4321 & 63 result=$(nc -N -w 3 198.51.100.2 1234) 114 echo "foo" | jexec first nc -N -l 4321 & 118 result=$(jexec second nc -N -w 3 192.0.2.3 1234)
|
H A D | dummynet.sh | 285 reply=$(echo "foo" | nc -N 192.0.2.2 7) 309 reply=$(echo "foo" | nc -w 5 -N 192.0.2.2 7) 325 result=$(dd if=/dev/zero bs=1024 count=2000 | timeout 3 nc -w 5 -N 192.0.2.2 7 | wc -c) 353 result=$(dd if=/dev/zero bs=1024 count=2000 | timeout 3 nc -w 5 -N 192.0.2.2 7 | wc -c) 394 reply=$(echo "foo" | nc -N 2001:db8:42::2 7) 418 reply=$(echo "foo" | nc -w 5 -N 2001:db8:42::2 7) 434 result=$(dd if=/dev/zero bs=1024 count=1000 | timeout 3 nc -w 5 -N 2001:db8:42::2 7 | wc -c) 459 result=$(dd if=/dev/zero bs=1024 count=1000 | timeout 3 nc -w 5 -N 2001:db8:42::2 7 | wc -c)
|
/freebsd-current/contrib/mandoc/ |
H A D | man_validate.c | 315 struct roff_node *nc; local 318 nc = n->child; 327 if (nc != NULL && nc->type == ROFFT_TEXT && 328 strcmp(nc->string, tag) == 0) 336 if (nc != NULL) 343 if (nc->tok == MAN_PP && nc->body->child != NULL) { 344 while (nc->body->last != NULL) { 346 roff_node_relink(man, nc [all...] |
/freebsd-current/tests/sys/net/ |
H A D | if_tun_test.sh | 27 atf_set descr "Test if_tun using nc" 45 jexec duke nc -u -l --tun /dev/${tun_duke} 10.0.0.1 2600 & 46 jexec bass nc -u --tun /dev/${tun_bass} 10.0.0.1 2600 &
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/ |
H A D | tst.ipv4localtcp.ksh | 62 nc -z $local $tcpport >/dev/null || break 73 # nc will exit when the connection is closed. 74 nc -l $local $tcpport &
|
H A D | tst.localtcpstate.ksh | 66 nc -z $local $tcpport >/dev/null || break 77 # nc will exit when the connection is closed. 78 nc -l $local $tcpport &
|
/freebsd-current/tests/sys/netpfil/ipfw/ |
H A D | fwd.sh | 58 reply=$(nc -nN 192.0.2.3 80 < /dev/null)
|
/freebsd-current/crypto/openssl/crypto/x509/ |
H A D | v3_ncons.c | 33 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc); 250 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc) 264 sk_GENERAL_SUBTREE_num(nc->permittedSubtrees), 265 sk_GENERAL_SUBTREE_num(nc->excludedSubtrees)) 274 r = nc_match(&gntmp, nc); 294 r = nc_match(&gntmp, nc); 304 r = nc_match(gen, nc); 409 int NAME_CONSTRAINTS_check_CN(X509 *x, NAME_CONSTRAINTS *nc) 443 r = nc_match(&gntmp, nc); 472 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc) [all...] |
/freebsd-current/usr.sbin/services_mkdb/ |
H A D | services_mkdb.c | 433 size_t nc, i, pos; local 437 nc = strlcpy(buf + pos, sl->sl_str[i], len); 438 if (nc >= len) 440 pos += nc; 441 len -= nc; 442 nc = strlcpy(buf + pos, " ", len); 443 if (nc >= len) 445 pos += nc; 446 len -= nc;
|
/freebsd-current/usr.bin/tip/libacu/ |
H A D | courier.c | 192 int nc, nl, n; local 201 nc = 0; nl = sizeof(dialer_buf)-1; 204 for (nc = 0, nl = sizeof(dialer_buf)-1 ; nl > 0 ; nc++, nl--) { 246 dialer_buf[nc] = c;
|
H A D | t3000.c | 207 int nc, nl, n; local 216 nc = 0; nl = sizeof(dialer_buf)-1; 219 for (nc = 0, nl = sizeof(dialer_buf)-1 ; nl > 0 ; nc++, nl--) { 261 dialer_buf[nc] = c;
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | extattr3.sh | 51 timeout 2s nc -lU $mntpoint/socket
|
/freebsd-current/tools/bsdbox/ |
H A D | Makefile.base | 9 CRUNCH_PROGS_usr.bin+= true false hexdump tail nc w head uname tset
|
/freebsd-current/sys/dev/ntb/ |
H A D | ntb_transport.c | 345 struct ntb_transport_child *nc; local 461 nc = malloc(sizeof(*nc), M_DEVBUF, M_WAITOK | M_ZERO); 462 nc->consumer = i; 463 nc->qpoff = qpu; 464 nc->qpcnt = qp; 465 nc->dev = device_add_child(dev, name, -1); 466 if (nc->dev == NULL) { 470 device_set_ivars(nc->dev, nc); 528 struct ntb_transport_child *nc; local 560 struct ntb_transport_child *nc = device_get_ivars(child); local 579 struct ntb_transport_child *nc = device_get_ivars(child); local 588 struct ntb_transport_child *nc = device_get_ivars(dev); local 703 struct ntb_transport_child *nc = device_get_ivars(dev); local [all...] |
/freebsd-current/usr.bin/diff/ |
H A D | diffreg.c | 908 int i, j, m, i0, i1, j0, j1, nc; local 919 nc = fetch(ixold, i0, i0, f1, '\0', 1, flags); 920 print_space(nc, hw - nc + lpad + 1 + rpad, flags); 1056 int i, nc; local 1170 nc = ixold[a > b ? b : a - 1] - curpos; 1171 for (i = 0; i < nc; i++) 1200 nc = fetch(ixold, a, b, f1, '\0', 1, *pflags); 1201 print_space(nc, hw - nc 1247 int i, j, c, lastc, col, nc, newcol; local 1447 size_t nc; local 1718 print_space(int nc, int n, int flags) argument [all...] |
/freebsd-current/tests/sys/netinet/ |
H A D | lpm.sh | 89 atf_check -o match:"${valid_message}" jexec ${jname}a ping -f -nc${count} 198.51.100.0 98 atf_check -o match:"${valid_message}" jexec ${jname}a ping -f -nc${count} 198.51.100.2 148 atf_check -o match:"${valid_message}" jexec ${jname}a ping -f -nc${count} 198.51.100.0 157 atf_check -o match:"${valid_message}" jexec ${jname}a ping -f -nc${count} 198.51.100.1
|
/freebsd-current/tests/sys/netinet6/ |
H A D | lpm6.sh | 102 atf_check -o match:"${valid_message}" jexec ${jname}a ping -6 -f -nc${count} ${net_dst}:2:0 111 atf_check -o match:"${valid_message}" jexec ${jname}a ping -6 -f -nc${count} ${net_dst}:2:1 165 atf_check -o match:"${valid_message}" jexec ${jname}a ping -6 -f -nc${count} ${net_dst}:2:0 174 atf_check -o match:"${valid_message}" jexec ${jname}a ping -6 -f -nc${count} ${net_dst}:2:2
|
/freebsd-current/sys/dev/nvmf/controller/ |
H A D | ctl_frontend_nvmf.c | 208 nvmft_dispatch_command(struct nvmft_qpair *qp, struct nvmf_capsule *nc, argument 212 const struct nvme_command *cmd = nvmf_capsule_sqe(nc); 218 nvmft_send_generic_error(qp, nc, 220 nvmf_free_capsule(nc); 231 NVMFT_NC(io) = nc; 303 struct nvmf_capsule *nc) 325 error = nvmf_receive_controller_data(nc, ctnio->kern_rel_offset, &mem, 435 struct nvmf_capsule *nc) 444 status = nvmf_send_controller_data(nc, ctnio->kern_rel_offset, m, 449 nvmft_command_completed(qp, nc); 302 nvmft_datamove_out(struct ctl_nvmeio *ctnio, struct nvmft_qpair *qp, struct nvmf_capsule *nc) argument 434 nvmft_datamove_in(struct ctl_nvmeio *ctnio, struct nvmft_qpair *qp, struct nvmf_capsule *nc) argument 464 struct nvmf_capsule *nc; local 499 struct nvmf_capsule *nc; local [all...] |
/freebsd-current/lib/libnvmf/ |
H A D | nvmf_host.c | 198 nvmf_host_transmit_command(struct nvmf_capsule *nc) argument 200 struct nvmf_qpair *qp = nc->nc_qpair; 209 nc->nc_sqe.cid = htole16(qp->nq_cid); 216 error = nvmf_transmit_capsule(nc); 228 struct nvmf_capsule *nc; local 235 error = nvmf_receive_capsule(qp, &nc); 240 if (nc->nc_sqhd_valid) 241 qp->nq_sqhd = le16toh(nc->nc_cqe.sqhd); 250 *ncp = nc; 257 struct nvmf_capsule *nc; local [all...] |