aboutsummaryrefslogtreecommitdiffstats
path: root/net/802/fc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/802/fc.c')
-rw-r--r--net/802/fc.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/net/802/fc.c b/net/802/fc.c
index 7c174b6750cd..7b9219022418 100644
--- a/net/802/fc.c
+++ b/net/802/fc.c
@@ -75,29 +75,8 @@ static int fc_header(struct sk_buff *skb, struct net_device *dev,
75 return -hdr_len; 75 return -hdr_len;
76} 76}
77 77
78/*
79 * A neighbour discovery of some species (eg arp) has completed. We
80 * can now send the packet.
81 */
82
83static int fc_rebuild_header(struct sk_buff *skb)
84{
85#ifdef CONFIG_INET
86 struct fch_hdr *fch=(struct fch_hdr *)skb->data;
87 struct fcllc *fcllc=(struct fcllc *)(skb->data+sizeof(struct fch_hdr));
88 if(fcllc->ethertype != htons(ETH_P_IP)) {
89 printk("fc_rebuild_header: Don't know how to resolve type %04X addresses ?\n", ntohs(fcllc->ethertype));
90 return 0;
91 }
92 return arp_find(fch->daddr, skb);
93#else
94 return 0;
95#endif
96}
97
98static const struct header_ops fc_header_ops = { 78static const struct header_ops fc_header_ops = {
99 .create = fc_header, 79 .create = fc_header,
100 .rebuild = fc_rebuild_header,
101}; 80};
102 81
103static void fc_setup(struct net_device *dev) 82static void fc_setup(struct net_device *dev)