This queue is for tickets about the Socket CPAN distribution.

Report information
The Basics
Id:
105094
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

BugTracker
Severity:
Wishlist
Broken in:
2.019
Fixed in:
(no value)



Subject: Consider SIOCGIFINDEX et.al. ioctl constants
Given there's already a few sockopt structures (e.g. ipv6_mreq) that want an ifindex, it seems prudent to provide the SIOC* constants necessary for ifname <-> ifindex conversions at least. While SIOCGIFINDEX and SIOCGIFNAME should be quite safe, taking or returning either platform integers or null-terminated strings, there's potential for a large and sprawling slippery slop here. Adding other options may require an ever-growing set of struct pack/unpack function pairs. Some care is required when selecting which other ioctls to add... -- Paul Evans


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.