Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001656
Juergen Lambrecht <j.lambre...@televic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j.lambre...@televic.com --- Comment #5 from Juergen Lambrecht <j.lambre...@televic.com> --- (In reply to comment #2) > Regarding AF_PACKET: > > The protocol AF_PACKET will only be available when you call > cyg_use_af_packet() somewhere in your application. > > If this function is not called the af_packet.c is not linked and > the binary will not become any larger due to this enhancement. > > After this is done, these sockets can be used exactly as described here: > > man 7 packet Hi Bernd, Because I am porting the busybox dhcp server to eCos, I am using your raw packet patch. When I do 'man 7 packet' on my linux, I get a slightly different definition of 'struct sockaddr_ll' (as also used by busybox): I have 'int sll_ifindex;' instead of 'u_short sll_index;' and 'unsigned char sll_addr[8];' instead of 'u_char sll_addr[22];'. I guess the naming difference is because your code is based on the freeBSD, and the busybox is based on Linux. But why 22 bytes for the address ('ssl_addr'), you only use 6B of it (EHTER_ADDR_LEN)? Kind regards, Jürgen -- You are receiving this mail because: You are on the CC list for the bug.