tun: add tun_is_little_endian() helper
authorGreg Kurz <gkurz@linux.vnet.ibm.com>
Fri, 24 Apr 2015 12:24:38 +0000 (14:24 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jun 2015 13:48:50 +0000 (15:48 +0200)
commit25bd55bbabd8957693c1ffc2fe1bf16cb4fdabd4
tree19cf129338cf982001191b000a87fc71e69fd398
parentcf561f0d2eb74574ad9985a2feab134267a9d298
tun: add tun_is_little_endian() helper

Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
drivers/net/tun.c