Home
last modified time | relevance | path

Searched refs:remote (Results 1 – 25 of 124) sorted by relevance

12345

/dragonfly/sbin/hammer2/
HDcmd_remote.c41 hammer2_ioc_remote_t remote; in cmd_remote_connect() local
47 bzero(&remote, sizeof(remote)); in cmd_remote_connect()
48 remote.copyid = -1; in cmd_remote_connect()
49 remote.fd = -1; in cmd_remote_connect()
50 if (strlen(url) >= sizeof(remote.copy1.path)) { in cmd_remote_connect()
55 snprintf((char*)remote.copy1.path, sizeof(remote.copy1.path), "%s", in cmd_remote_connect()
57 if (ioctl(fd, HAMMER2IOC_REMOTE_ADD, &remote) < 0) { in cmd_remote_connect()
68 hammer2_ioc_remote_t remote; in cmd_remote_disconnect() local
74 bzero(&remote, sizeof(remote)); in cmd_remote_disconnect()
75 remote.copyid = -1; in cmd_remote_disconnect()
[all …]
/dragonfly/test/udp/sendsrcaddr/
HDudp_sendsrcaddr.c15 test_sendsrcaddr(int s, const struct sockaddr_in *remote, in test_sendsrcaddr() argument
31 if (remote != NULL) { in test_sendsrcaddr()
32 msg.msg_name = __DECONST(void *, remote); in test_sendsrcaddr()
33 msg.msg_namelen = sizeof(*remote); in test_sendsrcaddr()
60 struct sockaddr_in remote, local; in main() local
66 memset(&remote, 0, sizeof(remote)); in main()
67 remote.sin_family = AF_INET; in main()
74 if (inet_pton(AF_INET, optarg, &remote.sin_addr) <= 0) in main()
79 remote.sin_port = strtol(optarg, NULL, 10); in main()
80 remote.sin_port = htons(remote.sin_port); in main()
[all …]
/dragonfly/usr.bin/talk/
HDget_iface.c48 struct sockaddr_in remote; in get_iface() local
51 memcpy(&remote.sin_addr, dst, sizeof remote.sin_addr); in get_iface()
52 remote.sin_port = htons(60000); in get_iface()
53 remote.sin_family = AF_INET; in get_iface()
54 remote.sin_len = sizeof remote; in get_iface()
76 rv = connect(s, (struct sockaddr *)&remote, sizeof remote); in get_iface()
77 remote.sin_port = htons(ntohs(remote.sin_port) + 1); in get_iface()
/dragonfly/share/examples/find_interface/
HDfind_interface.c60 struct sockaddr_in local, remote; in main() local
75 memcpy(&remote.sin_addr, hp->h_addr_list[0], sizeof remote.sin_addr); in main()
76 remote.sin_port = htons(60000); in main()
77 remote.sin_family = AF_INET; in main()
78 remote.sin_len = sizeof remote; in main()
98 rv = connect(s, (struct sockaddr *)&remote, sizeof remote); in main()
99 remote.sin_port = htons(ntohs(remote.sin_port) + 1); in main()
/dragonfly/gnu/usr.bin/gdb/kgdb/
HDkgdb.c77 static char *remote; variable
170 if (remote != NULL) in kgdb_new_objfile()
171 asprintf(&buf, "target remote %s", remote); in kgdb_new_objfile()
311 if (stat(remote, &st) != 0) { in verify_remote()
312 snprintf(path, sizeof(path), "/dev/%s", remote); in verify_remote()
315 free(remote); in verify_remote()
316 remote = strdup(path); in verify_remote()
319 errx(1, "%s: not a special file, FIFO or socket", remote); in verify_remote()
408 if (remote != NULL) { in main()
414 remote = strdup(optarg); in main()
[all …]
/dragonfly/contrib/file/magic/Magdir/
HDccf4 # file(1) magic(5) data for Phillips remote controls
6 # Exchange format for Philips Pronto universal infrared remote controls
7 # A CCF file describes a learned/customized remote control,
14 >32 string CCF\x00 Philips Pronto IR remote control CCF
/dragonfly/usr.bin/rusers/
HDrusers.c93 char date[32], idle_time[64], remote[64]; in rusers_reply() local
146 strncpy(remote, up->utmpidlearr_val[x].ui_utmp.ut_host, in rusers_reply()
147 sizeof(remote) - 1); in rusers_reply()
148 if (strlen(remote) != 0) in rusers_reply()
149 sprintf(remote, "(%.16s)", in rusers_reply()
157 idle_time, remote ); in rusers_reply()
/dragonfly/sys/net/wg/
HDif_wg.c697 wg_peer_set_sockaddr(struct wg_peer *peer, const struct sockaddr *remote) in wg_peer_set_sockaddr() argument
703 memcpy(&peer->p_endpoint.e_remote, remote, in wg_peer_set_sockaddr()
705 if (remote->sa_family == AF_INET) in wg_peer_set_sockaddr()
706 memcpy(&peer->p_endpoint.e_remote.r_sin, remote, in wg_peer_set_sockaddr()
709 else if (remote->sa_family == AF_INET6) in wg_peer_set_sockaddr()
710 memcpy(&peer->p_endpoint.e_remote.r_sin6, remote, in wg_peer_set_sockaddr()
723 wg_peer_get_sockaddr(struct wg_peer *peer, struct sockaddr *remote) in wg_peer_get_sockaddr() argument
729 memcpy(remote, &peer->p_endpoint.e_remote, in wg_peer_get_sockaddr()
1597 struct noise_remote *remote = NULL; in wg_handshake() local
1640 remote = noise_consume_initiation(sc->sc_local, init->s_idx, in wg_handshake()
[all …]
/dragonfly/lib/libpam/modules/pam_group/
HDpam_group.c60 int local, remote; in pam_group() local
76 remote = openpam_get_option(pamh, "ruser") ? 1 : 0; in pam_group()
77 if (local && remote) { in pam_group()
84 if (!remote) in pam_group()
/dragonfly/sys/dev/drm/include/drm/
HDdrm_of.h86 struct device_node *remote; in drm_of_panel_bridge_remove() local
88 remote = of_graph_get_remote_node(np, port, endpoint); in drm_of_panel_bridge_remove()
89 if (!remote) in drm_of_panel_bridge_remove()
92 bridge = of_drm_find_bridge(remote); in drm_of_panel_bridge_remove()
/dragonfly/usr.sbin/ppp/
HDfilter.c562 struct ncpaddr *remote, struct in_addr *dns) in filter_AdjustAddr() argument
581 if (remote) { in filter_AdjustAddr()
582 if (fp->f_srctype == T_HISADDR && ncpaddr_family(remote) == AF_INET) in filter_AdjustAddr()
583 ncprange_sethost(&fp->f_src, remote); in filter_AdjustAddr()
584 if (fp->f_dsttype == T_HISADDR && ncpaddr_family(remote) == AF_INET) in filter_AdjustAddr()
585 ncprange_sethost(&fp->f_dst, remote); in filter_AdjustAddr()
587 if (fp->f_srctype == T_HISADDR6 && ncpaddr_family(remote) == AF_INET6) in filter_AdjustAddr()
588 ncprange_sethost(&fp->f_src, remote); in filter_AdjustAddr()
589 if (fp->f_dsttype == T_HISADDR6 && ncpaddr_family(remote) == AF_INET6) in filter_AdjustAddr()
590 ncprange_sethost(&fp->f_dst, remote); in filter_AdjustAddr()
/dragonfly/etc/
HDremote1 # $FreeBSD: head/etc/remote 184352 2008-10-27 17:19:14Z thompsa $
3 # @(#)remote 5.2 (Berkeley) 6/30/90
5 # remote -- remote host description file
6 # see tip(1), remote(5)
HDprintcap35 # Sample remote printer. The physical printer is on machine "lphost".
41 #remote|sample remote printer:\
/dragonfly/usr.sbin/makefs/hammer2/
HDhammer2_ioctl.c240 hammer2_ioc_remote_t *remote = data;
241 int copyid = remote->copyid;
251 remote->copy1 = hmp->voldata.copyinfo[copyid];
262 remote->nextid = -1;
264 remote->nextid = copyid;
275 hammer2_ioc_remote_t *remote = data;
278 int copyid = remote->copyid;
299 remote->copy1.copyid = copyid;
300 hmp->voldata.copyinfo[copyid] = remote->copy1;
313 hammer2_ioc_remote_t *remote = data;
[all …]
/dragonfly/sys/vfs/hammer2/
HDhammer2_ioctl.c233 hammer2_ioc_remote_t *remote = data; in hammer2_ioctl_remote_scan() local
234 int copyid = remote->copyid; in hammer2_ioctl_remote_scan()
244 remote->copy1 = hmp->voldata.copyinfo[copyid]; in hammer2_ioctl_remote_scan()
255 remote->nextid = -1; in hammer2_ioctl_remote_scan()
257 remote->nextid = copyid; in hammer2_ioctl_remote_scan()
268 hammer2_ioc_remote_t *remote = data; in hammer2_ioctl_remote_add() local
271 int copyid = remote->copyid; in hammer2_ioctl_remote_add()
292 remote->copy1.copyid = copyid; in hammer2_ioctl_remote_add()
293 hmp->voldata.copyinfo[copyid] = remote->copy1; in hammer2_ioctl_remote_add()
306 hammer2_ioc_remote_t *remote = data; in hammer2_ioctl_remote_del() local
[all …]
/dragonfly/usr.sbin/lpr/common_source/
HDdisplayq.c121 if (pp->remote) in displayq()
135 if (pp->remote) in displayq()
179 if (pp->remote) in displayq()
207 if (!pp->remote) { in displayq()
259 if (pp->remote) in warn()
295 if (pp->remote || garbage || strcmp(cf, current)) in inform()
HDnet.c187 pp->remote = 1; in checkremote()
191 pp->remote = 0; /* assume printer is local */ in checkremote()
246 pp->remote = 1; in checkremote()
/dragonfly/bin/cpdup/
HDBACKUPS17 remote host feature to access your client boxes but that requires root
22 foreach remote client, and subdirectories for each partition on each
153 cpdup's remote host capability to generate the backup. To avoid
155 your LAN backup box and copy that to the remote box.
157 The remote backup box does not use NFS, so setup is trivial. Just
159 Your LAN backup box will need root access via ssh to your remote backup
165 name on the remote box, so:
169 cpdup -i0 -s0 /backup/mirrors/$latest remote.box:/backup/mirrors/$latest
175 ssh remote.box -n \
180 but adding the -H option to the latest backup on the remote box. Note
[all …]
/dragonfly/bin/cpdup/scripts/
HDdo_remote16 ./do_remote_host $host $argv >& $backup_path/mirrors/remote.${host}.log &
25 tail -1 $backup_path/mirrors/remote.${host}.log
/dragonfly/lib/libtelnet/
HDmisc.c57 auth_encrypt_init(char *local, char *remote, const char *name undef1, int server undef1) in auth_encrypt_init() argument
59 RemoteHostName = remote; in auth_encrypt_init()
/dragonfly/usr.bin/rfcomm_sppd/
HDrfcomm_sdp.c95 rfcomm_channel_lookup(bdaddr_t const *local, bdaddr_t const *remote, in rfcomm_channel_lookup() argument
109 if (remote == NULL || channel == NULL) in rfcomm_channel_lookup()
112 if ((ss = sdp_open(local, remote)) == NULL) in rfcomm_channel_lookup()
/dragonfly/contrib/tnftp/src/
HDftp.c702 sendrequest(const char *cmd, const char *local, const char *remote, in sendrequest() argument
728 if (remote) in sendrequest()
729 fprintf(ttyout, "remote: %s\n", remote); in sendrequest()
732 proxtrans(cmd, local, remote); in sendrequest()
806 if (remote) { in sendrequest()
807 if (command("%s %s", cmd, remote) != PRELIM) in sendrequest()
935 recvrequest(const char *cmd, const char *volatile local, const char *remote, in recvrequest() argument
970 if (remote) in recvrequest()
971 fprintf(ttyout, "remote: %s\n", remote); in recvrequest()
974 proxtrans(cmd, local, remote); in recvrequest()
[all …]
/dragonfly/share/examples/sliplogin/
HDslip.hosts6 # autocomp - compress headers if remote end allows it
9 #login local-address remote-address netmask option(s)
/dragonfly/sys/netgraph7/bluetooth/l2cap/
HDng_l2cap_main.c587 bcopy(&con->remote, &e2->remote, in ng_l2cap_default_rcvmsg()
588 sizeof(e2->remote)); in ng_l2cap_default_rcvmsg()
633 bcopy(&ch->con->remote, &e2->remote, in ng_l2cap_default_rcvmsg()
634 sizeof(e2->remote)); in ng_l2cap_default_rcvmsg()
/dragonfly/sys/bus/firewire/
HD00README27 /dev/fwmem0: physical memory of a remote node.
81 to the host memory. This means that you can access the remote
82 host over firewire without software support at the remote host.
83 In other words, you can investigate remote host's physical memory
103 remote gdb at 400,000,000 bps :-)

12345