Lines Matching refs:ra
78 struct sockaddr_rfcomm ra; in main() local
244 aaddrlen = sizeof(ra); in main()
245 s = accept(acceptsock, (struct sockaddr *)&ra, in main()
250 memcmp(&addr, &ra.rfcomm_bdaddr, sizeof(addr))) { in main()
272 memset(&ra, 0, sizeof(ra)); in main()
273 ra.rfcomm_len = sizeof(ra); in main()
274 ra.rfcomm_family = AF_BLUETOOTH; in main()
276 if (bind(s, (struct sockaddr *) &ra, sizeof(ra)) < 0) in main()
279 memcpy(&ra.rfcomm_bdaddr, &addr, sizeof(ra.rfcomm_bdaddr)); in main()
280 ra.rfcomm_channel = channel; in main()
282 if (connect(s, (struct sockaddr *) &ra, sizeof(ra)) < 0) in main()