I'm not sure how to describe this. I have the beginning of my struct:
Code:
struct tapData {
guchar buddy[20];
char message[200];
};
and I need to expand it to include additional data. Right now I'm trying to add the internal and external IPs. I see what I believe the data I need in this block:
Code:
static const aim_tlv rendezvous_tlvs[] = {
{ RENDEZVOUS_TLV_CHANNEL, "Rendezvous ICBM Channel", dissect_aim_tlv_value_uint16 },
{ RENDEZVOUS_TLV_IP_ADDR, "Rendezvous IP", dissect_aim_tlv_value_ipv4 },
{ RENDEZVOUS_TLV_INT_IP, "Internal IP", dissect_aim_tlv_value_ipv4 },
{ RENDEZVOUS_TLV_EXT_IP, "External IP", dissect_aim_tlv_value_ipv4 },
...
{ 0, NULL, NULL },
};
I'm not familiar with the syntax and how I should add it to my struct, or if thats where I should be looking at all. I've attached the file that I'm working with. I get the buddy on line 368. Thanks for all the help, this forum has been wonderful.