Date: Sun, 15 Oct 2000 11:49:18 -0700 (PDT) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tun.c Message-ID: <200010151849.LAA46324@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 2000/10/15 11:49:18 PDT Modified files: sys/net if_tun.c Log: BPF wants packets in host byte order whereas TUN_IFHEAD wants them in network byte order. When we've got TUN_IFHEAD set, swap the AF byte order before passing a packet to bpf_mtap(). Revision Changes Path 1.79 +13 -6 src/sys/net/if_tun.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010151849.LAA46324>