void pcap(char *pkt, size_t len); void pcap_init(struct ctx *c, int sock_index);