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/netatalk/ddp_var.h

Version: -  FREEBSD  -  FREEBSD11  -  FREEBSD10  -  FREEBSD9  -  FREEBSD92  -  FREEBSD91  -  FREEBSD90  -  FREEBSD8  -  FREEBSD82  -  FREEBSD81  -  FREEBSD80  -  FREEBSD7  -  FREEBSD74  -  FREEBSD73  -  FREEBSD72  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * Copyright (c) 1990,1994 Regents of The University of Michigan.
    3  * All Rights Reserved.  See COPYRIGHT.
    4  *
    5  * $FreeBSD: src/sys/netatalk/ddp_var.h,v 1.4 1999/12/29 04:45:58 peter Exp $
    6  */
    7 
    8 #ifndef _NETATALK_DDP_VAR_H_
    9 #define _NETATALK_DDP_VAR_H_ 1
   10 struct ddpcb {
   11     struct sockaddr_at  ddp_fsat, ddp_lsat;
   12     struct route        ddp_route;
   13     struct socket       *ddp_socket;
   14     struct ddpcb        *ddp_prev, *ddp_next;
   15     struct ddpcb        *ddp_pprev, *ddp_pnext;
   16 };
   17 
   18 #define sotoddpcb(so)   ((struct ddpcb *)(so)->so_pcb)
   19 
   20 struct ddpstat {
   21     long        ddps_short;             /* short header packets received */
   22     long        ddps_long;              /* long header packets received */
   23     long        ddps_nosum;             /* no checksum */
   24     long        ddps_badsum;            /* bad checksum */
   25     long        ddps_tooshort;          /* packet too short */
   26     long        ddps_toosmall;          /* not enough data */
   27     long        ddps_forward;           /* packets forwarded */
   28     long        ddps_encap;             /* packets encapsulated */
   29     long        ddps_cantforward;       /* packets rcvd for unreachable dest */
   30     long        ddps_nosockspace;       /* no space in sockbuf for packet */
   31 };
   32 
   33 #ifdef _KERNEL
   34 extern int      ddp_cksum;
   35 extern struct ddpcb             *ddp_ports[ ];
   36 extern struct ddpcb             *ddpcb;
   37 extern struct pr_usrreqs        ddp_usrreqs;
   38 #endif
   39 #endif /* _NETATALK_DDP_VAR_H_ */

Cache object: 9a6409bd73ff1e18d625a8318adb43e3


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