Displaying 2 results from an estimated 2 matches for "topo_change_ack".
Did you mean:
top_change_ack
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 c...
2007 Apr 18
1
[Bridge] STP Explanation (2)
...;bpdu_body.flags.proposal;
buf[6] = bpdu->bpdu_body.flags.port_role[0];
buf[7] = bpdu->bpdu_body.flags.port_role[1];
buf[8] = bpdu->bpdu_body.flags.learning;
buf[9] = bpdu->bpdu_body.flags.forwarding;
buf[10] = bpdu->bpdu_body.flags.agreement;
buf[11] = bpdu->bpdu_body.flags.topo_change_ack;
buf[12] = bpdu->bpdu_body.root_id.prio[0];
buf[13] = bpdu->bpdu_body.root_id.prio[1];
buf[14] = bpdu->bpdu_body.root_id.addr[0];
buf[15] = bpdu->bpdu_body.root_id.addr[1];
buf[16] = bpdu->bpdu_body.root_id.addr[2];
buf[17] = bpdu->bpdu_body.root_id.addr[3];
buf[18] = bpdu...