Home
last modified time | relevance | path

Searched refs:unaddr (Results 1 – 1 of 1) sorted by relevance

/system/core/trusty/storage/proxy/
Drpmb.c374 struct sockaddr_un unaddr; in rpmb_open() local
375 struct sockaddr *addr = (struct sockaddr *)&unaddr; in rpmb_open()
383 memset(&unaddr, 0, sizeof(unaddr)); in rpmb_open()
384 unaddr.sun_family = AF_UNIX; in rpmb_open()
386 strncpy(unaddr.sun_path, rpmb_devname, sizeof(unaddr.sun_path)-1); in rpmb_open()
387 rc = connect(rpmb_fd, addr, sizeof(unaddr)); in rpmb_open()