syscall: Add ioctl consts from if_tun.h
commit57ca644cad606398dc16bc69f961fd087146feb9
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Jul 2015 00:01:04 +0000 (25 00:01 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Jul 2015 00:01:04 +0000 (25 00:01 +0000)
tree2bf6b3de2603347489d6e17a4adf5d230d6252c9
parent1702f6e58868fcea81eb6272c545c33b4002b051
syscall:  Add ioctl consts from if_tun.h

    During the gccgo build define constants from
    some header files are processed by mksysinfo.sh and
    added to syscall.go.  In some cases the constants
    are based on macros which are not processed
    correctly by mksysinfo.sh.  This adds the support
    to generate the correct values for the TUN* constants
    from linux/if_tun.h.

    Fixes golang/go#11707

    Reviewed-on: https://go-review.googlesource.com/12491

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226196 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/mksysinfo.sh