source: rtems/cpukit/libnetworking/nfs/krpc.h @ a238cc9

4.104.114.84.95
Last change on this file since a238cc9 was 39e6e65a, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 19, 1998 at 9:32:28 PM

Base files

  • Property mode set to 100644
File size: 677 bytes
Line 
1/*      $NetBSD: krpc.h,v 1.4 1995/12/19 23:07:11 cgd Exp $     */
2/*      $Id$    */
3
4#include <sys/cdefs.h>
5
6int krpc_call __P((struct sockaddr_in *sin,
7        u_int prog, u_int vers, u_int func,
8        struct mbuf **data, struct mbuf **from, struct proc *procp));
9
10int krpc_portmap __P((struct sockaddr_in *sin,
11        u_int prog, u_int vers, u_int16_t *portp, struct proc *procp));
12
13struct mbuf *xdr_string_encode __P((char *str, int len));
14
15/*
16 * RPC definitions for the portmapper
17 */
18#define PMAPPORT                111
19#define PMAPPROG                100000
20#define PMAPVERS                2
21#define PMAPPROC_NULL           0
22#define PMAPPROC_SET            1
23#define PMAPPROC_UNSET          2
24#define PMAPPROC_GETPORT        3
25#define PMAPPROC_DUMP           4
26#define PMAPPROC_CALLIT         5
Note: See TracBrowser for help on using the repository browser.