The implementation of the pflocal server is in the pflocal directory, and uses ?libpipe (shared code with the ?named pipe implementation).