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.
| Author | Tim.Tisdall |
|---|---|
| Recipients | Tim.Tisdall, docs@python |
| Date | 2015年09月09日.13:07:56 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1441804077.41.0.782475265278.issue25041@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
As mentioned in #24984, I'm making another issue to document the address format for AF_PACKET. In this case there's already documentation in Modules/socketmodule.c that says: - an AF_PACKET socket address is a tuple containing a string specifying the ethernet interface and an integer specifying the Ethernet protocol number to be received. For example: ("eth0",0x1234). Optional 3rd,4th,5th elements in the tuple specify packet-type and ha-type/addr. But nothing has been added to Doc/library/socket.rst . The documentation needs to be confirmed with the code. (It probably should be altered somewhat to state how you "specify packet-type and ha-type/addr"... and maybe what a "ha-type/addr" is... A quick Google search found this very useful reference: https://books.google.ca/books?id=Chr1NDlUcI8C&pg=PA472&ots=OCEwyjdXJo&sig=PuNG72WIvv4-A924f9MvzPtgQDc&hl=en&sa=X&ved=0CE8Q6AEwCGoVChMI6IiTyoDqxwIVCTs-Ch3bCAXy#v=onepage&q&f=false ) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015年09月09日 13:07:58 | Tim.Tisdall | set | recipients: + Tim.Tisdall, docs@python |
| 2015年09月09日 13:07:57 | Tim.Tisdall | set | messageid: <1441804077.41.0.782475265278.issue25041@psf.upfronthosting.co.za> |
| 2015年09月09日 13:07:57 | Tim.Tisdall | link | issue25041 messages |
| 2015年09月09日 13:07:56 | Tim.Tisdall | create | |