search for: bpdu_flag

Displaying 1 result from an estimated 1 matches for "bpdu_flag".

2007 Apr 18
0
[Bridge] STP Explanation
...------------------------------------------------------------ typedef struct { int topo_change = 0; int proposal = 0; int port_role[2] = {0,0} ; //role du port ?metteur du BPDU initialis? ? UNKNOWN int learning = 0; int forwarding = 0; int agreement = 0; int topo_change_ack = 0; }bpdu_flag; typedef struct { unsigned char protocol[2]= {0x00,0x00}; // le type unsigned char peut ?tre assimil? ? un octet unsigned char version = 0x02; //convention unsigned char bpdu_type; } bpdu_header; typedef struct { bpdu_flag flags; unsigned char root_id[8]; unsigned char root_path_co...