/* XXX - what if we get a short write?  */
int pcap_sendpacket(pcap_t *p, const u_char *buf, int size)
/* XXX - what if we get a short write?  */
int pcap_sendpacket(pcap_t *p, const u_char *buf, int size)
{
	if (p->inject_op(p, buf, size) == -1)
		return (-1);
	return (0);
}