PCAPFSIZ
char filter[PCAPFSIZ] = "ip and port 25 and action pass "
strlcat(filter, " and on ", PCAPFSIZ);
strlcat(filter, networkif, PCAPFSIZ);