1779Sjoehwtypedef struct __attribute__ ((__packed__)) 2968Sfyuan{ 3779Sjoehw char valueField[2]; 4779Sjoehw} ptp_tlv_t; 5779Sjoehwtypedef struct __attribute__ ((__packed__)) 6779Sjoehw{ 7779Sjoehw char stepsRemoved; 8779Sjoehw ptp_tlv_t tlv[1]; 9779Sjoehw} ptp_message_announce_t; 10779Sjoehwint ptplib_send_announce(int sequenceId, int i) 11779Sjoehw{ 12779Sjoehw ptp_message_announce_t tx_packet; 13779Sjoehw ((long long *)tx_packet.tlv[0].valueField)[sequenceId] = i; 14779Sjoehw f(&tx_packet); 15779Sjoehw} 16779Sjoehw