OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libnetworking/] [nfs/] [krpc.h] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*      $NetBSD: krpc.h,v 1.4 1995/12/19 23:07:11 cgd Exp $     */
2
/*      $Id: krpc.h,v 1.2 2001-09-27 12:01:56 chris Exp $       */
3
 
4
#include <sys/cdefs.h>
5
 
6
int 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
 
10
int krpc_portmap __P((struct sockaddr_in *sin,
11
        u_int prog, u_int vers, u_int16_t *portp, struct proc *procp));
12
 
13
struct 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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.