?? kernel.h
字號(hào):
/***************************************************************************
*
* Copyright (c) 1993 READY SYSTEMS CORPORATION.
*
* All rights reserved. READY SYSTEMS' source code is an unpublished
* work and the use of a copyright notice does not imply otherwise.
* This source code contains confidential, trade secret material of
* READY SYSTEMS. Any attempt or participation in deciphering, decoding,
* reverse engineering or in any way altering the source code is
* strictly prohibited, unless the prior written consent of
* READY SYSTEMS is obtained.
*
*
* Module Name: kernel.h
*
* Identification: @(#) 2.4 kernel.h
*
* Date: 9/16/94 17:53:34
*
****************************************************************************
*/
#ifndef _KERNEL_H
#define _KERNEL_H
#ifndef LLC1
#define LLC1
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*
* Configuration definitions
*/
#define HOST_NAME_LEN 15
#define ADDR_NAME_LEN 16
#define DOMAIN_NAME_LEN 33
#define MAX_TIME_SERVERS 3
#define BOOT_PATH_LEN 128
struct snx_host
{
unsigned char snx_hostname[HOST_NAME_LEN];
unsigned char snx_addrname[ADDR_NAME_LEN];
unsigned char snx_hostvalid;
};
struct snx_nameserv
{
char nm_name[HOST_NAME_LEN];
};
struct snx_gw_entry {
char *gw_type;
char *gw_dname;
char *gw_gname;
int gw_metric;
char *gw_qual;
};
struct dmod_conf {
void (*initf)();
};
struct snx_net_interface {
char *ni_name; /* name of network interface */
char *ni_devname; /* name of assoc. STREAMS device driver */
char *ni_othermod; /* supporting networking module */
char *ni_addr; /* address of interface in dot notation */
int ni_broadcast; /* does interface support broadcasts? */
int ni_arp; /* does interface support arp? */
long ni_netmask; /* network mask for interface */
#ifdef LLC1
char *ni_frametype;
#endif
};
extern struct snx_net_interface snx_interface_table[];
extern unsigned char snx_local_host[HOST_NAME_LEN];
extern struct snx_host snx_host_table[];
extern unsigned char snx_domain_name[DOMAIN_NAME_LEN];
extern struct snx_nameserv snx_nameservers[];
#ifdef __cplusplus
}
#endif
#endif /* _KERNEL_H */
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -