/*
|
/*
|
* INET An implementation of the TCP/IP protocol suite for the LINUX
|
* INET An implementation of the TCP/IP protocol suite for the LINUX
|
* operating system. INET is implemented using the BSD Socket
|
* operating system. INET is implemented using the BSD Socket
|
* interface as the means of communication with the user level.
|
* interface as the means of communication with the user level.
|
*
|
*
|
* Definitions for the FDDI handlers.
|
* Definitions for the FDDI handlers.
|
*
|
*
|
* Version: @(#)fddidevice.h 1.0.0 08/12/96
|
* Version: @(#)fddidevice.h 1.0.0 08/12/96
|
*
|
*
|
* Author: Lawrence V. Stefani, <stefani@lkg.dec.com>
|
* Author: Lawrence V. Stefani, <stefani@lkg.dec.com>
|
*
|
*
|
* fddidevice.h is based on previous trdevice.h work by
|
* fddidevice.h is based on previous trdevice.h work by
|
* Ross Biro, <bir7@leland.Stanford.Edu>
|
* Ross Biro, <bir7@leland.Stanford.Edu>
|
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
|
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
|
* Alan Cox, <gw4pts@gw4pts.ampr.org>
|
* Alan Cox, <gw4pts@gw4pts.ampr.org>
|
*
|
*
|
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
* as published by the Free Software Foundation; either version
|
* as published by the Free Software Foundation; either version
|
* 2 of the License, or (at your option) any later version.
|
* 2 of the License, or (at your option) any later version.
|
*/
|
*/
|
#ifndef _LINUX_FDDIDEVICE_H
|
#ifndef _LINUX_FDDIDEVICE_H
|
#define _LINUX_FDDIDEVICE_H
|
#define _LINUX_FDDIDEVICE_H
|
|
|
#include <linux/if_fddi.h>
|
#include <linux/if_fddi.h>
|
|
|
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
extern int fddi_header(struct sk_buff *skb,
|
extern int fddi_header(struct sk_buff *skb,
|
struct device *dev,
|
struct device *dev,
|
unsigned short type,
|
unsigned short type,
|
void *daddr,
|
void *daddr,
|
void *saddr,
|
void *saddr,
|
unsigned len);
|
unsigned len);
|
extern int fddi_rebuild_header(void *buff,
|
extern int fddi_rebuild_header(void *buff,
|
struct device *dev,
|
struct device *dev,
|
unsigned long dest,
|
unsigned long dest,
|
struct sk_buff *skb);
|
struct sk_buff *skb);
|
extern unsigned short fddi_type_trans(struct sk_buff *skb,
|
extern unsigned short fddi_type_trans(struct sk_buff *skb,
|
struct device *dev);
|
struct device *dev);
|
#endif
|
#endif
|
|
|
#endif /* _LINUX_FDDIDEVICE_H */
|
#endif /* _LINUX_FDDIDEVICE_H */
|
|
|