This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Better support for AF_PACKET on opensolaris (illumos)
Type: compile error Stage: patch review
Components: Library (Lib) Versions: Python 3.4, Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: igor.pashev, jcea, neologix
Priority: normal Keywords: patch

Created on 2014-04-17 18:39 by igor.pashev, last changed 2022-04-11 14:58 by admin.

Files
File name Uploaded Description Edit
dyson-socketmodule-ifindex.patch igor.pashev, 2014-04-18 04:27 Update: check for sys/sockio.h
Messages (2)
msg216727 - (view) Author: Igor Pashev (igor.pashev) * Date: 2014-04-17 18:39
SIOCGIFINDEX could be defined in illumos (aka OpenSolaris) if BSD_COMP macro defined. This causes known error: no member ifr_ifindex in struct ifreq.

But OpenSolaris provides newer interface with struct lifreq and SIOCGLIFINDEX.

Attached patch tries to use it.
msg216845 - (view) Author: Igor Pashev (igor.pashev) * Date: 2014-04-19 05:45
Related to http://bugs.python.org/issue8852
History
Date User Action Args
2022-04-11 14:58:02adminsetgithub: 65486
2014-04-19 10:06:26pitrousetnosy: + neologix
stage: patch review

versions: + Python 3.5
2014-04-19 05:46:14igor.pashevsetfiles: - dyson-socketmodule-ifindex.patch
2014-04-19 05:45:47igor.pashevsetmessages: + msg216845
2014-04-18 04:27:30igor.pashevsetfiles: + dyson-socketmodule-ifindex.patch
2014-04-17 20:23:54ned.deilysetnosy: + jcea
2014-04-17 18:39:07igor.pashevcreate