Re: [tcpdump-workers] patch - use BIOCSETLIF when available

2011-06-04 Thread Guy Harris
Checked into the trunk and 1.2 branches, with a change - ifrname points to a location to which we copy an interface name, so it must be "char *", not "const char *".- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

[tcpdump-workers] patch - use BIOCSETLIF when available

2011-06-03 Thread Darren Reed
Solaris 11 will support the ioctl BIOCSETLIF. This operates on "struct lifname". Whilst there are other *LIF ioctls, only this one is important for libpcap. For most consumers, the primary difference is the length of the name allowed. The traditional ifname structure only allowed for 16 characte