Home | History | Annotate | Download | only in compat

Lines Matching refs:dst

81 	char     dst[40];
99 static int create_connection(char *dst, bdaddr_t *bdaddr, int mrouter);
110 if (create_connection(cache.dst, &cache.bdaddr, type) < 0) {
219 static int create_connection(char *dst, bdaddr_t *bdaddr, int mrouter)
229 syslog(LOG_INFO, "Searching for %s on %s", mrouter ? "SP" : "LAP", dst);
236 syslog(LOG_INFO, "Connecting to %s channel %d", dst, ch);
277 dst, strerror(errno), errno);
285 strcpy(cache.dst, dst);
318 r = create_connection(cache.dst, &cache.bdaddr, 0);
338 char dst[40];
339 ba2str(&ii[i].bdaddr, dst);
341 r = create_connection(dst, &ii[i].bdaddr, 0);
358 static void do_kill(char *dst)
360 if (dst) {
362 str2ba(dst, &ba);
437 char *dst = NULL, *src = NULL;
456 dst = strdup(optarg);
461 dst = NULL;
469 dst = strdup(optarg);
475 dst = NULL;
542 dst = strdup(optarg);
572 free(dst);
580 free(dst);
584 do_kill(dst);
585 free(dst);
590 free(dst);
620 free(dst);
625 if (dst) {
626 strncpy(cache.dst, dst, sizeof(cache.dst) - 1);
627 str2ba(dst, &cache.bdaddr);
643 free(dst);