Home | History | Annotate | Download | only in compat

Lines Matching refs:dst

76 	char     dst[40];
90 static void do_kill(char *dst);
102 char dst[20];
126 static void run_script(char *script, char *dev, char *dst, int sk, int nsk)
153 argv[2] = dst;
202 down_cmd->dev, down_cmd->dst,
308 strncpy(down_cmd.dst, str, strlen(str) + 1);
333 static int create_connection(char *dst, bdaddr_t *bdaddr)
341 syslog(LOG_INFO, "Connecting to %s", dst);
375 run_script(devupcmd, netdev, dst, sk, -1);
380 strncpy(down_cmd.dst, dst, strlen(dst) + 1);
386 syslog(LOG_INFO, "Disconnecting from %s.", dst);
387 do_kill(dst);
394 dst, strerror(errno), errno);
403 strcpy(cache.dst, dst);
432 r = create_connection(cache.dst, &cache.bdaddr);
453 char dst[40];
454 ba2str(&ii[i].bdaddr, dst);
458 bnep_svc2str(service), dst);
464 r = create_connection(dst, &ii[i].bdaddr);
481 static void do_kill(char *dst)
483 if (dst) {
484 bdaddr_t *ba = strtoba(dst);
631 char *dst = NULL, *src = NULL;
649 dst = strdup(optarg);
661 dst = strdup(optarg);
752 free(dst);
760 free(dst);
764 do_kill(dst);
765 free(dst);
770 free(dst);
801 free(dst);
807 free(dst);
811 if (dst) {
815 strncpy(cache.dst, dst, sizeof(cache.dst) - 1);
816 str2ba(dst, &cache.bdaddr);
818 free(dst);