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/ip/inferno.c

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 #include        "u.h"
    2 #include        "../port/lib.h"
    3 #include        "mem.h"
    4 #include        "dat.h"
    5 #include        "fns.h"
    6 #include        "../port/error.h"
    7 #include        "ip.h"
    8 
    9 /*
   10  *  some hacks for commonality twixt inferno and plan9
   11  */
   12 
   13 char*
   14 commonuser(void)
   15 {
   16         return up->user;
   17 }
   18 
   19 Chan*
   20 commonfdtochan(int fd, int mode, int a, int b)
   21 {
   22         return fdtochan(fd, mode, a, b);
   23 }
   24 
   25 char*
   26 commonerror(void)
   27 {
   28         return up->errstr;
   29 }
   30 
   31 char*
   32 bootp(Ipifc*)
   33 {
   34         return "unimplmented";
   35 }
   36 
   37 int
   38 bootpread(char*, ulong, int)
   39 {
   40         return  0;
   41 }
   42 
   43 Medium tripmedium =
   44 {
   45         "trip",
   46 };

Cache object: 77ba6f94a689f9c3ad85b7f8f0c6c290


[ 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.