https://bugzilla.kernel.org/show_bug.cgi?id=100081 Bug ID: 100081 Summary: sll_family required for bind() on AF_PACKET socket Product: Documentation Version: unspecified Hardware: All OS: Linux Status: NEW Severity: normal Priority: P1 Component: man-pages Assignee: documentation_man-pages@xxxxxxxxxxxxxxxxxxxx Reporter: a0vhv@xxxxxxxxxxx Regression: No This is from "man 7 packet": >When you send packets it is enough to specify sll_family, sll_addr, sll_halen, sll_ifindex. The other fields should be 0. sll_hatype and sll_pkttype are set on received packets for your information. For bind only sll_protocol and sll_ifindex are used. However, the last sentence is not correct. You have to specifiy sll_family for bind() too, otherwise it will fail. -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html