krpc.h revision 28270
125723Stegge/* $NetBSD: krpc.h,v 1.4 1995/12/19 23:07:11 cgd Exp $ */ 228270Swollman/* $Id: krpc.h,v 1.3 1997/06/12 14:03:16 tegge Exp $ */ 325723Stegge 425723Stegge#include <sys/cdefs.h> 525723Stegge 625723Steggeint krpc_call __P((struct sockaddr_in *sin, 725723Stegge u_int prog, u_int vers, u_int func, 828270Swollman struct mbuf **data, struct sockaddr **from, struct proc *procp)); 925723Stegge 1025723Steggeint krpc_portmap __P((struct sockaddr_in *sin, 1125723Stegge u_int prog, u_int vers, u_int16_t *portp,struct proc *procp)); 1225723Stegge 1325723Steggestruct mbuf *xdr_string_encode __P((char *str, int len)); 1425723Stegge 1525723Stegge/* 1625723Stegge * RPC definitions for the portmapper 1725723Stegge */ 1825723Stegge#define PMAPPORT 111 1925723Stegge#define PMAPPROG 100000 2025723Stegge#define PMAPVERS 2 2125723Stegge#define PMAPPROC_NULL 0 2225723Stegge#define PMAPPROC_SET 1 2325723Stegge#define PMAPPROC_UNSET 2 2425723Stegge#define PMAPPROC_GETPORT 3 2525723Stegge#define PMAPPROC_DUMP 4 2625723Stegge#define PMAPPROC_CALLIT 5 27