FreeBSD/contrib/tcpdump/print-ipnet.c
/*
 * This is the top level routine of the printer.  'p' points
 * to the ether header of the packet, 'h->ts' is the timestamp,
 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
 * is the number of bytes actually captured.
 */
This is the top level routine of the printer.
This is the top level routine of the printer .
u_int
ipnet_if_print(netdissect_options *ndo,
               const struct pcap_pkthdr *h, const u_char *p)
{
	ipnet_print(ndo, p, h->len, h->caplen);
	return (sizeof(ipnet_hdr_t));
}
u_int ipnet_if_print ( netdissect_options * ndo , const struct pcap_pkthdr * h , const u_char * p ) { ipnet_print ( ndo , p , h -> len , h -> caplen ) ; return ( sizeof ( ipnet_hdr_t ) ) ; }
This is the top level routine of the printer.
This is the top level routine of the printer .