netatalk  4.4.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
ddp_var.h
Go to the documentation of this file.
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
9struct ddpcb {
10 struct sockaddr_at ddp_fsat, ddp_lsat;
12 struct socket *ddp_socket;
15};
16
17#define sotoddpcb(so) ((struct ddpcb *)(so)->so_pcb)
18
19struct ddpstat {
20 uint32_t ddps_short;
21 uint32_t ddps_long;
22 uint32_t ddps_nosum;
23 uint32_t ddps_badsum;
24 uint32_t ddps_tooshort;
25 uint32_t ddps_toosmall;
26 uint32_t ddps_forward;
27 uint32_t ddps_encap;
30};
31
32#ifdef KERNEL
33struct ddpcb *ddp_ports[ATPORT_LAST];
34struct ddpcb *ddpcb;
35struct ddpstat ddpstat;
36struct ddpcb *ddp_search();
37#endif /* KERNEL */
38
39#endif /* netatalk/ddp_var.h */
#define ATPORT_LAST
Definition at.h:63
struct ddpcb * ddp_search(struct sockaddr_at *from, struct sockaddr_at *to, struct at_ifaddr *aa)
Definition ddp_usrreq.c:503
int route(int message, struct sockaddr *dst, struct sockaddr *gate, int flags)
Definition route.c:23
Definition ddp_var.h:9
struct ddpcb * ddp_next
Definition ddp_var.h:13
struct socket * ddp_socket
Definition ddp_var.h:12
struct sockaddr_at ddp_fsat ddp_lsat
Definition ddp_var.h:10
struct route ddp_route
Definition ddp_var.h:11
struct ddpcb * ddp_prev
Definition ddp_var.h:13
struct ddpcb * ddp_pnext
Definition ddp_var.h:14
struct ddpcb * ddp_pprev
Definition ddp_var.h:14
Definition ddp_var.h:19
uint32_t ddps_tooshort
Definition ddp_var.h:24
uint32_t ddps_short
Definition ddp_var.h:20
uint32_t ddps_badsum
Definition ddp_var.h:23
uint32_t ddps_forward
Definition ddp_var.h:26
uint32_t ddps_long
Definition ddp_var.h:21
uint32_t ddps_nosum
Definition ddp_var.h:22
uint32_t ddps_cantforward
Definition ddp_var.h:28
uint32_t ddps_nosockspace
Definition ddp_var.h:29
uint32_t ddps_encap
Definition ddp_var.h:27
uint32_t ddps_toosmall
Definition ddp_var.h:25
Definition at.h:88