RMP(4) | Device Drivers Manual (hp300) | RMP(4) |
rmp
—
options RMP
#include <sys/types.h>
#include <sys/socket.h>
#include <netrmp/rmp.h>
#include <netrmp/rmp_var.h>
int
socket
(AF_RMP,
SOCK_RAW,
proto);
SOCK_RAW
socket type. As a result,
sendto(2) and
recvfrom(2) must be used to
send and receive RMP packets.
The format of an RMP packet is defined in the include file
<netrmp/rmp_var.h>
. The RMP
packet arrives encapsulated in an (HP extended) IEEE 802.2 packet. The IEEE
802.2 packet is preceded by the kernel address of an ifnet
struct which is used to `route' a packet out the same interface it
arrived on. Outgoing packets are encapsulated in a standard IEEE 802.3
packet, while incoming packets have this information stripped away.
struct sockaddr_rmp { short srmp_family; u_char srmp_dhost[6]; };
RMPPROTO_BOOT
).
Unfortunately, we have no documentation on the Remote Maintenance Protocol and
only sketchy information about the Boot Protocol.
Stuart Sechrest, An Introductory 4.4BSD Interprocess Communication Tutorial. (see /usr/share/doc/psd/20.ipctut)
Samuel J. Leffler, Robert S. Fabry, William N. Joy, Phil Lapsley, Steve Miller, and Chris Torek, Advanced 4.4BSD IPC Tutorial. (see /usr/share/doc/psd/21.ipc)
rmp
protocol interface currently under development.
RMPADDR_ANY
should be provided to prevent more than one
rbootd(8) server from
running at the same time.February 17, 2017 | NetBSD 9.4 |