Lines Matching refs:sockaddr
59 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in llcp_sock_bind()
68 if (!addr || alen < offsetofend(struct sockaddr, sa_family) || in llcp_sock_bind()
144 static int llcp_raw_sock_bind(struct socket *sock, struct sockaddr *addr, in llcp_raw_sock_bind()
154 if (!addr || alen < offsetofend(struct sockaddr, sa_family) || in llcp_raw_sock_bind()
498 static int llcp_sock_getname(struct socket *sock, struct sockaddr *uaddr, in llcp_sock_getname()
653 static int llcp_sock_connect(struct socket *sock, struct sockaddr *_addr, in llcp_sock_connect()
874 DECLARE_SOCKADDR(struct sockaddr_nfc_llcp *, sockaddr, in llcp_sock_recvmsg()
881 memset(sockaddr, 0, sizeof(*sockaddr)); in llcp_sock_recvmsg()
882 sockaddr->sa_family = AF_NFC; in llcp_sock_recvmsg()
883 sockaddr->nfc_protocol = NFC_PROTO_NFC_DEP; in llcp_sock_recvmsg()
884 sockaddr->dsap = ui_cb->dsap; in llcp_sock_recvmsg()
885 sockaddr->ssap = ui_cb->ssap; in llcp_sock_recvmsg()