bpdu 341 net/bridgestp.c struct bstp_cbpdu bpdu; bpdu 343 net/bridgestp.c bpdu.cbu_rootpri = htons(bp->bp_desg_pv.pv_root_id >> 48); bpdu 344 net/bridgestp.c PV2ADDR(bp->bp_desg_pv.pv_root_id, bpdu.cbu_rootaddr); bpdu 346 net/bridgestp.c bpdu.cbu_rootpathcost = htonl(bp->bp_desg_pv.pv_cost); bpdu 348 net/bridgestp.c bpdu.cbu_bridgepri = htons(bp->bp_desg_pv.pv_dbridge_id >> 48); bpdu 349 net/bridgestp.c PV2ADDR(bp->bp_desg_pv.pv_dbridge_id, bpdu.cbu_bridgeaddr); bpdu 351 net/bridgestp.c bpdu.cbu_portid = htons(bp->bp_port_id); bpdu 352 net/bridgestp.c bpdu.cbu_messageage = htons(bp->bp_desg_msg_age); bpdu 353 net/bridgestp.c bpdu.cbu_maxage = htons(bp->bp_desg_max_age); bpdu 354 net/bridgestp.c bpdu.cbu_hellotime = htons(bp->bp_desg_htime); bpdu 355 net/bridgestp.c bpdu.cbu_forwarddelay = htons(bp->bp_desg_fdelay); bpdu 357 net/bridgestp.c bpdu.cbu_flags = bstp_pdu_flags(bp); bpdu 361 net/bridgestp.c bpdu.cbu_bpdutype = BSTP_MSGTYPE_CFG; bpdu 364 net/bridgestp.c bpdu.cbu_bpdutype = BSTP_MSGTYPE_RSTP; bpdu 368 net/bridgestp.c bstp_send_bpdu(bs, bp, &bpdu); bpdu 374 net/bridgestp.c struct bstp_tbpdu bpdu; bpdu 387 net/bridgestp.c m->m_pkthdr.len = sizeof(*eh) + sizeof(bpdu); bpdu 393 net/bridgestp.c eh->ether_type = htons(sizeof(bpdu)); bpdu 395 net/bridgestp.c bpdu.tbu_ssap = bpdu.tbu_dsap = LLC_8021D_LSAP; bpdu 396 net/bridgestp.c bpdu.tbu_ctl = LLC_UI; bpdu 397 net/bridgestp.c bpdu.tbu_protoid = 0; bpdu 398 net/bridgestp.c bpdu.tbu_protover = 0; bpdu 399 net/bridgestp.c bpdu.tbu_bpdutype = BSTP_MSGTYPE_TCN; bpdu 400 net/bridgestp.c bcopy(&bpdu, mtod(m, caddr_t) + sizeof(*eh), sizeof(bpdu)); bpdu 484 net/bridgestp.c struct bstp_cbpdu *bpdu) bpdu 507 net/bridgestp.c bpdu->cbu_ssap = bpdu->cbu_dsap = LLC_8021D_LSAP; bpdu 508 net/bridgestp.c bpdu->cbu_ctl = LLC_UI; bpdu 509 net/bridgestp.c bpdu->cbu_protoid = htons(BSTP_PROTO_ID); bpdu 514 net/bridgestp.c switch (bpdu->cbu_bpdutype) { bpdu 516 net/bridgestp.c bpdu->cbu_protover = BSTP_PROTO_STP; bpdu 519 net/bridgestp.c memcpy(mtod(m, caddr_t) + sizeof(*eh), bpdu, bpdu 523 net/bridgestp.c bpdu->cbu_protover = BSTP_PROTO_RSTP; bpdu 524 net/bridgestp.c bpdu->cbu_versionlen = htons(0); bpdu 527 net/bridgestp.c memcpy(mtod(m, caddr_t) + sizeof(*eh), bpdu,