Author mturon
Recipients mturon
Date 2016-10-27.18:43:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Just for clarity, the high level bug is that when binding to an interface using AF_PACKET, transmissions work, but receive does not:

    sock = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, ETH_P_IEEE802154)
    sock.bind(("monitor0", ETH_P_IEEE802154))

    sock.send(test_frame)   # transmission works fine
    pkt = sock.recv(127)    # never receives, though C test works fine

The same test written in C that calls ioctl(sockfd, SIOCGIFNAME, &ifr) to lookup ifindex for bind from ifname="monitor0" works fine.
Date User Action Args
2016-10-27 18:43:42mturonsetrecipients: + mturon
2016-10-27 18:43:42mturonsetmessageid: <>
2016-10-27 18:43:42mturonlinkissue28545 messages
2016-10-27 18:43:42mturoncreate