mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
Remove commons; inspired by netbsd.
This commit is contained in:
parent
46ff2b387c
commit
0c4981b035
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: db_command.c,v 1.29 2002/05/18 09:49:17 art Exp $ */
|
||||
/* $OpenBSD: db_command.c,v 1.30 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -66,6 +66,13 @@ label_t *db_recover;
|
||||
*/
|
||||
boolean_t db_ed_style = TRUE;
|
||||
|
||||
db_addr_t db_dot; /* current location */
|
||||
db_addr_t db_last_addr; /* last explicit address typed */
|
||||
db_addr_t db_prev; /* last address examined
|
||||
or written */
|
||||
db_addr_t db_next; /* next address to be examined
|
||||
or written */
|
||||
|
||||
/*
|
||||
* Utility routine - discard tokens through end-of-line.
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: db_command.h,v 1.15 2002/05/18 09:49:17 art Exp $ */
|
||||
/* $OpenBSD: db_command.h,v 1.16 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: db_command.h,v 1.8 1996/02/05 01:56:55 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -58,12 +58,7 @@ void db_boot_reboot_cmd(db_expr_t, int, db_expr_t, char *);
|
||||
void db_boot_poweroff_cmd(db_expr_t, int, db_expr_t, char *);
|
||||
void db_stack_trace_cmd(db_expr_t, int, db_expr_t, char *);
|
||||
|
||||
db_addr_t db_dot; /* current location */
|
||||
db_addr_t db_last_addr; /* last explicit address typed */
|
||||
db_addr_t db_prev; /* last address examined
|
||||
or written */
|
||||
db_addr_t db_next; /* next address to be examined
|
||||
or written */
|
||||
extern db_addr_t db_dot, db_last_addr, db_prev, db_next;
|
||||
|
||||
/*
|
||||
* Command table
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: db_run.c,v 1.15 2001/11/06 19:53:18 miod Exp $ */
|
||||
/* $OpenBSD: db_run.c,v 1.16 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: db_run.c,v 1.8 1996/02/05 01:57:12 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -49,6 +49,10 @@ db_breakpoint_t db_not_taken_bkpt = 0;
|
||||
db_breakpoint_t db_taken_bkpt = 0;
|
||||
#endif
|
||||
|
||||
int db_inst_count;
|
||||
int db_load_count;
|
||||
int db_store_count;
|
||||
|
||||
#ifndef KGDB
|
||||
|
||||
#include <ddb/db_lex.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: db_run.h,v 1.7 2002/03/14 01:26:51 millert Exp $ */
|
||||
/* $OpenBSD: db_run.h,v 1.8 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: db_run.h,v 1.3 1996/02/05 01:57:14 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -36,9 +36,9 @@
|
||||
/*
|
||||
* Commands to run process.
|
||||
*/
|
||||
int db_inst_count;
|
||||
int db_load_count;
|
||||
int db_store_count;
|
||||
extern int db_inst_count;
|
||||
extern int db_load_count;
|
||||
extern int db_store_count;
|
||||
|
||||
boolean_t db_stop_at_pc(db_regs_t *, boolean_t *);
|
||||
void db_restart_at_pc(db_regs_t *, boolean_t);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: spec_vnops.c,v 1.24 2002/11/08 04:34:17 art Exp $ */
|
||||
/* $OpenBSD: spec_vnops.c,v 1.25 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -56,6 +56,8 @@
|
||||
|
||||
#define v_lastr v_specinfo->si_lastr
|
||||
|
||||
struct vnode *speclisth[SPECHSZ];
|
||||
|
||||
/* symbolic sleep message strings for devices */
|
||||
char devopn[] = "devopn";
|
||||
char devio[] = "devio";
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: uipc_mbuf.c,v 1.58 2002/07/03 21:19:08 miod Exp $ */
|
||||
/* $OpenBSD: uipc_mbuf.c,v 1.59 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -92,6 +92,7 @@
|
||||
|
||||
#include <uvm/uvm_extern.h>
|
||||
|
||||
struct mbstat mbstat; /* mbuf stats */
|
||||
struct pool mbpool; /* mbuf pool */
|
||||
struct pool mclpool; /* mbuf cluster pool */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: spec_vnops.c,v 1.24 2002/11/08 04:34:17 art Exp $ */
|
||||
/* $OpenBSD: spec_vnops.c,v 1.25 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -56,6 +56,8 @@
|
||||
|
||||
#define v_lastr v_specinfo->si_lastr
|
||||
|
||||
struct vnode *speclisth[SPECHSZ];
|
||||
|
||||
/* symbolic sleep message strings for devices */
|
||||
char devopn[] = "devopn";
|
||||
char devio[] = "devio";
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: specdev.h,v 1.14 2002/11/08 04:34:17 art Exp $ */
|
||||
/* $OpenBSD: specdev.h,v 1.15 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: specdev.h,v 1.12 1996/02/13 13:13:01 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
@ -68,7 +68,7 @@ struct specinfo {
|
||||
#define SPECHASH(rdev) (((unsigned)((rdev>>5)+(rdev)))%SPECHSZ)
|
||||
#endif
|
||||
|
||||
struct vnode *speclisth[SPECHSZ];
|
||||
extern struct vnode *speclisth[SPECHSZ];
|
||||
|
||||
/*
|
||||
* Prototypes for special file operations on vnodes.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: if_ppp.c,v 1.32 2003/01/07 09:00:33 kjc Exp $ */
|
||||
/* $OpenBSD: if_ppp.c,v 1.33 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: if_ppp.c,v 1.39 1997/05/17 21:11:59 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -162,6 +162,8 @@
|
||||
#include <net/ppp-comp.h>
|
||||
#endif
|
||||
|
||||
struct ppp_softc ppp_softc[NPPP];
|
||||
|
||||
static int pppsioctl(struct ifnet *, u_long, caddr_t);
|
||||
static void ppp_requeue(struct ppp_softc *);
|
||||
static void ppp_ccp(struct ppp_softc *, struct mbuf *m, int rcvd);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: if_pppvar.h,v 1.13 2002/09/13 00:12:07 deraadt Exp $ */
|
||||
/* $OpenBSD: if_pppvar.h,v 1.14 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: if_pppvar.h,v 1.5 1997/01/03 07:23:29 mikel Exp $ */
|
||||
/*
|
||||
* if_pppvar.h - private structures and declarations for PPP.
|
||||
@ -133,7 +133,7 @@ struct ppp_softc {
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
struct ppp_softc ppp_softc[NPPP];
|
||||
extern struct ppp_softc ppp_softc[];
|
||||
|
||||
struct ppp_softc *pppalloc(pid_t pid);
|
||||
void pppdealloc(struct ppp_softc *sc);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: pf.c,v 1.319 2003/02/12 12:50:29 mcbride Exp $ */
|
||||
/* $OpenBSD: pf.c,v 1.320 2003/02/12 14:41:07 jason Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Daniel Hartmeier
|
||||
@ -142,7 +142,6 @@ int *pftm_timeouts[PFTM_MAX] = { &pftm_tcp_first_packet,
|
||||
|
||||
struct pool pf_tree_pl, pf_rule_pl, pf_addr_pl;
|
||||
struct pool pf_state_pl, pf_altq_pl, pf_pooladdr_pl;
|
||||
struct pool pfr_ktable_pl, pfr_kentry_pl;
|
||||
|
||||
void pf_addrcpy(struct pf_addr *, struct pf_addr *,
|
||||
sa_family_t);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: route.c,v 1.34 2002/09/11 05:38:47 itojun Exp $ */
|
||||
/* $OpenBSD: route.c,v 1.35 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -135,6 +135,10 @@ extern struct ifnet encif;
|
||||
|
||||
#define SA(p) ((struct sockaddr *)(p))
|
||||
|
||||
struct route_cb route_cb;
|
||||
struct rtstat rtstat;
|
||||
struct radix_node_head *rt_tables[AF_MAX+1];
|
||||
|
||||
int rttrash; /* routes not in table but not freed */
|
||||
struct sockaddr wildcard; /* zero valued cookie for wildcard searches */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: route.h,v 1.15 2003/01/17 17:48:25 camield Exp $ */
|
||||
/* $OpenBSD: route.h,v 1.16 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -284,9 +284,9 @@ struct rttimer_queue {
|
||||
#define ONNET_CLONING 1
|
||||
#define NO_CLONING 2
|
||||
|
||||
struct route_cb route_cb;
|
||||
struct rtstat rtstat;
|
||||
struct radix_node_head *rt_tables[AF_MAX+1];
|
||||
extern struct route_cb route_cb;
|
||||
extern struct rtstat rtstat;
|
||||
extern struct radix_node_head *rt_tables[];
|
||||
|
||||
struct socket;
|
||||
void route_init(void);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: icmp_var.h,v 1.9 2002/06/09 02:11:47 jsyn Exp $ */
|
||||
/* $OpenBSD: icmp_var.h,v 1.10 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: icmp_var.h,v 1.8 1995/03/26 20:32:19 jtc Exp $ */
|
||||
|
||||
/*
|
||||
@ -81,6 +81,6 @@ struct icmpstat {
|
||||
}
|
||||
|
||||
#ifdef _KERNEL
|
||||
struct icmpstat icmpstat;
|
||||
extern struct icmpstat icmpstat;
|
||||
#endif /* _KERNEL */
|
||||
#endif /* _NETINET_ICMP_VAR_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: igmp.c,v 1.16 2002/08/28 15:43:03 pefo Exp $ */
|
||||
/* $OpenBSD: igmp.c,v 1.17 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: igmp.c,v 1.15 1996/02/13 23:41:25 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -34,6 +34,7 @@
|
||||
|
||||
int igmp_timers_are_running;
|
||||
static struct router_info *rti_head;
|
||||
struct igmpstat igmpstat;
|
||||
|
||||
void igmp_sendpkt(struct in_multi *, int, in_addr_t);
|
||||
static int rti_fill(struct in_multi *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: igmp_var.h,v 1.5 2002/03/14 01:27:11 millert Exp $ */
|
||||
/* $OpenBSD: igmp_var.h,v 1.6 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: igmp_var.h,v 1.9 1996/02/13 23:41:31 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -67,7 +67,7 @@ struct igmpstat {
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
struct igmpstat igmpstat;
|
||||
extern struct igmpstat igmpstat;
|
||||
|
||||
/*
|
||||
* Macro to compute a random timer value between 1 and (IGMP_MAX_REPORTING_
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ip_ah.c,v 1.70 2002/07/05 23:20:53 angelos Exp $ */
|
||||
/* $OpenBSD: ip_ah.c,v 1.71 2003/02/12 14:41:07 jason Exp $ */
|
||||
/*
|
||||
* The authors of this code are John Ioannidis (ji@tla.org),
|
||||
* Angelos D. Keromytis (kermit@csd.uch.gr) and
|
||||
@ -73,6 +73,8 @@
|
||||
#define DPRINTF(x)
|
||||
#endif
|
||||
|
||||
struct ahstat ahstat;
|
||||
|
||||
/*
|
||||
* ah_attach() is called from the transformation initialization code.
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ip_ah.h,v 1.29 2002/06/09 16:26:10 itojun Exp $ */
|
||||
/* $OpenBSD: ip_ah.h,v 1.30 2003/02/12 14:41:07 jason Exp $ */
|
||||
/*
|
||||
* The authors of this code are John Ioannidis (ji@tla.org),
|
||||
* Angelos D. Keromytis (kermit@csd.uch.gr) and
|
||||
@ -88,6 +88,6 @@ struct ah
|
||||
|
||||
#ifdef _KERNEL
|
||||
extern int ah_enable;
|
||||
struct ahstat ahstat;
|
||||
extern struct ahstat ahstat;
|
||||
#endif /* _KERNEL */
|
||||
#endif /* _NETINET_IP_AH_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ip_esp.c,v 1.77 2003/02/01 14:11:40 dhartmei Exp $ */
|
||||
/* $OpenBSD: ip_esp.c,v 1.78 2003/02/12 14:41:07 jason Exp $ */
|
||||
/*
|
||||
* The authors of this code are John Ioannidis (ji@tla.org),
|
||||
* Angelos D. Keromytis (kermit@csd.uch.gr) and
|
||||
@ -74,6 +74,8 @@
|
||||
#define DPRINTF(x)
|
||||
#endif
|
||||
|
||||
struct espstat espstat;
|
||||
|
||||
/*
|
||||
* esp_attach() is called from the transformation initialization code.
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ip_esp.h,v 1.37 2002/06/09 16:26:10 itojun Exp $ */
|
||||
/* $OpenBSD: ip_esp.h,v 1.38 2003/02/12 14:41:07 jason Exp $ */
|
||||
/*
|
||||
* The authors of this code are John Ioannidis (ji@tla.org),
|
||||
* Angelos D. Keromytis (kermit@csd.uch.gr) and
|
||||
@ -76,6 +76,6 @@ struct espstat
|
||||
|
||||
#ifdef _KERNEL
|
||||
extern int esp_enable;
|
||||
struct espstat espstat;
|
||||
extern struct espstat espstat;
|
||||
#endif /* _KERNEL */
|
||||
#endif /* _NETINET_IP_ESP_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ip_icmp.c,v 1.56 2003/02/01 19:34:06 henning Exp $ */
|
||||
/* $OpenBSD: ip_icmp.c,v 1.57 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: ip_icmp.c,v 1.19 1996/02/13 23:42:22 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -108,6 +108,7 @@ struct timeval icmperrppslim_last;
|
||||
int icmp_rediraccept = 1;
|
||||
int icmp_redirtimeout = 10 * 60;
|
||||
static struct rttimer_queue *icmp_redirect_timeout_q = NULL;
|
||||
struct icmpstat icmpstat;
|
||||
|
||||
void icmp_mtudisc_timeout(struct rtentry *, struct rttimer *);
|
||||
int icmp_ratelimit(const struct in_addr *, const int, const int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ip_input.c,v 1.109 2003/02/11 21:08:04 cedric Exp $ */
|
||||
/* $OpenBSD: ip_input.c,v 1.110 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -86,6 +86,8 @@
|
||||
#define IPMTUDISCTIMEOUT (10 * 60) /* as per RFC 1191 */
|
||||
#endif
|
||||
|
||||
struct ipqhead ipq;
|
||||
|
||||
int encdebug = 0;
|
||||
int ipsec_keep_invalid = IPSEC_DEFAULT_EMBRYONIC_SA_TIMEOUT;
|
||||
int ipsec_require_pfs = IPSEC_DEFAULT_PFS;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ip_ipcomp.c,v 1.9 2002/09/12 10:11:39 ho Exp $ */
|
||||
/* $OpenBSD: ip_ipcomp.c,v 1.10 2003/02/12 14:41:07 jason Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org)
|
||||
@ -69,6 +69,8 @@
|
||||
#define DPRINTF(x)
|
||||
#endif
|
||||
|
||||
struct ipcompstat ipcompstat;
|
||||
|
||||
/*
|
||||
* ipcomp_attach() is called from the transformation code
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ip_ipcomp.h,v 1.3 2001/07/17 12:35:35 jjbg Exp $ */
|
||||
/* $OpenBSD: ip_ipcomp.h,v 1.4 2003/02/12 14:41:08 jason Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org)
|
||||
@ -76,6 +76,6 @@ struct ipcomp {
|
||||
|
||||
#ifdef _KERNEL
|
||||
extern int ipcomp_enable;
|
||||
struct ipcompstat ipcompstat;
|
||||
extern struct ipcompstat ipcompstat;
|
||||
#endif /* _KERNEL */
|
||||
#endif /* _NETINET_IP_IPCOMP_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ip_var.h,v 1.27 2002/12/09 00:45:37 millert Exp $ */
|
||||
/* $OpenBSD: ip_var.h,v 1.28 2003/02/12 14:41:08 jason Exp $ */
|
||||
/* $NetBSD: ip_var.h,v 1.16 1996/02/13 23:43:20 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -159,7 +159,7 @@ struct ipstat {
|
||||
#define IP_MTUDISC 0x0400 /* pmtu discovery, set DF */
|
||||
|
||||
extern struct ipstat ipstat;
|
||||
LIST_HEAD(ipqhead, ipq) ipq; /* ip reass. queue */
|
||||
extern LIST_HEAD(ipqhead, ipq) ipq; /* ip reass. queue */
|
||||
extern int ip_defttl; /* default IP ttl */
|
||||
|
||||
extern int ip_mtudisc; /* mtu discovery */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: tcp_usrreq.c,v 1.67 2002/09/11 03:15:36 itojun Exp $ */
|
||||
/* $OpenBSD: tcp_usrreq.c,v 1.68 2003/02/12 14:41:08 jason Exp $ */
|
||||
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -111,6 +111,8 @@ extern int tcp_rst_ppslim;
|
||||
/* from in_pcb.c */
|
||||
extern struct baddynamicports baddynamicports;
|
||||
|
||||
struct inpcbtable tcbtable;
|
||||
|
||||
int tcp_ident(void *, size_t *, void *, size_t);
|
||||
|
||||
#ifdef INET6
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: tcp_var.h,v 1.44 2002/06/09 16:26:11 itojun Exp $ */
|
||||
/* $OpenBSD: tcp_var.h,v 1.45 2003/02/12 14:41:08 jason Exp $ */
|
||||
/* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -369,7 +369,7 @@ struct tcp_ident_mapping {
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
struct inpcbtable tcbtable; /* head of queue of active tcpcb's */
|
||||
extern struct inpcbtable tcbtable; /* head of queue of active tcpcb's */
|
||||
extern struct tcpstat tcpstat; /* tcp statistics */
|
||||
u_int32_t tcp_now; /* for RFC 1323 timestamps */
|
||||
extern int tcp_do_rfc1323; /* enabled/disabled? */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: mbuf.h,v 1.67 2002/10/08 05:12:08 kjc Exp $ */
|
||||
/* $OpenBSD: mbuf.h,v 1.68 2003/02/12 14:41:08 jason Exp $ */
|
||||
/* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -529,7 +529,7 @@ struct mbstat {
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
struct mbstat mbstat;
|
||||
extern struct mbstat mbstat;
|
||||
extern int nmbclust; /* limit on the # of clusters */
|
||||
extern int mblowat; /* mbuf low water mark */
|
||||
extern int mcllowat; /* mbuf cluster low water mark */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: specdev.h,v 1.14 2002/11/08 04:34:17 art Exp $ */
|
||||
/* $OpenBSD: specdev.h,v 1.15 2003/02/12 14:41:07 jason Exp $ */
|
||||
/* $NetBSD: specdev.h,v 1.12 1996/02/13 13:13:01 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
@ -68,7 +68,7 @@ struct specinfo {
|
||||
#define SPECHASH(rdev) (((unsigned)((rdev>>5)+(rdev)))%SPECHSZ)
|
||||
#endif
|
||||
|
||||
struct vnode *speclisth[SPECHSZ];
|
||||
extern struct vnode *speclisth[SPECHSZ];
|
||||
|
||||
/*
|
||||
* Prototypes for special file operations on vnodes.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ufs_lookup.c,v 1.20 2003/01/31 17:37:50 art Exp $ */
|
||||
/* $OpenBSD: ufs_lookup.c,v 1.21 2003/02/12 14:41:08 jason Exp $ */
|
||||
/* $NetBSD: ufs_lookup.c,v 1.7 1996/02/09 22:36:06 christos Exp $ */
|
||||
|
||||
/*
|
||||
@ -60,7 +60,8 @@
|
||||
#include <ufs/ufs/ufsmount.h>
|
||||
#include <ufs/ufs/ufs_extern.h>
|
||||
|
||||
struct nchstats nchstats;
|
||||
extern struct nchstats nchstats;
|
||||
|
||||
#ifdef DIAGNOSTIC
|
||||
int dirchk = 1;
|
||||
#else
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: route.c,v 1.50 2003/02/01 01:51:31 deraadt Exp $ */
|
||||
/* $OpenBSD: route.c,v 1.51 2003/02/12 14:41:08 jason Exp $ */
|
||||
/* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
@ -38,7 +38,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94";
|
||||
#else
|
||||
static char *rcsid = "$OpenBSD: route.c,v 1.50 2003/02/01 01:51:31 deraadt Exp $";
|
||||
static char *rcsid = "$OpenBSD: route.c,v 1.51 2003/02/12 14:41:08 jason Exp $";
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -88,6 +88,8 @@ static char *rcsid = "$OpenBSD: route.c,v 1.50 2003/02/01 01:51:31 deraadt Exp $
|
||||
((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long))
|
||||
#define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))
|
||||
|
||||
struct radix_node_head *rt_tables[AF_MAX+1];
|
||||
|
||||
/*
|
||||
* Definitions for showing gateway flags.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user