module_proc_ent->proc_fops =  &pktgen_fops; module_proc_ent->data = NULL;
pe->proc_fops = &pktgen_fops; pe->data      = NULL;
static int __init pg_init(void) {	int cpu;	printk(version);        module_fname[0] = 0;	create_proc_dir();        sprintf(module_fname, "%s/pgctrl", PG_PROC_DIR);        module_proc_ent = create_proc_entry(module_fname, 0600, NULL);        if (!module_proc_ent) {                printk("pktgen: ERROR: cannot create %s procfs entry.\n", module_fname);                return -EINVAL;        }        module_proc_ent->proc_fops =  &pktgen_fops;        module_proc_ent->data = NULL;	/* Register us to receive netdevice events */	register_netdevice_notifier(&pktgen_notifier_block);        	for_each_online_cpu(cpu) {		char buf[30];                sprintf(buf, "kpktgend_%i", cpu);                pktgen_create_thread(buf, cpu);        }        return 0;        }