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  -  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 /*
    2  * Copyright (c) 1990,1994 Regents of The University of Michigan.
    3  * All Rights Reserved.  See COPYRIGHT.
    4  *
    5  * $FreeBSD$
    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: ddafccd37df82568d9f76e124f433159


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