ring_mmap() is called when the process calls mmap() on the pf_ring socket to map memory from kernel space, it usually happens inside pfring_open().
Alfredo On 10 Aug 2014, at 05:43, lx <[email protected]> wrote: > hi all: > I'm a new one. I want to know when and where the function of > "ringt_mmap" is called? > ####################################### > static int ring_mmap(struct file *file, > struct socket *sock, struct vm_area_struct *vma) > ####################################### > From kernel/pf_ring.c > > Thank you. > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
