static int announce_self_create(uint8_t *buf, 

				uint8_t *mac_addr)

{

    uint32_t magic = EXPERIMENTAL_MAGIC;

    uint16_t proto = htons(ETH_P_EXPERIMENTAL);



    /* FIXME: should we send a different packet (arp/rarp/ping)? */



    memset(buf, 0, 64);

    memset(buf, 0xff, 6);         /* h_dst */

    memcpy(buf + 6, mac_addr, 6); /* h_src */

    memcpy(buf + 12, &proto, 2);  /* h_proto */

    memcpy(buf + 14, &magic, 4);  /* magic */



    return 64; /* len */

}

static int announce_self_create(uint8_t *buf, 

				uint8_t *mac_addr)

{

    uint32_t magic = EXPERIMENTAL_MAGIC;

    uint16_t proto = htons(ETH_P_EXPERIMENTAL);



    



    memset(buf, 0, 64);

    memset(buf, 0xff, 6);         

    memcpy(buf + 6, mac_addr, 6); 

    memcpy(buf + 12, &proto, 2);  

    memcpy(buf + 14, &magic, 4);  



    return 64; 

}

static int announce_self_create(uint8_t *buf,      uint32_t magic = EXPERIMENTAL_MAGIC;     uint16_t proto = htons(ETH_P_EXPERIMENTAL);     memset(buf, 0, 64);
static int FUNC_0(uint8_t *VAR_0, 

				uint8_t *VAR_1)

{

    uint32_t magic = EXPERIMENTAL_MAGIC;

    uint16_t proto = htons(ETH_P_EXPERIMENTAL);



    



    memset(VAR_0, 0, 64);

    memset(VAR_0, 0xff, 6);         

    memcpy(VAR_0 + 6, VAR_1, 6); 

    memcpy(VAR_0 + 12, &proto, 2);  

    memcpy(VAR_0 + 14, &magic, 4);  



    return 64; 

}

static int FUNC_0(uint8_t *VAR_0,
uint8_t *VAR_1)
{ uint32_t magic = EXPERIMENTAL_MAGIC; uint16_t proto = htons(ETH_P_EXPERIMENTAL); memset(VAR_0, 0, 64); memset(VAR_0, 0xff, 6); memcpy(VAR_0 + 6, VAR_1, 6); memcpy(VAR_0 + 12, &proto, 2); memcpy(VAR_0 + 14, &magic, 4); return 64; }