!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/include/asm-ia64/sn/   drwxr-xr-x
Free 318.32 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     nic.h (3.18 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* $Id$
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 1992 - 1997, 2000 Silicon Graphics, Inc.
 * Copyright (C) 2000 by Colin Ngam
 */
#ifndef _ASM_SN_NIC_H
#define _ASM_SN_NIC_H

#include <asm/types.h>

#define MCR_DATA(x)            ((int) ((x) & 1))
#define MCR_DONE(x)            ((x) & 2)
#define MCR_PACK(pulse, sample)        ((pulse) << 10 | (sample) << 2)

typedef __psunsigned_t    nic_data_t;

typedef int        
nic_access_f(nic_data_t data,
         int pulse, int sample, int delay);

typedef nic_access_f   *nic_access_t;

typedef struct nic_vmce_s      *nic_vmce_t;
typedef void            nic_vmc_func(devfs_handle_t v);

/*
 * PRIVATE data for Dallas NIC
 */

typedef struct nic_state_t {
    nic_access_t    access;
    nic_data_t        data;
    int            last_disc;
    int            done;
    int            bit_index;
    int            disc_marker;
    uchar_t        bits[64];
} nic_state_t;

/*
 * Public interface for Dallas NIC
 *
 *
 *   Access Routine
 *
 *   nic_setup requires an access routine that pulses the NIC line for a
 *   specified duration, samples the NIC line after a specified duration,
 *   then delays for a third specified duration (for precharge).
 *
 *   This general scheme allows us to access NICs through any medium
 *   (e.g. hub regs, bridge regs, vector writes, system ctlr commands).
 *
 *   The access routine should return the sample value 0 or 1, or if an
 *   error occurs, return a negative error code.  Negative error codes from
 *   the access routine will abort the NIC operation and be propagated
 *   through out of the top-level NIC call.
 */

#define NIC_OK            0
#define NIC_DONE        1
#define NIC_FAIL        2
#define NIC_BAD_CRC        3
#define NIC_NOT_PRESENT        4
#define NIC_REDIR_LOOP        5
#define NIC_PARAM        6
#define NIC_NOMEM        7

uint64_t nic_get_phase_bits(void);

extern int nic_setup(nic_state_t *ns,
             nic_access_t access,
             nic_data_t data);

extern int nic_next(nic_state_t *ns,
            char *serial,
            char *family,
            char *crc);

extern int nic_read_one_page(nic_state_t *ns,
                 char *family,
                 char *serial,
                 char *crc,
                 int start,
                 uchar_t *redirect,
                 uchar_t *byte);

extern int nic_read_mfg(nic_state_t *ns,
            char *family,
            char *serial,
            char *crc,
            uchar_t *pageA,
            uchar_t *pageB);

extern int nic_info_get(nic_access_t access,
            nic_data_t data,
            char *info);

extern int nic_item_info_get(char *buf, char *item, char **item_info);

nic_access_f    nic_access_mcr32;

extern char *nic_vertex_info_get(devfs_handle_t v);

extern char *nic_vertex_info_set(nic_access_t access,
                 nic_data_t data, 
                 devfs_handle_t v);

extern int nic_vertex_info_match(devfs_handle_t vertex,
                 char *name);

extern char *nic_bridge_vertex_info(devfs_handle_t vertex,
                    nic_data_t    data);
extern char *nic_hq4_vertex_info(devfs_handle_t vertex,
                 nic_data_t data);
extern char *nic_ioc3_vertex_info(devfs_handle_t vertex,
                    nic_data_t    data,
                    int32_t *gpcr_s);

extern char *nic_hub_vertex_info(devfs_handle_t vertex);

extern nic_vmce_t    nic_vmc_add(char *, nic_vmc_func *);
extern void        nic_vmc_del(nic_vmce_t);

#endif /* _ASM_SN_NIC_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0042 ]--