Create packetfilter.c

add acl functions in this file