The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/nfs/krpc.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $OpenBSD: krpc.h,v 1.7 2012/12/05 23:20:23 deraadt Exp $        */
    2 /*      $NetBSD: krpc.h,v 1.4 1995/12/19 23:07:11 cgd Exp $     */
    3 
    4 int krpc_call(struct sockaddr_in *, u_int, u_int, u_int, struct mbuf **,
    5     struct mbuf **, int);
    6 int krpc_portmap(struct sockaddr_in *, u_int, u_int, u_int16_t *);
    7 
    8 struct mbuf *xdr_string_encode(char *, int);
    9 struct mbuf *xdr_string_decode(struct mbuf *, char *, int *);
   10 struct mbuf *xdr_inaddr_encode(struct in_addr *);
   11 struct mbuf *xdr_inaddr_decode(struct mbuf *, struct in_addr *);
   12 
   13 /* RPC definitions for the portmapper. */
   14 #define PMAPPORT                111
   15 #define PMAPPROG                100000
   16 #define PMAPVERS                2
   17 #define PMAPPROC_NULL           0
   18 #define PMAPPROC_SET            1
   19 #define PMAPPROC_UNSET          2
   20 #define PMAPPROC_GETPORT        3
   21 #define PMAPPROC_DUMP           4
   22 #define PMAPPROC_CALLIT         5
   23 
   24 /* RPC definitions for bootparamd. */
   25 #define BOOTPARAM_PROG          100026
   26 #define BOOTPARAM_VERS          1
   27 #define BOOTPARAM_WHOAMI        1
   28 #define BOOTPARAM_GETFILE       2
   29 

Cache object: d2f90b5b8f9db95ac571dd5fffeaa421


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.