[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] TunTap vs PACKET sockets


  • To: mirageos-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Hannes Mehnert <hannes@xxxxxxxxxxx>
  • Date: Thu, 19 Nov 2015 13:46:48 +0100
  • Delivery-date: Thu, 19 Nov 2015 12:47:19 +0000
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
  • Openpgp: id=11B5464249B5BD858FFF6328BC896588DF7C28EE

On 11/19/2015 13:27, Richard Mortier wrote:
> What's the rationale for / trade-off of using tun/tap vs using packet sockets?

I assume you're talking about socket(PF_PACKET, SOCK_RAW, _)?  This
seems to be only supported on Linux.

On BSD systems, pcap is responsible for capturing an interface (see
pcap_open_live / pcap_inject).


hannes

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.