Transforward tag 3
[transforward.git] / transforward.c
index 02d0477..13e6156 100644 (file)
@@ -65,6 +65,13 @@ static int inet_bind_entry(struct socket *sock, struct sockaddr *uaddr, int addr
     return 0;
 }
 
+static struct file *do_last_probe(struct nameidata *nd, struct path *path,
+                         const struct open_flags *op, const char *pathname) {
+    
+    
+    jprobe_return();
+
+}
 
 static struct jprobe net_probe = {
        .entry = (kprobe_opcode_t *) inet_bind_entry
@@ -96,7 +103,7 @@ static int __init transforward_init(void)
                   return -1;
           }
           //printk("Planted jprobe at %p, handler addr %p\n",
-                 net_probe.kp.addr, net_probe.entry);
+                 //net_probe.kp.addr, net_probe.entry);
 
         return ret;
 }