File: llc.h

package info (click to toggle)
rpld 1.8beta1-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 840 kB
  • ctags: 627
  • sloc: ansic: 2,230; asm: 434; yacc: 225; makefile: 171; sh: 40
file content (55 lines) | stat: -rw-r--r-- 1,199 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*************************************************
*     rpld - an IBM style RIPL server            *
*************************************************/

/*
 * llc.h:
 *
 * Copyright (c) 2000 James McKenzie <james@fishsoup.dhs.org>,
 * All rights reserved.
 *
 * By using this file, you agree to the terms and conditions set
 * forth in the LICENCE file which can be found at the top level of
 * the rpld distribution.
 *
 * IBM is a trademark of IBM corp.
 *
 */

/*
 * $Id: llc.h,v 1.11 2000/09/26 01:41:08 root Exp $
 */

/*
 * $Log: llc.h,v $
 * Revision 1.11  2000/09/26 01:41:08  root
 * #
 *
 * Revision 1.10  2000/09/26 01:39:17  root
 * #
 *
 * Revision 1.9  2000/09/26 01:03:19  root
 * #
 *
 */

#ifndef __LLC_H__
#define __LLC_H__



#define LLCDRV \
        int (*recv)(struct llcdrv *,unsigned char *,int,unsigned char *,unsigned char *,struct timeval *); \
	int (*send)(struct llcdrv *,unsigned char *,unsigned char,unsigned char *,int); \
	unsigned char *(*mac)(struct llcdrv *); \
	int (*add_multicast)(struct llcdrv *,unsigned char *); \
	void (*close)(struct llcdrv *)

struct llcdrv
{
  LLCDRV;
};

extern struct llcdrv *llc_open (unsigned char, char *);

#endif /* __LLC_H__ */