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 
    6 #ifndef _NETATALK_DDP_VAR_H_
    7 #define _NETATALK_DDP_VAR_H_ 1
    8 struct ddpcb {
    9     struct sockaddr_at  ddp_fsat, ddp_lsat;
   10     struct route        ddp_route;
   11     struct socket       *ddp_socket;
   12     struct ddpcb        *ddp_prev, *ddp_next;
   13     struct ddpcb        *ddp_pprev, *ddp_pnext;
   14 };
   15 
   16 #define sotoddpcb(so)   ((struct ddpcb *)(so)->so_pcb)
   17 
   18 struct ddpstat {
   19     long        ddps_short;             /* short header packets received */
   20     long        ddps_long;              /* long header packets received */
   21     long        ddps_nosum;             /* no checksum */
   22     long        ddps_badsum;            /* bad checksum */
   23     long        ddps_tooshort;          /* packet too short */
   24     long        ddps_toosmall;          /* not enough data */
   25     long        ddps_forward;           /* packets forwarded */
   26     long        ddps_encap;             /* packets encapsulated */
   27     long        ddps_cantforward;       /* packets rcvd for unreachable dest */
   28     long        ddps_nosockspace;       /* no space in sockbuf for packet */
   29 };
   30 
   31 #ifdef KERNEL
   32 extern struct ddpcb             *ddp_ports[ ];
   33 extern struct ddpcb             *ddpcb;
   34 struct ddpstat          ddpstat;
   35 #endif
   36 #endif /* _NETATALK_DDP_VAR_H_ */

Cache object: 99707fd234fe8f1e4f14530178951360


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