/freebsd-current/usr.sbin/ppp/ |
H A D | physical.c | 79 #include "link.h" 164 p->link.type = PHYSICAL_LINK; 165 p->link.name = dl->name; 166 p->link.len = sizeof *p; 169 throughput_init(&p->link.stats.total, SAMPLE_PERIOD); 170 p->link.stats.parent = dl->bundle->ncp.mp.active ? 171 &dl->bundle->ncp.mp.link.stats.total : NULL; 172 p->link.stats.gather = 1; 174 memset(p->link.Queue, '\0', sizeof p->link [all...] |
H A D | ipv6cp.h | 63 struct link; 67 extern void ipv6cp_Init(struct ipv6cp *, struct bundle *, struct link *, 71 extern void ipv6cp_SetLink(struct ipv6cp *, struct link *); 74 extern struct mbuf *ipv6cp_Input(struct bundle *, struct link *, struct mbuf *); 82 extern int ipv6cp_PushPacket(struct ipv6cp *, struct link *);
|
H A D | ipcp.h | 107 struct link; 111 extern void ipcp_Init(struct ipcp *, struct bundle *, struct link *, 115 extern void ipcp_SetLink(struct ipcp *, struct link *); 118 extern struct mbuf *ipcp_Input(struct bundle *, struct link *, struct mbuf *); 132 extern int ipcp_PushPacket(struct ipcp *, struct link *);
|
/freebsd-current/contrib/pjdfstest/tests/link/ |
H A D | 12.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/link/12.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="link returns EPERM if the source file has its immutable or append-only flag set" 29 expect 0 link ${n0} ${n1} 35 expect EPERM link ${n0} ${n1} 38 expect 0 link ${n0} ${n1} 44 expect 0 link ${n0} ${n1} 51 expect EPERM link ${n0} ${n1} 53 expect 0 link ${n0} ${n1} 61 expect EPERM link ${n0} ${n1} 63 expect 0 link [all...] |
H A D | 11.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/link/11.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="link returns EPERM if the source file is a directory" 19 expect 0 link ${n0} ${n1} 27 expect EPERM link ${n0} ${n1} 38 expect EPERM -u 65534 -g 65534 link ${n1} ${n2}
|
H A D | 06.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/link/06.t 211352 2010-08-15 21:24:17Z pjd $ 5 desc="link returns EACCES when a component of either path prefix denies search permission" 28 expect 0 -u 65534 -g 65534 link ${n1}/${n3} ${n2}/${n4} 32 expect EACCES -u 65534 -g 65534 link ${n1}/${n3} ${n1}/${n4} 33 expect EACCES -u 65534 -g 65534 link ${n1}/${n3} ${n2}/${n4} 37 expect EACCES -u 65534 -g 65534 link ${n1}/${n3} ${n2}/${n4}
|
H A D | 01.t | 3 # $FreeBSD: head/tools/regression/pjdfstest/tests/link/01.t 211474 2010-08-18 22:06:43Z pjd $ 5 desc="link returns ENOTDIR if a component of either path prefix is not a directory" 19 expect ENOTDIR link ${n0}/${n1}/test ${n0}/${n2} 21 expect ENOTDIR link ${n0}/${n2} ${n0}/${n1}/test
|
/freebsd-current/sbin/ifconfig/ |
H A D | ifconfig_netlink.c | 125 struct snl_parsed_link link; member in struct:iface 161 if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser, &iface->link)) 163 if (iface->link.ifi_index >= ifmap->size) { 166 while (new_size <= iface->link.ifi_index + 1) 174 ifmap->ifaces[iface->link.ifi_index] = iface; 185 struct snl_parsed_link_simple link = {}; local 198 if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser_simple, &link)) 201 return (link.ifi_index); 254 if_link_t *link = &iface->link; local 342 print_ifcaps(if_ctx *ctx, if_link_t *link) argument 366 if_link_t *link = &iface->link; local [all...] |
/freebsd-current/libexec/rc/rc.d/ |
H A D | netwait | 30 local ip rc count output link wait_if got_if any_error 44 link="" 55 link=`expr "${output}" : '.*[[:blank:]]status: \(no carrier\)'` 56 if [ -z "${link}" ]; then 57 echo ', got link.' 69 elif [ -n "${link}" ]; then 70 echo ", wait failed: interface still has no link."
|
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_link.c | 46 static char path[] = "link"; 60 (void)strlcat(buf, ".link", sizeof(buf)); 68 atf_tc_set_md_var(tc, "descr", "link(2) counts are incremented?"); 86 ATF_REQUIRE(link(path, pathl) == 0); 90 atf_tc_fail("incorrect link(2) count"); 106 atf_tc_set_md_var(tc, "descr", "Test error conditions of link(2)"); 123 ATF_REQUIRE(link(path, pathl) == 0); 124 ATF_REQUIRE_ERRNO(EEXIST, link(path, pathl) == -1); 127 ATF_REQUIRE_ERRNO(ENAMETOOLONG, link(buf, "xxx") == -1); 130 ATF_REQUIRE_ERRNO(ENOENT, link(pat [all...] |
/freebsd-current/sys/fs/p9fs/ |
H A D | p9_transport.c | 49 TAILQ_INSERT_TAIL(&transports, m, link); 56 TAILQ_REMOVE(&transports, m, link); 64 TAILQ_FOREACH(m, &transports, link) {
|
/freebsd-current/contrib/bc/scripts/ |
H A D | exec-install.sh | 72 link=$(readlink "$exe") 73 "$INSTALL" -Dlm 755 "$link$exec_suffix" "$installdir/$base$exec_suffix"
|
/freebsd-current/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | util.h | 192 #define INIT_LINK(elt, link) ISC_LINK_INIT(elt, link) 196 #define PREV(elt, link) ISC_LIST_PREV(elt, link) 197 #define NEXT(elt, link) ISC_LIST_NEXT(elt, link) 198 #define APPEND(list, elt, link) ISC_LIST_APPEND(list, elt, link) 199 #define PREPEND(list, elt, link) ISC_LIST_PREPEND(list, elt, link) [all...] |
/freebsd-current/tools/test/stress2/misc/ |
H A D | link.sh | 31 # http://people.freebsd.org/~pho/stress/log/link.txt 40 sed '1,/^EOF/d' < $here/$0 > link.c 41 mycc -o link -Wall -Wextra -O2 -g link.c || exit 1 42 rm -f link.c 53 /tmp/link $mntpoint > /dev/null 2>&1 & 60 pkill -9 link 71 /tmp/link $mntpoint > /dev/null 2>&1 & 78 pkill -9 link swap 88 rm -f /tmp/link [all...] |
/freebsd-current/contrib/bsnmp/snmpd/ |
H A D | trans_lsock.h | 41 LIST_ENTRY(lsock_peer) link; member in struct:lsock_peer
|
/freebsd-current/tools/test/stress2/testcases/ |
H A D | Makefile | 7 link \
|
/freebsd-current/sys/ddb/ |
H A D | db_break.h | 53 struct db_breakpoint *link; /* link in in-use or free chain */ member in struct:db_breakpoint
|
/freebsd-current/usr.bin/cmp/ |
H A D | Makefile | 5 SRCS= cmp.c link.c misc.c regular.c special.c
|
/freebsd-current/sys/netgraph/ |
H A D | ng_bridge.c | 42 * algorithm is included which disables a link for priv->conf.loopTimeout 43 * seconds when a host is seen to have jumped from one link to 48 * tell us on which link the host may be found. A host's entry will 89 counter_u64_t recvOctets; /* total octets rec'd on link */ 90 counter_u64_t recvPackets; /* total pkts rec'd on link */ 91 counter_u64_t recvMulticasts; /* multicast pkts rec'd on link */ 92 counter_u64_t recvBroadcasts; /* broadcast pkts rec'd on link */ 96 counter_u64_t xmitOctets; /* total octets xmit'd on link */ 97 counter_u64_t xmitPackets; /* total pkts xmit'd on link */ 98 counter_u64_t xmitMulticasts; /* multicast pkts xmit'd on link */ 136 link_p link; /* link where addr can be found */ member in struct:ng_bridge_host 389 link_p link; local 498 ng_bridge_free_link(link_p link) argument 579 link_p link; local 971 link_p link = NG_HOOK_PRIVATE(hook); local 1026 ng_bridge_put(priv_p priv, const u_char *addr, link_p link) argument 1161 ng_bridge_remove_hosts(priv_p priv, link_p link) argument 1190 link_p link = NG_HOOK_PRIVATE(hook); local [all...] |
/freebsd-current/usr.sbin/ngctl/ |
H A D | dot.c | 177 hlist->link[j].ourhook, hlist->link[j].ourhook); 185 hlist->link[j].ourhook); 191 if (hlist->link[j].nodeinfo.id > nlist->nodeinfo[i].id) 195 (uintmax_t)hlist->link[j].nodeinfo.id, 197 hlist->link[j].ourhook, 198 hlist->link[j].peerhook); 202 hlist->link[j].ourhook, 203 (uintmax_t)hlist->link[j].nodeinfo.id, 204 hlist->link[ [all...] |
H A D | show.c | 120 struct linkinfo *const link = &hlist->link[k]; local 121 struct nodeinfo *const peer = &hlist->link[k].nodeinfo; 129 printf(FMT, link->ourhook, peer->name, 130 peer->type, idbuf, link->peerhook);
|
/freebsd-current/usr.sbin/etcupdate/tests/ |
H A D | always_test.sh | 99 # /first/difflinks/second: Modified link removed. Should 101 ln -s "old link" $OLD/first/difflinks/second/link 102 ln -s "test link" $TEST/first/difflinks/second/link 115 # /second/second/difflinks: Newly added link conflicts with 116 # existing link in test tree. Should generate a warning. 117 ln -s "new link" $NEW/second/second/difflinks/link 118 ln -s "test link" 311 link() function [all...] |
H A D | tests_test.sh | 111 ln -s "bar" $i/equal/equal/equal/link 120 ln -s "bar" $i/equal/first/first/link 133 # link. Nothing should happen. 135 ln -s "foo" $i/equal/difflinks/difflinks/link 137 ln -s "bar" $TEST/equal/difflinks/difflinks/link 152 ln -s "bar" $i/first/equal/second/link 165 ln -s "bar" $OLD/first/first/equal/link 181 # /first/difflinks/second: Modified link removed. Should 183 ln -s "old link" $OLD/first/difflinks/second/link 689 link() function [all...] |
/freebsd-current/contrib/ntp/include/ |
H A D | ntp_config.h | 61 any_node * link; member in struct:any_node_tag 69 attr_val * link; member in struct:attr_val_tag 87 address_node * link; member in struct:address_node_tag 96 int_node * link; member in struct:int_node_tag 104 string_node * link; member in struct:string_node_tag 112 restrict_node * link; member in struct:restrict_node_tag 127 peer_node * link; member in struct:peer_node_tag 143 unpeer_node * link; member in struct:unpeer_node_tag 165 filegen_node * link; member in struct:filegen_node_tag 174 setvar_node * link; member in struct:setvar_node_tag 184 nic_rule_node * link; member in struct:nic_rule_node_tag 194 addr_opts_node *link; member in struct:addr_opts_node_tag 203 sim_node * link; member in struct:sim_node_tag 213 config_tree * link; member in struct:config_tree_tag [all...] |
/freebsd-current/contrib/ntp/libntp/ |
H A D | recvbuff.c | 148 LINK_SLIST(free_recv_list, bufp, link); 190 UNLINK_FIFO(rbunlinked, full_recv_fifo, link); 197 UNLINK_HEAD_SLIST(rbunlinked, free_recv_list, link); 222 LINK_SLIST(free_recv_list, rb, link); 237 LINK_FIFO(full_recv_fifo, rb, link); 252 UNLINK_HEAD_SLIST(buffer, free_recv_list, link); 305 UNLINK_FIFO(rbuf, full_recv_fifo, link); 338 next = rbufp->link; 346 rbufp, link, recvbuf_t); 350 rbufp->link [all...] |