Lines Matching refs:username
1329 static int netiucv_check_user(const char *buf, size_t count, char *username, in netiucv_check_user() argument
1346 username[i] = toupper(*p); in netiucv_check_user()
1357 username[i++] = ' '; in netiucv_check_user()
1358 username[8] = '\0'; in netiucv_check_user()
1382 char username[9]; in user_write() local
1388 rc = netiucv_check_user(buf, count, username, userdata); in user_write()
1392 if (memcmp(username, priv->conn->userid, 9) && in user_write()
1400 if (!strncmp(username, cp->userid, 9) && in user_write()
1409 memcpy(priv->conn->userid, username, 9); in user_write()
1746 char *username, in netiucv_new_connection() argument
1778 if (username) { in netiucv_new_connection()
1779 memcpy(conn->userid, username, 9); in netiucv_new_connection()
1872 static struct net_device *netiucv_init_netdevice(char *username, char *userdata) in netiucv_init_netdevice() argument
1892 privptr->conn = netiucv_new_connection(dev, username, userdata); in netiucv_init_netdevice()
1911 char username[9]; in connection_store() local
1919 rc = netiucv_check_user(buf, count, username, userdata); in connection_store()
1925 if (!strncmp(username, cp->userid, 9) && in connection_store()
1935 dev = netiucv_init_netdevice(username, userdata); in connection_store()