patch-2.2.12 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
- Lines: 26
- Date:
Wed Aug 25 17:29:48 1999
- Orig file:
v2.2.11/linux/drivers/net/fc/iph5526_ip.h
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.2.11/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 device *dev);
+static int fcdev_init(struct device *dev);
+static int iph5526_open(struct device *dev);
+static int iph5526_close(struct device *dev);
+static int iph5526_send_packet(struct sk_buff *skb, struct device *dev);
+static struct net_device_stats * iph5526_get_stats(struct device *dev);
+static int iph5526_change_mtu(struct 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 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)