|
|
| version 1.2, 2003/06/17 04:27:07 | version 1.3, 2003/11/14 03:54:30 |
|---|---|
| Line 44 | Line 44 |
| * Author: Jeff Forys, University of Utah CSS | * Author: Jeff Forys, University of Utah CSS |
| * | * |
| * $FreeBSD: src/libexec/rbootd/defs.h,v 1.2.6.1 2001/02/18 02:54:11 kris Exp $ | * $FreeBSD: src/libexec/rbootd/defs.h,v 1.2.6.1 2001/02/18 02:54:11 kris Exp $ |
| * $DragonFly: src/libexec/rbootd/defs.h,v 1.1 2003/06/16 04:59:20 dillon Exp $ | * $DragonFly$ |
| */ | */ |
| #include "rmp.h" | #include "rmp.h" |
| Line 152 extern RMPCONN *RmpConns; /* list of ac | Line 152 extern RMPCONN *RmpConns; /* list of ac |
| extern u_int8_t RmpMcastAddr[]; /* RMP multicast address */ | extern u_int8_t RmpMcastAddr[]; /* RMP multicast address */ |
| void AddConn __P((RMPCONN *)); | void AddConn (RMPCONN *); |
| int BootDone __P((RMPCONN *)); | int BootDone (RMPCONN *); |
| void BpfClose __P((void)); | void BpfClose (void); |
| char *BpfGetIntfName __P((char **)); | char *BpfGetIntfName (char **); |
| int BpfOpen __P((void)); | int BpfOpen (void); |
| int BpfRead __P((RMPCONN *, int)); | int BpfRead (RMPCONN *, int); |
| int BpfWrite __P((RMPCONN *)); | int BpfWrite (RMPCONN *); |
| void DebugOff __P((int)); | void DebugOff (int); |
| void DebugOn __P((int)); | void DebugOn (int); |
| void DispPkt __P((RMPCONN *, int)); | void DispPkt (RMPCONN *, int); |
| void DoTimeout __P((void)); | void DoTimeout (void); |
| void DspFlnm __P((u_int, char *)); | void DspFlnm (u_int, char *); |
| void Exit __P((int)); | void Exit (int); |
| CLIENT *FindClient __P((RMPCONN *)); | CLIENT *FindClient (RMPCONN *); |
| RMPCONN *FindConn __P((RMPCONN *)); | RMPCONN *FindConn (RMPCONN *); |
| void FreeClients __P((void)); | void FreeClients (void); |
| void FreeConn __P((RMPCONN *)); | void FreeConn (RMPCONN *); |
| void FreeConns __P((void)); | void FreeConns (void); |
| int GetBootFiles __P((void)); | int GetBootFiles (void); |
| char *GetEtherAddr __P((u_int8_t *)); | char *GetEtherAddr (u_int8_t *); |
| CLIENT *NewClient __P((u_int8_t *)); | CLIENT *NewClient (u_int8_t *); |
| RMPCONN *NewConn __P((RMPCONN *)); | RMPCONN *NewConn (RMPCONN *); |
| char *NewStr __P((char *)); | char *NewStr (char *); |
| u_int8_t *ParseAddr __P((char *)); | u_int8_t *ParseAddr (char *); |
| int ParseConfig __P((void)); | int ParseConfig (void); |
| void ProcessPacket __P((RMPCONN *, CLIENT *)); | void ProcessPacket (RMPCONN *, CLIENT *); |
| void ReConfig __P((int)); | void ReConfig (int); |
| void RemoveConn __P((RMPCONN *)); | void RemoveConn (RMPCONN *); |
| int SendBootRepl __P((struct rmp_packet *, RMPCONN *, char *[])); | int SendBootRepl (struct rmp_packet *, RMPCONN *, char *[]); |
| int SendFileNo __P((struct rmp_packet *, RMPCONN *, char *[])); | int SendFileNo (struct rmp_packet *, RMPCONN *, char *[]); |
| int SendPacket __P((RMPCONN *)); | int SendPacket (RMPCONN *); |
| int SendReadRepl __P((RMPCONN *)); | int SendReadRepl (RMPCONN *); |
| int SendServerID __P((RMPCONN *)); | int SendServerID (RMPCONN *); |