Searched refs:l2addr (Results 1 – 1 of 1) sorted by relevance
64 struct sockaddr_l2 l2addr; in init_server() local81 memset(&l2addr, 0, sizeof(l2addr)); in init_server()82 l2addr.l2_family = AF_BLUETOOTH; in init_server()83 bacpy(&l2addr.l2_bdaddr, BDADDR_ANY); in init_server()84 l2addr.l2_psm = htobs(SDP_PSM); in init_server()86 if (bind(l2cap_sock, (struct sockaddr *) &l2addr, sizeof(l2addr)) < 0) { in init_server()