Hello!
> Binding also returns success, but when i monitor received from this
> socket packets, i see that it also receives broadcasts. And when device in
> promisc-mode it receives all packets.
Yes. If you need to filter packets, you use socket filter.
> The question is: What then means (and affects) sockaddr_ll.sll_pkttype?
pkt_type is ignored in bind, its value is valid only when you
receive a packet with recvmsg/refcvfrom.
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]