H A D | ncplib_kernel.c | 23 static void ncp_add_byte(struct ncp_server *server, __u8 x) ncp_add_byte() function 81 ncp_add_byte(server, len); ncp_add_pstring() 99 ncp_add_byte(server, subfunction); ncp_init_request_s() 185 ncp_add_byte(server, options); ncp_negotiate_size_and_options() 210 ncp_add_byte(server, n); ncp_get_volume_info_with_number() 244 ncp_add_byte(server, n); ncp_get_directory_info() 278 ncp_add_byte(server, 0); ncp_close_file() 310 ncp_add_byte(server, vol_num); ncp_add_handle_path() 313 ncp_add_byte(server, 1); /* dir_base */ ncp_add_handle_path() 315 ncp_add_byte(server, 0xff); /* no handle */ ncp_add_handle_path() 318 ncp_add_byte(server, 1); /* 1 component */ ncp_add_handle_path() 321 ncp_add_byte(server, 0); ncp_add_handle_path() 330 ncp_add_byte(server, 12); /* subfunction */ ncp_dirhandle_alloc() 331 ncp_add_byte(server, NW_NS_DOS); ncp_dirhandle_alloc() 332 ncp_add_byte(server, 0); ncp_dirhandle_alloc() 346 ncp_add_byte(server, dirhandle); ncp_dirhandle_free() 385 ncp_add_byte(server, 19); /* subfunction */ ncp_obtain_nfs_info() 386 ncp_add_byte(server, server->name_space[volnum]); ncp_obtain_nfs_info() 387 ncp_add_byte(server, NW_NS_NFS); ncp_obtain_nfs_info() 388 ncp_add_byte(server, 0); ncp_obtain_nfs_info() 389 ncp_add_byte(server, volnum); ncp_obtain_nfs_info() 431 ncp_add_byte(server, 6); /* subfunction */ ncp_obtain_info() 432 ncp_add_byte(server, server->name_space[volnum]); ncp_obtain_info() 433 ncp_add_byte(server, server->name_space[volnum]); /* N.B. twice ?? */ ncp_obtain_info() 461 ncp_add_byte(server, 6); /* subfunction */ ncp_obtain_DOS_dir_base() 462 ncp_add_byte(server, ns); ncp_obtain_DOS_dir_base() 463 ncp_add_byte(server, ns); ncp_obtain_DOS_dir_base() 486 ncp_add_byte(server, 24); /* Subfunction: Get Name Spaces Loaded */ ncp_get_known_namespace() 488 ncp_add_byte(server, volume); ncp_get_known_namespace() 550 ncp_add_byte(server, 6); /* subfunction */ ncp_ObtainSpecificDirBase() 551 ncp_add_byte(server, nsSrc); ncp_ObtainSpecificDirBase() 552 ncp_add_byte(server, nsDst); ncp_ObtainSpecificDirBase() 600 ncp_add_byte(server, 22); /* Subfunction: Generate dir handle */ ncp_get_volume_root() 601 ncp_add_byte(server, 0); /* DOS namespace */ ncp_get_volume_root() 602 ncp_add_byte(server, 0); /* reserved */ ncp_get_volume_root() 603 ncp_add_byte(server, 0); /* reserved */ ncp_get_volume_root() 604 ncp_add_byte(server, 0); /* reserved */ ncp_get_volume_root() 606 ncp_add_byte(server, 0); /* faked volume number */ ncp_get_volume_root() 608 ncp_add_byte(server, 0xff); /* Don't have a dir_base */ ncp_get_volume_root() 609 ncp_add_byte(server, 1); /* 1 path component */ ncp_get_volume_root() 656 ncp_add_byte(server, 7); /* subfunction */ ncp_modify_file_or_subdir_dos_info_path() 657 ncp_add_byte(server, server->name_space[volnum]); ncp_modify_file_or_subdir_dos_info_path() 658 ncp_add_byte(server, 0); /* reserved */ ncp_modify_file_or_subdir_dos_info_path() 688 ncp_add_byte(server, 25); /* subfunction */ ncp_modify_nfs_info() 689 ncp_add_byte(server, server->name_space[volnum]); ncp_modify_nfs_info() 690 ncp_add_byte(server, NW_NS_NFS); ncp_modify_nfs_info() 691 ncp_add_byte(server, volnum); ncp_modify_nfs_info() 715 ncp_add_byte(server, 8); /* subfunction */ ncp_DeleteNSEntry() 716 ncp_add_byte(server, ns); ncp_DeleteNSEntry() 717 ncp_add_byte(server, 0); /* reserved */ ncp_DeleteNSEntry() 795 ncp_add_byte(server, 1); /* subfunction */ ncp_open_create_file_or_subdir() 796 ncp_add_byte(server, server->name_space[volnum]); ncp_open_create_file_or_subdir() 797 ncp_add_byte(server, open_create_mode); ncp_open_create_file_or_subdir() 837 ncp_add_byte(server, 2); /* subfunction */ ncp_initialize_search() 838 ncp_add_byte(server, server->name_space[volnum]); ncp_initialize_search() 839 ncp_add_byte(server, 0); /* reserved */ ncp_initialize_search() 864 ncp_add_byte(server, 20); ncp_search_for_fileset() 865 ncp_add_byte(server, server->name_space[seq->volNumber]); ncp_search_for_fileset() 866 ncp_add_byte(server, 0); /* datastream */ ncp_search_for_fileset() 873 ncp_add_byte(server, 0); /* 0 byte pattern */ ncp_search_for_fileset() 877 ncp_add_byte(server, 2); /* 2 byte pattern */ ncp_search_for_fileset() 878 ncp_add_byte(server, 0xff); /* following is a wildcard */ ncp_search_for_fileset() 879 ncp_add_byte(server, '*'); ncp_search_for_fileset() 912 ncp_add_byte(server, 4); /* subfunction */ ncp_RenameNSEntry() 913 ncp_add_byte(server, server->name_space[NCP_FINFO(old_dir)->volNumber]); ncp_RenameNSEntry() 914 ncp_add_byte(server, 1); /* rename flag */ ncp_RenameNSEntry() 918 ncp_add_byte(server, NCP_FINFO(old_dir)->volNumber); ncp_RenameNSEntry() 920 ncp_add_byte(server, 1); ncp_RenameNSEntry() 921 ncp_add_byte(server, 1); /* 1 source component */ ncp_RenameNSEntry() 924 ncp_add_byte(server, NCP_FINFO(new_dir)->volNumber); ncp_RenameNSEntry() 926 ncp_add_byte(server, 1); ncp_RenameNSEntry() 927 ncp_add_byte(server, 1); /* 1 destination component */ ncp_RenameNSEntry() 974 ncp_add_byte(server, 0); ncp_read_kernel() 1010 ncp_add_byte(server, 0); ncp_read_bounce() 1043 ncp_add_byte(server, 0); ncp_write_kernel() 1063 ncp_add_byte(server, locktype); ncp_LogPhysicalRecord() 1085 ncp_add_byte(server, 0); /* who knows... lanalyzer says that */ ncp_ClearPhysicalRecord()
|