patch-2.3.15 linux/drivers/net/fc/iph5526_ip.h

Next file: linux/drivers/net/fc/iph5526_novram.c
Previous file: linux/drivers/net/fc/iph5526.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/drivers/net/fc/iph5526_ip.h linux/drivers/net/fc/iph5526_ip.h
@@ -0,0 +1,25 @@
+#ifndef IPH5526_IP_H
+#define IPH5526_IP_H
+
+#define LLC_SNAP_LEN		0x8
+
+/* Offsets into the ARP frame */
+#define ARP_OPCODE_0	(0x6 + LLC_SNAP_LEN)
+#define ARP_OPCODE_1	(0x7 + LLC_SNAP_LEN)
+
+int iph5526_probe(struct net_device *dev);
+static int fcdev_init(struct net_device *dev);
+static int iph5526_open(struct net_device *dev);
+static int iph5526_close(struct net_device *dev);
+static int iph5526_send_packet(struct sk_buff *skb, struct net_device *dev);
+static struct net_device_stats * iph5526_get_stats(struct net_device *dev);
+static int iph5526_change_mtu(struct net_device *dev, int mtu);
+
+
+static void rx_net_packet(struct fc_info *fi, u_char *buff_addr, int payload_size);
+static void rx_net_mfs_packet(struct fc_info *fi, struct sk_buff *skb);
+unsigned short fc_type_trans(struct sk_buff *skb, struct net_device *dev); 
+static int tx_ip_packet(struct sk_buff *skb, unsigned long len, struct fc_info *fi);
+static int tx_arp_packet(char *data, unsigned long len, struct fc_info *fi);
+#endif
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)