Changeset e9fe6ac
- Timestamp:
- 01/16/19 11:47:26 (2 years ago)
- Branches:
- develop
- Children:
- ab3ddbe
- Parents:
- bab946c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_linux_int.c
rfce4572 re9fe6ac 53 53 #include "format_linux_common.h" 54 54 55 #define SLL_HEADER_LENGTH 6 55 56 56 57 #ifdef HAVE_NETPACKET_PACKET_H … … 368 369 hdr.sll_hatype = 0; 369 370 hdr.sll_pkttype = 0; 370 hdr.sll_halen = htons( 6); /* FIXME */371 memcpy(hdr.sll_addr,packet->payload,(size_t) ntohs(hdr.sll_halen));371 hdr.sll_halen = htons(SLL_HEADER_LENGTH); /* FIXME */ 372 memcpy(hdr.sll_addr,packet->payload,(size_t)SLL_HEADER_LENGTH); 372 373 373 374 /* This is pretty easy, just send the payload using sendto() (after
Note: See TracChangeset
for help on using the changeset viewer.