Annotation of embedaddon/mpd/src/ecp_dese_bis.h, revision 1.1.1.2
1.1 misho 1:
2: /*
3: * ecp_des.h
4: *
5: * Rewritten by Alexander Motin <mav@FreeBSD.org>
6: * Written by Archie Cobbs <archie@freebsd.org>
7: * Copyright (c) 1998-1999 Whistle Communications, Inc. All rights reserved.
8: * See ``COPYRIGHT.whistle''
9: */
10:
11: #ifndef _ECP_DESE_BIS_H_
12: #define _ECP_DESE_BIS_H_
13:
14: #include "defs.h"
15: #include "mbuf.h"
16: #include <openssl/des.h>
17:
18: /*
19: * DEFINITIONS
20: */
21:
22: struct desebis_stats {
23: uint64_t FramesIn;
24: uint64_t FramesOut;
25: uint64_t OctetsIn;
26: uint64_t OctetsOut;
27: uint64_t Errors;
28: };
29: typedef struct desebis_stats *DeseBisStats;
30:
31: struct desebisinfo
32: {
1.1.1.2 ! misho 33: DES_cblock xmit_ivec; /* Xmit initialization vector */
! 34: DES_cblock recv_ivec; /* Recv initialization vector */
1.1 misho 35: u_int16_t xmit_seq; /* Transmit sequence number */
36: u_int16_t recv_seq; /* Receive sequence number */
1.1.1.2 ! misho 37: DES_key_schedule ks; /* Key schedule */
1.1 misho 38: struct desebis_stats recv_stats;
39: struct desebis_stats xmit_stats;
40: };
41: typedef struct desebisinfo *DeseBisInfo;
42:
43: /*
44: * VARIABLES
45: */
46:
47: extern const struct enctype gDeseBisEncType;
48:
49: #endif
50:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>