Lines Matching refs:uaddr
100 static int ieee802154_sock_bind(struct socket *sock, struct sockaddr *uaddr, in ieee802154_sock_bind() argument
106 return sk->sk_prot->bind(sk, uaddr, addr_len); in ieee802154_sock_bind()
108 return sock_no_bind(sock, uaddr, addr_len); in ieee802154_sock_bind()
111 static int ieee802154_sock_connect(struct socket *sock, struct sockaddr *uaddr, in ieee802154_sock_connect() argument
116 if (addr_len < sizeof(uaddr->sa_family)) in ieee802154_sock_connect()
119 if (uaddr->sa_family == AF_UNSPEC) in ieee802154_sock_connect()
122 return sk->sk_prot->connect(sk, uaddr, addr_len); in ieee802154_sock_connect()
200 struct sockaddr_ieee802154 *uaddr = (struct sockaddr_ieee802154 *)_uaddr; in raw_bind() local
204 if (len < sizeof(*uaddr)) in raw_bind()
207 uaddr = (struct sockaddr_ieee802154 *)_uaddr; in raw_bind()
208 if (uaddr->family != AF_IEEE802154) in raw_bind()
213 ieee802154_addr_from_sa(&addr, &uaddr->addr); in raw_bind()
230 static int raw_connect(struct sock *sk, struct sockaddr *uaddr, in raw_connect() argument
489 static int dgram_bind(struct sock *sk, struct sockaddr *uaddr, int len) in dgram_bind() argument
491 struct sockaddr_ieee802154 *addr = (struct sockaddr_ieee802154 *)uaddr; in dgram_bind()
565 static int dgram_connect(struct sock *sk, struct sockaddr *uaddr, in dgram_connect() argument
568 struct sockaddr_ieee802154 *addr = (struct sockaddr_ieee802154 *)uaddr; in dgram_connect()