Correct documentation for AF_PACKET (#112339)
Protocol in the address tuple should *not* be in the network-byte-order, because it is converted internally[1]. [1] https://github.com/python/cpython/blob/89ddea4886942b0c27a778a0ad3f0d5ac5f518f0/Modules/socketmodule.c#L2144 network byte order doesn't make sense for a python level int anyways. It's a fixed size C serialization concept.
E
Eugene Toder committed
562d7149c6944fb9e4c7be80664b2f2d5a12a3ea
Parent: b90a5cf
Committed by GitHub <noreply@github.com>
on 11/27/2023, 11:42:37 PM