* Dave Miller: improvement on the code (correctness, performance and source files)
*
*/
+#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
break;
default:
return -EINVAL;
- };
+ }
return 0;
}
}
}
break;
- };
-
- return;
+ }
}
+EXPORT_SYMBOL(alloc_divert_blk);
+EXPORT_SYMBOL(free_divert_blk);
#include <linux/if_bridge.h>
#include <linux/if_vlan.h>
#include <linux/random.h>
-#ifdef CONFIG_NET_DIVERT
-#include <linux/divert.h>
-#endif /* CONFIG_NET_DIVERT */
#ifdef CONFIG_INET
#include <net/protocol.h>
EXPORT_SYMBOL(destroy_EII_client);
#endif
-#ifdef CONFIG_NET_DIVERT
-EXPORT_SYMBOL(alloc_divert_blk);
-EXPORT_SYMBOL(free_divert_blk);
-#endif /* CONFIG_NET_DIVERT */
#ifdef CONFIG_INET
/* Internet layer registration */