Lines Matching refs:htons
197 bpdu.cbu_rootpri = htons(bp->bp_desg_pv.pv_root_id >> 48);
202 bpdu.cbu_bridgepri = htons(bp->bp_desg_pv.pv_dbridge_id >> 48);
205 bpdu.cbu_portid = htons(bp->bp_port_id);
206 bpdu.cbu_messageage = htons(bp->bp_desg_msg_age);
207 bpdu.cbu_maxage = htons(bp->bp_desg_max_age);
208 bpdu.cbu_hellotime = htons(bp->bp_desg_htime);
209 bpdu.cbu_forwarddelay = htons(bp->bp_desg_fdelay);
251 eh->ether_type = htons(sizeof(bpdu));
361 bpdu->cbu_protoid = htons(BSTP_PROTO_ID);
370 eh->ether_type = htons(BSTP_BPDU_STP_LEN);
377 bpdu->cbu_versionlen = htons(0);
379 eh->ether_type = htons(BSTP_BPDU_RSTP_LEN);