Searched refs:server (Results 1 - 25 of 341) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ncpfs/
H A Dncplib_kernel.c16 static inline void assert_server_locked(struct ncp_server *server) argument
18 if (server->lock == 0) {
19 DPRINTK("ncpfs: server not locked!\n");
23 static void ncp_add_byte(struct ncp_server *server, __u8 x) argument
25 assert_server_locked(server);
26 *(__u8 *) (&(server->packet[server->current_size])) = x;
27 server->current_size += 1;
31 static void ncp_add_word(struct ncp_server *server, __u16 x) argument
33 assert_server_locked(server);
39 ncp_add_dword(struct ncp_server *server, __u32 x) argument
47 ncp_add_mem(struct ncp_server *server, const void *source, int size) argument
55 ncp_add_pstring(struct ncp_server *server, const char *s) argument
68 ncp_init_request(struct ncp_server *server) argument
76 ncp_init_request_s(struct ncp_server *server, int subfunction) argument
87 ncp_reply_data(struct ncp_server *server, int offset) argument
93 ncp_reply_byte(struct ncp_server *server, int offset) argument
99 ncp_reply_word(struct ncp_server *server, int offset) argument
105 ncp_reply_dword(struct ncp_server *server, int offset) argument
111 ncp_negotiate_buffersize(struct ncp_server *server, int size, int *target) argument
134 ncp_negotiate_size_and_options(struct ncp_server *server, int size, int options, int *ret_size, int *ret_options) argument
163 ncp_get_volume_info_with_number(struct ncp_server *server, int n, struct ncp_volume_info *target) argument
199 ncp_close_file(struct ncp_server *server, const char *file_id) argument
232 ncp_add_handle_path(struct ncp_server *server, __u8 vol_num, __u32 dir_base, int have_dir_base, const char *path) argument
269 ncp_obtain_info(struct ncp_server *server, struct inode *dir, char *path, struct nw_info_struct *target) argument
299 ncp_obtain_DOS_dir_base(struct ncp_server *server, __u8 volnum, __u32 dirent, char *path, __u32 *DOS_dir_base) argument
324 ncp_get_known_namespace(struct ncp_server *server, __u8 volume) argument
372 ncp_ObtainSpecificDirBase(struct ncp_server *server, __u8 nsSrc, __u8 nsDst, __u8 vol_num, __u32 dir_base, char *path, __u32 *dirEntNum, __u32 *DosDirNum) argument
402 ncp_mount_subdir(struct ncp_server *server, struct nw_info_struct *i, __u8 volNumber, __u8 srcNS, __u32 dirEntNum) argument
426 ncp_lookup_volume(struct ncp_server *server, char *volname, struct nw_info_struct *target) argument
470 ncp_modify_file_or_subdir_dos_info_path(struct ncp_server *server, struct inode *dir, const char *path, __u32 info_mask, const struct nw_modify_dos_info *info) argument
495 ncp_modify_file_or_subdir_dos_info(struct ncp_server *server, struct inode *dir, __u32 info_mask, const struct nw_modify_dos_info *info) argument
505 ncp_DeleteNSEntry(struct ncp_server *server, __u8 have_dir_base, __u8 volnum, __u32 dirent, char* name, __u8 ns, int attr) argument
524 ncp_del_file_or_subdir2(struct ncp_server *server, struct dentry *dentry) argument
543 ncp_del_file_or_subdir(struct ncp_server *server, struct inode *dir, char *name) argument
573 ncp_open_create_file_or_subdir(struct ncp_server *server, struct inode *dir, char *name, int open_create_mode, __u32 create_attributes, int desired_acc_rights, struct ncp_entry_info *target) argument
623 ncp_initialize_search(struct ncp_server *server, struct inode *dir, struct nw_search_sequence *target) argument
647 ncp_search_for_file_or_subdir(struct ncp_server *server, struct nw_search_sequence *seq, struct nw_info_struct *target) argument
682 ncp_RenameNSEntry(struct ncp_server *server, struct inode *old_dir, char *old_name, int old_type, struct inode *new_dir, char *new_name) argument
721 ncp_ren_or_mov_file_or_subdir(struct ncp_server *server, struct inode *old_dir, char *old_name, struct inode *new_dir, char *new_name) argument
748 ncp_read_kernel(struct ncp_server *server, const char *file_id, __u32 offset, __u16 to_read, char *target, int *bytes_read) argument
784 ncp_read_bounce(struct ncp_server *server, const char *file_id, __u32 offset, __u16 to_read, char *target, int *bytes_read, void* bounce, __u32 bufsize) argument
817 ncp_write_kernel(struct ncp_server *server, const char *file_id, __u32 offset, __u16 to_write, const char *source, int *bytes_written) argument
838 ncp_LogPhysicalRecord(struct ncp_server *server, const char *file_id, __u8 locktype, __u32 offset, __u32 length, __u16 timeout) argument
860 ncp_ClearPhysicalRecord(struct ncp_server *server, const char *file_id, __u32 offset, __u32 length) argument
903 ncp__io2vol(struct ncp_server *server, unsigned char *vname, unsigned int *vlen, const unsigned char *iname, unsigned int ilen, int cc) argument
979 ncp__vol2io(struct ncp_server *server, unsigned char *iname, unsigned int *ilen, const unsigned char *vname, unsigned int vlen, int cc) argument
[all...]
H A Dncpsign_kernel.h13 void sign_packet(struct ncp_server *server, int *size);
H A Dinode.c77 struct ncp_server *server = NCP_SERVER(inode); local
84 inode->i_mode = server->m.dir_mode;
87 inode->i_mode = server->m.file_mode;
90 if ((server->m.flags & (NCP_MOUNT_EXTRAS|NCP_MOUNT_SYMLINKS)) && (nwi->attributes & aSHARED)) {
93 if (server->m.flags & NCP_MOUNT_SYMLINKS) {
102 if (server->m.flags & NCP_MOUNT_EXTRAS)
106 if (server->m.flags & NCP_MOUNT_EXTRAS)
138 struct ncp_server *server = NCP_SERVER(inode); local
141 inode->i_mode = server->m.dir_mode;
146 inode->i_mode = server
260 struct ncp_server *server; local
497 struct ncp_server *server = NCP_SBP(sb); local
551 struct ncp_server *server; local
[all...]
H A Dioctl.c35 struct ncp_server *server = NCP_SERVER(inode); local
44 && (current->uid != server->m.mounted_uid)) {
63 ncp_lock_server(server);
66 server->has_subfunction = 0;
67 server->current_size = request.size;
68 memcpy(server->packet, bouncebuffer, request.size);
70 result = ncp_request2(server, request.function,
75 result = server->reply_size;
76 ncp_unlock_server(server);
89 if (!(server
[all...]
H A Dsock.c82 static int do_ncp_rpc_call(struct ncp_server *server, int size, argument
88 char *start = server->packet;
99 *((struct ncp_request_header *) (server->packet));
103 file = server->ncp_filp;
106 init_timeout = server->m.time_out;
108 retrans = server->m.retry_count;
115 htonl(server->m.serv_addr.sipx_network),
116 server->m.serv_addr.sipx_node[0],
117 server->m.serv_addr.sipx_node[1],
118 server
263 do_tcp_rcv(struct ncp_server *server, void *buffer, size_t len) argument
333 do_ncp_tcp_rpc_call(struct ncp_server *server, int size, struct ncp_reply_header* reply_buf, int max_reply_size) argument
426 ncp_do_request(struct ncp_server *server, int size, void* reply, int max_reply_size) argument
503 ncp_request2(struct ncp_server *server, int function, void* rpl, int size) argument
547 ncp_connect(struct ncp_server *server) argument
572 ncp_disconnect(struct ncp_server *server) argument
589 ncp_lock_server(struct ncp_server *server) argument
597 ncp_unlock_server(struct ncp_server *server) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/examples/printing/
H A Dsmbprint.sysv10 # server and service.
13 # (the example here is /opt/samba), modify the server and service variables
32 # Set these to the server and service you wish to print to
40 server=admin
50 ) | /opt/samba/smbclient "\\\\$server\\$service" $password -N > /dev/null
/asus-wl-520gu-7.0.1.45/src/router/udhcpd/
H A Dclientpacket.h6 int send_selecting(unsigned long xid, unsigned long server, unsigned long requested);
7 int send_renew(unsigned long xid, unsigned long server, unsigned long ciaddr);
8 int send_renew(unsigned long xid, unsigned long server, unsigned long ciaddr);
9 int send_release(unsigned long server, unsigned long ciaddr);
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/Mandrake/
H A Dsmbprint5 # server and service.
14 # Set these to the server and service you wish to print to
20 # so that the server, service, and password can be read from
35 # server=PC_SERVER
40 # server=PAULS_PC
61 # server
69 echo "server $server, service $service" >> $logfile
77 ) | /usr/bin/smbclient "//$server/$service" $password -U $server
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/RedHat/
H A Dsmbprint5 # server and service.
14 # Set these to the server and service you wish to print to
20 # so that the server, service, and password can be read from
35 # server=PC_SERVER
40 # server=PAULS_PC
61 # server
69 echo "server $server, service $service" >> $logfile
77 ) | /usr/bin/smbclient "\\\\$server\\$service" $password -U $server
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/SGI/
H A Dsmbprint9 # program to print the file to the specified smb-based server and service.
11 # To add this to your lp system, modify the server and service variables
38 # Set these to the server and service you wish to print to
42 server=admin
52 ) | /usr/samba/bin/smbclient "//$server/$service" $password -N > /dev/null
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/nfs/
H A Dflushd.c40 static int nfs_reqlist_init(struct nfs_server *server) argument
51 if (!(task = rpc_new_task(server->client, NULL, RPC_TASK_ASYNC)))
54 cache = server->rw_requests;
60 task->tk_calldata = server;
67 cache->auth = server->client->cl_auth;
81 void nfs_reqlist_exit(struct nfs_server *server) argument
86 cache = server->rw_requests;
102 int nfs_reqlist_alloc(struct nfs_server *server) argument
105 if (server->rw_requests)
115 server
120 nfs_reqlist_free(struct nfs_server *server) argument
132 struct nfs_server *server; local
174 struct nfs_server *server; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/smbfs/
H A Dproc.c52 smb_proc_setattr_core(struct smb_sb_info *server, struct dentry *dentry,
55 smb_proc_do_getattr(struct smb_sb_info *server, struct dentry *dir,
175 int smb_setcodepage(struct smb_sb_info *server, struct smb_nls_codepage *cp) argument
179 smb_lock_server(server);
185 n = setcodepage(&server->local_nls, cp->local_name);
188 n = setcodepage(&server->remote_nls, cp->remote_name);
190 setcodepage(&server->local_nls, NULL);
193 if (server->local_nls != NULL && server->remote_nls != NULL)
194 server
227 smb_build_path(struct smb_sb_info *server, char * buf, int maxlen, struct dentry * entry, struct qstr * name) argument
294 smb_encode_path(struct smb_sb_info *server, char *buf, int maxlen, struct dentry *dir, struct qstr *name) argument
308 smb_simple_encode_path(struct smb_sb_info *server, char **p, struct dentry * entry, struct qstr * name) argument
335 utc2local(struct smb_sb_info *server, time_t time) argument
341 local2utc(struct smb_sb_info *server, time_t time) argument
349 date_dos2unix(struct smb_sb_info *server, __u16 date, __u16 time) argument
369 date_unix2dos(struct smb_sb_info *server, int unix_date, __u16 *date, __u16 *time) argument
488 smb_get_xmitsize(struct smb_sb_info *server, int overhead) argument
497 smb_get_rsize(struct smb_sb_info *server) argument
512 smb_get_wsize(struct smb_sb_info *server) argument
527 smb_errno(struct smb_sb_info *server) argument
658 smb_retry(struct smb_sb_info *server) argument
769 smb_newconn(struct smb_sb_info *server, struct smb_conn_opt *opt) argument
853 smb_wakeup(struct smb_sb_info *server) argument
863 smb_setup_header(struct smb_sb_info * server, __u8 command, __u16 wct, __u16 bcc) argument
903 smb_setup_bcc(struct smb_sb_info *server, __u8 * p) argument
918 smb_proc_seek(struct smb_sb_info *server, __u16 fileid, __u16 mode, off_t offset) argument
943 smb_proc_open(struct smb_sb_info *server, struct dentry *dentry, int wish) argument
1012 struct smb_sb_info *server = server_from_inode(inode); local
1047 smb_proc_close(struct smb_sb_info *server, __u16 fileid, __u32 mtime) argument
1056 smb_proc_close_inode(struct smb_sb_info *server, struct inode * ino) argument
1107 struct smb_sb_info *server = server_from_inode(ino); local
1122 struct smb_sb_info *server = server_from_dentry(dentry); local
1137 struct smb_sb_info *server = server_from_inode(inode); local
1186 struct smb_sb_info *server = server_from_inode(inode); local
1217 struct smb_sb_info *server = server_from_dentry(dentry); local
1249 struct smb_sb_info *server = server_from_dentry(old_dentry); local
1283 struct smb_sb_info *server = server_from_dentry(dentry); local
1327 smb_set_rw(struct dentry *dentry,struct smb_sb_info *server) argument
1349 struct smb_sb_info *server = server_from_dentry(dentry); local
1401 smb_proc_flush(struct smb_sb_info *server, __u16 fileid) argument
1409 smb_proc_trunc(struct smb_sb_info *server, __u16 fid, __u32 length) argument
1445 smb_init_dirent(struct smb_sb_info *server, struct smb_fattr *fattr) argument
1456 smb_finish_dirent(struct smb_sb_info *server, struct smb_fattr *fattr) argument
1476 smb_init_root_dirent(struct smb_sb_info *server, struct smb_fattr *fattr) argument
1495 smb_decode_short_dirent(struct smb_sb_info *server, char *p, struct qstr *qname, struct smb_fattr *fattr) argument
1548 struct smb_sb_info *server = server_from_dentry(dir); local
1683 smb_decode_long_dirent(struct smb_sb_info *server, char *p, int level, struct qstr *qname, struct smb_fattr *fattr) argument
1785 struct smb_sb_info *server = server_from_dentry(dir); local
2004 struct smb_sb_info *server = server_from_dentry(filp->f_dentry); local
2020 smb_proc_getattr_ff(struct smb_sb_info *server, struct dentry *dentry, struct smb_fattr *fattr) argument
2102 smb_proc_getattr_core(struct smb_sb_info *server, struct dentry *dir, struct smb_fattr *fattr) argument
2143 smb_proc_getattr_trans2(struct smb_sb_info *server, struct dentry *dir, struct smb_fattr *attr) argument
2223 smb_proc_do_getattr(struct smb_sb_info *server, struct dentry *dir, struct smb_fattr *fattr) argument
2267 struct smb_sb_info *server = server_from_dentry(dir); local
2290 smb_proc_setattr_core(struct smb_sb_info *server, struct dentry *dentry, __u16 attr) argument
2335 struct smb_sb_info *server = server_from_dentry(dir); local
2351 smb_proc_setattr_ext(struct smb_sb_info *server, struct inode *inode, struct smb_fattr *fattr) argument
2393 smb_proc_setattr_trans2(struct smb_sb_info *server, struct dentry *dir, struct smb_fattr *fattr) argument
2464 struct smb_sb_info *server = server_from_dentry(dentry); local
2508 struct smb_sb_info *server = &(sb->u.smbfs_sb); local
[all...]
H A Dproto.h6 extern int smb_setcodepage(struct smb_sb_info *server, struct smb_nls_codepage *cp);
8 extern int smb_get_rsize(struct smb_sb_info *server);
9 extern int smb_get_wsize(struct smb_sb_info *server);
10 extern int smb_errno(struct smb_sb_info *server);
11 extern int smb_newconn(struct smb_sb_info *server, struct smb_conn_opt *opt);
12 extern int smb_wakeup(struct smb_sb_info *server);
13 extern __u8 *smb_setup_header(struct smb_sb_info *server, __u8 command, __u16 wct, __u16 bcc);
24 extern int smb_proc_flush(struct smb_sb_info *server, __u16 fileid);
25 extern int smb_proc_trunc(struct smb_sb_info *server, __u16 fid, __u32 length);
26 extern void smb_init_root_dirent(struct smb_sb_info *server, struc
[all...]
H A Dioctl.c28 struct smb_sb_info *server = server_from_inode(inode); local
34 result = put_user(NEW_TO_OLD_UID(server->mnt->mounted_uid),
38 result = put_user(server->mnt->mounted_uid, (uid_t *) arg);
44 result = smb_wakeup(server);
50 result = smb_newconn(server, &opt);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dncp_fs_sb.h32 u8 completion; /* Status message from server */
88 #define NCP_CLR_FLAG(server, flag) ((server)->flags &= ~(flag))
89 #define NCP_SET_FLAG(server, flag) ((server)->flags |= (flag))
90 #define NCP_IS_FLAG(server, flag) ((server)->flags & (flag))
92 static inline int ncp_conn_valid(struct ncp_server *server) argument
94 return ((server->conn_status & 0x11) == 0);
97 static inline void ncp_invalidate_conn(struct ncp_server *server) argument
[all...]
H A Dsmb_fs_sb.h20 #define SB_of(server) ((struct super_block *) ((char *)(server) - \
63 smb_lock_server(struct smb_sb_info *server) argument
65 down(&(server->sem));
69 smb_unlock_server(struct smb_sb_info *server) argument
71 up(&(server->sem));
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dncp_fs_sb.h32 u8 completion; /* Status message from server */
88 #define NCP_CLR_FLAG(server, flag) ((server)->flags &= ~(flag))
89 #define NCP_SET_FLAG(server, flag) ((server)->flags |= (flag))
90 #define NCP_IS_FLAG(server, flag) ((server)->flags & (flag))
92 static inline int ncp_conn_valid(struct ncp_server *server) argument
94 return ((server->conn_status & 0x11) == 0);
97 static inline void ncp_invalidate_conn(struct ncp_server *server) argument
[all...]
H A Dsmb_fs_sb.h20 #define SB_of(server) ((struct super_block *) ((char *)(server) - \
63 smb_lock_server(struct smb_sb_info *server) argument
65 down(&(server->sem));
69 smb_unlock_server(struct smb_sb_info *server) argument
71 up(&(server->sem));
/asus-wl-520gu-7.0.1.45/src/router/samba/testsuite/lib/
H A Denv-single.exp5 # $TEST_SERVER The SMB server to contact for the test
9 # These are stored in the Tcl variables $server, $share and $user
18 catch {set server "$env(TEST_SERVER)"} tmp
36 verbose "Single machine is //$server/$share -U $user"
/asus-wl-520gu-7.0.1.45/src/router/samba/source/torture/
H A Dlocktest.c138 return a connection to a server
145 fstring server; local
150 fstrcpy(server,share+2);
151 share = strchr_m(server,'\\');
156 server_n = server;
163 make_nmb_name(&called , server, 0x20);
247 int server, conn, f; local
249 for (server=0;server<NSERVERS;server
280 int server; local
358 int server, conn, f; local
376 int server, conn, f; local
570 int seed, server; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/libsmb/
H A Dconncache.c33 /* cache entry contains either a server name **or** and IP address as
34 the key. This means that a server could have two entries (one for each key) */
50 NTSTATUS check_negative_conn_cache( const char *domain, const char *server )
57 if ( !domain || !server )
62 if ( !(strequal(domain, fcc->domain_name) && strequal(server, fcc->controller)) )
72 domain, server ));
83 domain, server ));
98 void add_failed_connection_entry(const char *domain, const char *server, NTSTATUS result) argument
108 if ( strequal(fcc->domain_name, domain) && strequal(fcc->controller, server) )
111 domain, server ));
[all...]
H A Dlibsmb_cache.c3 SMB client library implementation (server cache)
41 SMBCSRV *server; member in struct:smbc_server_cache
49 * Add a new connection to the server cache.
53 const char * server, const char * share,
60 DEBUG(3, ("Not enough space for server cache allocation\n"));
66 srvcache->server = new;
68 srvcache->server_name = strdup(server);
107 * Search the server cache for a server
111 static SMBCSRV * smbc_get_cached_server(SMBCCTX * context, const char * server, argument
52 smbc_add_cached_server(SMBCCTX * context, SMBCSRV * new, const char * server, const char * share, const char * workgroup, const char * username) argument
134 smbc_remove_cached_server(SMBCCTX * context, SMBCSRV * server) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/stf/
H A Dstf.py13 # Format is a list of server:domain\username%password separated
22 raise "badly formed server list entry '%s'" % entry
24 server = m.group(1)
31 server_list.append({"platform": osver.os_version(server),
32 "hostname": server,
40 """Iterate through all sources of server info and append them all
54 """Return configuration information for a server. The platform
60 for server in server_list:
62 p = server["platform"]
65 return server
[all...]
/asus-wl-520gu-7.0.1.45/src/router/LPRng/UTILS/
H A Dncpprint5 # server and queue.
22 # server=PC_SERVER
28 # server=NWSERVER
37 # ncp_options= server=NWSERVER printer=P_QUEUE1 authfile=authfile
67 #echo $server $password $translate $x_command > /tmp/ncpprint.log
69 /usr/bin/nprint -S $server -q $printer $usercmd -N - 2>/dev/null
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/
H A Drpc_shutdown.h36 uint16 server; member in struct:q_shutodwn_init_info
57 uint16 server; member in struct:q_shutdown_abort_info

Completed in 106 milliseconds

1234567891011>>