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/lib/libsa/globals.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 /*      $NetBSD: globals.c,v 1.7 2003/03/27 12:28:58 drochner Exp $     */
    2 
    3 /*
    4  *      globals.c:
    5  *
    6  *      global variables should be separate, so nothing else
    7  *      must be included extraneously.
    8  */
    9 
   10 #include <sys/param.h>
   11 #include <netinet/in.h>
   12 #include <netinet/in_systm.h>
   13 
   14 #include "stand.h"
   15 #include "net.h"
   16 
   17 u_char  bcea[6] = BA;                   /* broadcast ethernet address */
   18 
   19 char    rootpath[FNAME_SIZE];           /* root mount path */
   20 char    bootfile[FNAME_SIZE];           /* bootp says to boot this */
   21 char    hostname[FNAME_SIZE];           /* our hostname */
   22 struct  in_addr myip;                   /* my ip address */
   23 struct  in_addr rootip;                 /* root ip address */
   24 struct  in_addr gateip;                 /* swap ip address */
   25 n_long  netmask = 0xffffff00;           /* subnet or net mask */

Cache object: 4b59cc80582f85a054480eb781c0e38e


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